MCP server exposing Sulu TMS to LLM agents (read + triage)
Project description
Sulu MCP server
An MCP server that lets an LLM agent observe and triage a Sulu TMS instance. It is a thin client over Sulu's existing REST API — no backend changes required. It runs locally over stdio.
What it exposes
37 tools (read + triage + authoring + ingest), all acting as the user who owns the API token:
- Observe:
check_connection,list_projects,get_project,project_glance,top_failing_tests,list_test_cases,get_test_case,get_test_case_markdown(agent-facing Markdown scenario for executing the case),search_test_cases,list_launches,get_launch,list_launch_results,get_test_result,list_launch_defects,list_tags,list_defects,get_defect,get_folder_tree,list_test_plans,get_test_plan. - Author / organize (write):
create_test_case,update_test_case(steps, precondition, expected result, parameters, tag ids, folder),create_tag,create_folder,move_test_case_to_folder,create_test_plan,set_test_plan_cases. - Triage (write):
set_test_result_status,assign_results,create_defect,close_defect,reopen_defect,link_defect_results,link_defect_cases. - Execute (write):
create_launch(seeds selected cases),finish_launch. - Ingest (write):
upload_test_report— upload an allure-results dir / JUnit XML / ZIP as a new launch.
Install
The package is published on PyPI as sulu-mcp.
With uv installed, no explicit install step is needed —
uvx sulu-mcp fetches and runs it.
Mint a token in Sulu: Profile → API tokens (it is shown in plaintext once).
Configuration
| Env var | Required | Default | Meaning |
|---|---|---|---|
SULU_API_TOKEN |
yes | — | Personal API token (Bearer). The agent acts as this user. |
SULU_BASE_URL |
no | http://localhost:8080 |
Sulu base URL (no trailing /api) — https://app.aisulu.dev for SaaS, or your on-premise instance URL. |
SULU_PROJECT_ID |
no | — | Default project for upload_test_report when the call omits project_id. |
Register in Claude Code
The server name comes first, then the -e env flags, then -- and the launch
command. -e/--env is variadic — placed before the name it swallows sulu as a value
(Invalid environment variable format: sulu):
claude mcp add sulu \
-e SULU_API_TOKEN=<token> -e SULU_BASE_URL=https://app.aisulu.dev \
-- uvx sulu-mcp
Register in Claude Desktop
Add to its mcpServers config:
{
"mcpServers": {
"sulu": {
"command": "uvx",
"args": ["sulu-mcp"],
"env": { "SULU_API_TOKEN": "<token>", "SULU_BASE_URL": "https://app.aisulu.dev" }
}
}
}
From source (this repo)
cd mcp
uv sync
cp .env.example .env # then set SULU_API_TOKEN
SULU_API_TOKEN=<token> uv run sulu-mcp
To register a from-source checkout instead of the PyPI package, replace uvx sulu-mcp
with uv --directory /absolute/path/to/sulu/mcp run sulu-mcp in the commands above.
Test
cd mcp && uv run pytest
Scope
stdio only; single user (env token); read + triage + authoring + ingest. Authoring of
test-case scenarios is done via update_test_case (the create endpoint takes metadata
only). Out of scope: running automated tests on CI (no thin REST path — use a CI Job
in the web UI), custom-field values, folder rename/move/delete, tag update/delete,
defect↔Jira, deletes/bulk-destructive ops, schema mutation, remote/HTTP transport,
multi-user auth.
License
Apache-2.0 — the full text ships in the package's LICENSE file. The Sulu product
itself is licensed separately.
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 sulu_mcp-1.0.0.tar.gz.
File metadata
- Download URL: sulu_mcp-1.0.0.tar.gz
- Upload date:
- Size: 22.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a75c20225e627b820d0bdb1747b71a7167c43434da4b62f9bbf22f493a48b5dc
|
|
| MD5 |
4d92d347a7eda0ba0dfb64a0f5729a54
|
|
| BLAKE2b-256 |
966249ff5069a0914bd7dad244a37093f7480033d35ceadb8b220e8b2bceb9b8
|
Provenance
The following attestation bundles were made for sulu_mcp-1.0.0.tar.gz:
Publisher:
mcp-release.yml on ellyZz/sulu
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sulu_mcp-1.0.0.tar.gz -
Subject digest:
a75c20225e627b820d0bdb1747b71a7167c43434da4b62f9bbf22f493a48b5dc - Sigstore transparency entry: 2235666791
- Sigstore integration time:
-
Permalink:
ellyZz/sulu@0b026068af3726ee43eaabb72ec368f9215397a2 -
Branch / Tag:
refs/tags/mcp-v1.0.0 - Owner: https://github.com/ellyZz
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
mcp-release.yml@0b026068af3726ee43eaabb72ec368f9215397a2 -
Trigger Event:
push
-
Statement type:
File details
Details for the file sulu_mcp-1.0.0-py3-none-any.whl.
File metadata
- Download URL: sulu_mcp-1.0.0-py3-none-any.whl
- Upload date:
- Size: 20.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c84ef0f2ee8f1f5586d6151f55be8db8c6a84fea45b5627bc014e0f0daf9b1c8
|
|
| MD5 |
19aa5814a7d70311309e81d3e1138868
|
|
| BLAKE2b-256 |
9b739a7623c141214182b7d09a30fefbb6178ecdb6589e2434118e0557368d9c
|
Provenance
The following attestation bundles were made for sulu_mcp-1.0.0-py3-none-any.whl:
Publisher:
mcp-release.yml on ellyZz/sulu
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sulu_mcp-1.0.0-py3-none-any.whl -
Subject digest:
c84ef0f2ee8f1f5586d6151f55be8db8c6a84fea45b5627bc014e0f0daf9b1c8 - Sigstore transparency entry: 2235666825
- Sigstore integration time:
-
Permalink:
ellyZz/sulu@0b026068af3726ee43eaabb72ec368f9215397a2 -
Branch / Tag:
refs/tags/mcp-v1.0.0 - Owner: https://github.com/ellyZz
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
mcp-release.yml@0b026068af3726ee43eaabb72ec368f9215397a2 -
Trigger Event:
push
-
Statement type: