MCP server for TOPdesk API using FastMCP and TOPdeskPy SDK
Project description
topdesk-mcp
This project is a Model Context Protocol (MCP) server implemented in Python. It exposes the Topdesk API via the TOPdeskPy SDK.
Project Purpose
- Acts as an MCP server to bridge MCP clients with the Topdesk API.
- Uses the TOPdeskPy SDK (with some modifications) for all Topdesk API interactions.
MCP Config JSON
{
"servers": {
"topdesk-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"topdesk-mcp"
],
"env": {
"TOPDESK_URL": "<your topdesk URL>",
"TOPDESK_USERNAME": "<your topdesk username>",
"TOPDESK_PASSWORD": "<your topdesk api key>"
}
}
}
}
Environment Variables
TOPDESK_URL: The base URL of your Topdesk instance. e.g.https://yourcompany.topdesk.netTOPDESK_USERNAME: The username you generated the API token against.TOPDESK_PASSWORD: Your API tokenTOPDESK_MCP_TRANSPORT: (Optional) The transport to use: 'stdio', 'streamable-http', 'sse'. Defaults to 'stdio'.TOPDESK_MCP_HOST: (Optional) The host to listen on (for 'streamable-http' and 'sse'). Defaults to '0.0.0.0'.TOPDESK_MCP_PORT: (Optional) The port to listen on (for 'streamable-http' and 'sse'). Defaults to '3030'.
Setup for Local Development
-
Ensure Python 3.11+ is installed.
-
Create and activate a virtual environment:
PowerShell:
python -m venv .venv .venv\Scripts\Activate.ps1
Bash:
python3 -m venv .venv source .venv/bin/activate
-
Install dependencies:
pip install uv uv pip install -r requirements.txt -
Run:
python -m topdesk_mcp.main
Notes:
- The server skeleton was generated using the official MCP server template.
- Contributions are welcome.
Package Structure
topdesk_mcp/ # Directory for the MCP server package
__init__.py # Marks as a Python package
main.py # Entry point for the MCP server
_topdesk_sdk.py # TOPdeskPy SDK
_incident.py # Incidents API
_operator.py # Operator API
_person.py # Person API
_utils.py # Helper methods for Requests
References
License
MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file topdesk_mcp-0.5.2.tar.gz.
File metadata
- Download URL: topdesk_mcp-0.5.2.tar.gz
- Upload date:
- Size: 52.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f904f31e94cae8f36d0793f0530489ead65f6e91d2e491bda6ab0ea238590f4
|
|
| MD5 |
fa22c0598ac9bf2cd869e4885f9167b0
|
|
| BLAKE2b-256 |
5dc90779d58bc3d05bfdea0b475ebb4e04cb03811a3e1032923e1c2e025a066f
|
Provenance
The following attestation bundles were made for topdesk_mcp-0.5.2.tar.gz:
Publisher:
pypi.yml on dbsanfte/topdesk-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
topdesk_mcp-0.5.2.tar.gz -
Subject digest:
2f904f31e94cae8f36d0793f0530489ead65f6e91d2e491bda6ab0ea238590f4 - Sigstore transparency entry: 218006975
- Sigstore integration time:
-
Permalink:
dbsanfte/topdesk-mcp@e5413dd2264a9393da7f7511b72ea48083fd9ecb -
Branch / Tag:
refs/tags/v0.5.2 - Owner: https://github.com/dbsanfte
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@e5413dd2264a9393da7f7511b72ea48083fd9ecb -
Trigger Event:
release
-
Statement type:
File details
Details for the file topdesk_mcp-0.5.2-py3-none-any.whl.
File metadata
- Download URL: topdesk_mcp-0.5.2-py3-none-any.whl
- Upload date:
- Size: 23.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
965c795f6ae6c814af6c62c2ffa5d7697307f51499cdd6c9c01aafe65eb31adb
|
|
| MD5 |
dcea0d2e735d8d48fe0106b491087747
|
|
| BLAKE2b-256 |
38447a679c131aca372c70d09b8c9add03d7a3cf6f28e7e9f76130c94ac41090
|
Provenance
The following attestation bundles were made for topdesk_mcp-0.5.2-py3-none-any.whl:
Publisher:
pypi.yml on dbsanfte/topdesk-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
topdesk_mcp-0.5.2-py3-none-any.whl -
Subject digest:
965c795f6ae6c814af6c62c2ffa5d7697307f51499cdd6c9c01aafe65eb31adb - Sigstore transparency entry: 218006982
- Sigstore integration time:
-
Permalink:
dbsanfte/topdesk-mcp@e5413dd2264a9393da7f7511b72ea48083fd9ecb -
Branch / Tag:
refs/tags/v0.5.2 - Owner: https://github.com/dbsanfte
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@e5413dd2264a9393da7f7511b72ea48083fd9ecb -
Trigger Event:
release
-
Statement type: