mcp-servicenex-v2
A Model Context Protocol (MCP) server for the ServiceNEX REST API. It exposes tickets, knowledge articles, services, users, and MCP resources to AI clients such as Claude Desktop.
Install
Requires Python 3.10+.
pip install mcp-servicenex-v2
Set credentials, then start the stdio server:
export SERVICENEX_API_BASE="https://your-tenant.servicenex.io"
export SERVICENEX_API_KEY="your-api-key"
mcp-servicenex-v2
Or with uvx (no global install):
uvx mcp-servicenex-v2
You can also run the module directly:
python -m mcp_servicenex_v2
Copy .env.example to .env for local development. Host environment
variables still take precedence.
Claude Desktop
{
"mcpServers": {
"servicenex": {
"command": "uvx",
"args": ["mcp-servicenex-v2"],
"env": {
"SERVICENEX_API_BASE": "https://your-tenant.servicenex.io",
"SERVICENEX_API_KEY": "your-api-key"
}
}
}
}
If installed with pip, use "command": "mcp-servicenex-v2" and omit args.
Environment
| Variable | Required | Description |
|---|---|---|
SERVICENEX_API_BASE |
Yes | ServiceNEX base URL (no trailing slash required) |
SERVICENEX_API_KEY |
Yes | Tenant API key (X-API-Key) |
SERVICENEX_API_TIMEOUT |
No | HTTP timeout in seconds (default 120) |
LOG_LEVEL |
No | Logging level (default INFO) |
TWINE_USERNAME |
Publish | Always __token__ for API tokens |
TEST_PYPI_TOKEN |
Publish to TestPyPI | Token from test.pypi.org |
PYPI_TOKEN |
Publish to PyPI | Token from pypi.org |
Publish
Tokens are read from the repo-root .env (never committed). Copy the publish
keys from .env.example if they are missing.
./scripts/package.sh
./scripts/publish.sh testpypi
./scripts/publish.sh pypi
publish.sh pypi asks you to type the package name unless you pass --yes.
Build tools are installed into .venv-build/ so the runtime .venv is unchanged.
License
MIT
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 mcp_servicenex_v2-0.2.0.tar.gz.
File metadata
- Download URL: mcp_servicenex_v2-0.2.0.tar.gz
- Upload date:
- Size: 22.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86b4cb6b5985c3d234e1ae4d526a08d9b8ca44054931086f1e8d3294f4e35f5b
|
|
| MD5 |
fb4e209c2d2f1453c90c8758996ceb2b
|
|
| BLAKE2b-256 |
509734fcffdb6307c5b0650b25a37aae91e1abfcc459c3f3610178ca26b8d595
|
File details
Details for the file mcp_servicenex_v2-0.2.0-py3-none-any.whl.
File metadata
- Download URL: mcp_servicenex_v2-0.2.0-py3-none-any.whl
- Upload date:
- Size: 26.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d15a5f43a224c018e52080ea5c359f6998d039389be56645f2fb6778888bd9b
|
|
| MD5 |
3ca39e4acbc9327bf853971499e24188
|
|
| BLAKE2b-256 |
c4a6c15349edfb2396274f04b9eaf6a53975f71cf2a9696ff7318b47d952bd68
|