TeamCity CI/CD
v1.0.1Read-only MCP server for JetBrains TeamCity — builds, configs, logs, tests, agents
Values you need
| Variable | What it is | |
|---|---|---|
TEAMCITY_BASE_URL | required | TeamCity server base URL (e.g., https://teamcity.example.com) |
TEAMCITY_TOKEN | required secret | TeamCity REST API bearer token (scope it read-only) |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add teamcity -e 'TEAMCITY_BASE_URL=<TEAMCITY_BASE_URL>' -e 'TEAMCITY_TOKEN=<TEAMCITY_TOKEN>' -- uvx readonly-mcp-teamcity==1.0.1Add to
claude_desktop_config.json{
"mcpServers": {
"teamcity": {
"args": [
"readonly-mcp-teamcity==1.0.1"
],
"command": "uvx",
"env": {
"TEAMCITY_BASE_URL": "<TEAMCITY_BASE_URL>",
"TEAMCITY_TOKEN": "<TEAMCITY_TOKEN>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"teamcity": {
"args": [
"readonly-mcp-teamcity==1.0.1"
],
"command": "uvx",
"env": {
"TEAMCITY_BASE_URL": "<TEAMCITY_BASE_URL>",
"TEAMCITY_TOKEN": "<TEAMCITY_TOKEN>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "TEAMCITY_BASE_URL",
"id": "teamcity-base-url",
"password": true,
"type": "promptString"
},
{
"description": "TEAMCITY_TOKEN",
"id": "teamcity-token",
"password": true,
"type": "promptString"
}
],
"servers": {
"teamcity": {
"args": [
"readonly-mcp-teamcity==1.0.1"
],
"command": "uvx",
"env": {
"TEAMCITY_BASE_URL": "${input:teamcity-base-url}",
"TEAMCITY_TOKEN": "${input:teamcity-token}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.teamcity]
command = "uvx"
args = ["readonly-mcp-teamcity==1.0.1"]
env = { "TEAMCITY_BASE_URL" = "<TEAMCITY_BASE_URL>", "TEAMCITY_TOKEN" = "<TEAMCITY_TOKEN>" }For AI agents
- Ask the user for: TEAMCITY_BASE_URL, TEAMCITY_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: search_projects, get_project_details, search_build_configs, get_build_config_details, get_build_config_branches, search_builds, get_build_details, get_build_statistics, ….
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json