teamcity
v2.16.1MCP server exposing JetBrains TeamCity CI/CD workflows to AI coding assistants
Values you need
| Variable | What it is | |
|---|---|---|
TEAMCITY_URL | required | Base URL of your TeamCity server |
TEAMCITY_TOKEN | required secret | TeamCity personal access token with required permissions |
MCP_MODE | optional | Operational mode: dev (default) or full for elevated administrative tools Default: dev |
MCP_EXTRA_TOOLS | optional | Comma-separated full-mode tools to also expose in dev mode, e.g. move_queued_build_to_top,reorder_queued_builds |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add teamcity -e 'TEAMCITY_TOKEN=<TEAMCITY_TOKEN>' -e 'TEAMCITY_URL=<TEAMCITY_URL>' -- npx -y @daghis/teamcity-mcp@2.16.1Add to
claude_desktop_config.json{
"mcpServers": {
"teamcity": {
"args": [
"-y",
"@daghis/teamcity-mcp@2.16.1"
],
"command": "npx",
"env": {
"TEAMCITY_TOKEN": "<TEAMCITY_TOKEN>",
"TEAMCITY_URL": "<TEAMCITY_URL>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"teamcity": {
"args": [
"-y",
"@daghis/teamcity-mcp@2.16.1"
],
"command": "npx",
"env": {
"TEAMCITY_TOKEN": "<TEAMCITY_TOKEN>",
"TEAMCITY_URL": "<TEAMCITY_URL>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "TEAMCITY_TOKEN",
"id": "teamcity-token",
"password": true,
"type": "promptString"
},
{
"description": "TEAMCITY_URL",
"id": "teamcity-url",
"password": true,
"type": "promptString"
}
],
"servers": {
"teamcity": {
"args": [
"-y",
"@daghis/teamcity-mcp@2.16.1"
],
"command": "npx",
"env": {
"TEAMCITY_TOKEN": "${input:teamcity-token}",
"TEAMCITY_URL": "${input:teamcity-url}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.teamcity]
command = "npx"
args = ["-y", "@daghis/teamcity-mcp@2.16.1"]
env = { "TEAMCITY_TOKEN" = "<TEAMCITY_TOKEN>", "TEAMCITY_URL" = "<TEAMCITY_URL>" }For AI agents
- Ask the user for: TEAMCITY_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: ping, get_mcp_mode, set_mcp_mode, list_projects, get_project, list_builds, get_build, trigger_build, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json