teamcity
MCP server by Daghis Community
Connects AI coding assistants to JetBrains TeamCity CI/CD servers through MCP tools for triggering builds, reading logs and inspecting test failures. Aimed at developers on TeamCity 2020.1+ servers, and it is in low-key maintenance.
Install teamcity
Built from the published package, never by AI.
claude mcp add teamcity -e TEAMCITY_URL=https://teamcity.example.com/ -e TEAMCITY_TOKEN=YOUR_TOKEN_HERE -- npx -y @daghis/teamcity-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"teamcity": {
"env": {
"TEAMCITY_URL": "https://teamcity.example.com/",
"TEAMCITY_TOKEN": "YOUR_TOKEN_HERE"
},
"args": [
"-y",
"@daghis/teamcity-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"teamcity": {
"env": {
"TEAMCITY_URL": "https://teamcity.example.com/",
"TEAMCITY_TOKEN": "YOUR_TOKEN_HERE"
},
"args": [
"-y",
"@daghis/teamcity-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"teamcity": {
"env": {
"TEAMCITY_URL": "https://teamcity.example.com/",
"TEAMCITY_TOKEN": "YOUR_TOKEN_HERE"
},
"args": [
"-y",
"@daghis/teamcity-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add teamcity --env TEAMCITY_URL=https://teamcity.example.com/ --env TEAMCITY_TOKEN=YOUR_TOKEN_HERE -- npx -y @daghis/teamcity-mcp{
"mcpServers": {
"teamcity": {
"env": {
"TEAMCITY_URL": "https://teamcity.example.com/",
"TEAMCITY_TOKEN": "YOUR_TOKEN_HERE"
},
"args": [
"-y",
"@daghis/teamcity-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add teamcity npx -y @daghis/teamcity-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the teamcity block.
About
teamcity-mcp is a Model Control Protocol server that connects AI coding assistants such as Claude Code, Cursor and Windsurf to a JetBrains TeamCity CI/CD server. It exposes TeamCity operations as MCP tools, including triggering builds, monitoring status, fetching build logs and inspecting test failures. Tools are grouped into Dev mode with 31 tools and Full mode with 87 tools, and the mode can be switched at runtime.
The server is configured with a TeamCity URL and an authentication token, and runs through npx or from source on Node.js 20.10.0 or later. It is aimed at developers who want an MCP route to TeamCity, especially on servers older than 2026.1. The project is in stable, low-key maintenance, and its README points to JetBrains' built-in MCP and CLI as the better default for most workflows.
Written from the project's README and checked against it.
Tools it gives your assistant
get_mcp_modeReturns the current MCP mode of the server.set_mcp_modeSwitches between modes at runtime without a restart.list_buildsLists builds, with pageSize, maxPages and all options for pagination.
What you need
- Node.js 20.10.0 or later
- TeamCity Server 2020.1 or later with REST API access
- TeamCity authentication token
| Setting | Needed | What it is |
|---|---|---|
TEAMCITY_Environment variable | Required | Base URL of your TeamCity server |
TEAMCITY_Environment variable, secret | Required | TeamCity personal access token with required permissions |
MCP_Environment variable | Optional | Operational mode: dev (default) or full for elevated administrative tools Default: dev |
MCP_Environment variable | Optional | Comma-separated full-mode tools to also expose in dev mode, e.g. move_queued_build_to_top,reorder_queued_builds |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Build the frontend on feature branch
- Why did last night's tests fail?
- Deploy staging with the latest build
Good to know
- The project is in stable, low-key maintenance and issues and PRs may get slow or no response.
- Security fixes are best-effort.
- The README calls JetBrains' built-in TeamCity MCP and CLI the better default for most workflows.
- On Windows, Claude Code may not merge environment variables, so CLI arguments are suggested.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to teamcity
All alternatives →Azure MCP Server bundles all Azure MCP tools into one local MCP server. It connects AI agents to Azure services and can be used alone or with the GitHub Copilot for Azure extension in VS Code.
Manages monitors, status pages, incidents and maintenances in an openstatus workspace from Claude, ChatGPT, or Cursor. It suits teams that run uptime monitoring and status pages and want their AI assistant to update them.
SmartBear MCP gives AI assistants access to SmartBear's testing and monitoring tools, including BugSnag, Reflect, Swagger, PactFlow and QTM4J. It is aimed at teams that already use these products. Products are reached through remote servers or a local npm package.
Lets AI assistants manage Fettle uptime monitoring, including monitors, incidents, heartbeats, maintenance windows and status page incidents. Built for developers and operations teams who use Fettle and want to work from Claude, Cursor or Codex.
Superlog is an open-source agentic telemetry system that ingests traces, logs and metrics and groups noisy signals into incidents. It is aimed at teams debugging production systems with OpenTelemetry data.
Microsoft Learn MCP gives AI assistants direct access to official Microsoft documentation and code samples through a remote MCP endpoint. It is for developers who use MCP-compatible clients and want answers based on current Microsoft docs.
Compare with Azure MCP Server, openstatus or SmartBear MCP
teamcity: common questions
Is teamcity-mcp still maintained?
The README says it is in stable, low-key maintenance. It still works and stays installable, but responses may be slow and security fixes are best-effort.
Which TeamCity versions does it support?
The source says it works with TeamCity Server 2020.1 and later. It also says JetBrains' built-in MCP endpoint, in TeamCity 2026.1+, is the better default for newer servers.
Which AI assistants can use it?
The overview says it is for AI coding assistants including Claude Code, Cursor and Windsurf, and it includes setup steps for Claude Code.
How do I install teamcity?
In Claude Code run claude mcp add teamcity -e TEAMCITY_URL=https://teamcity.example.com/ -e TEAMCITY_TOKEN=YOUR_TOKEN_HERE -- npx -y @daghis/teamcity-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is teamcity the official server?
teamcity is a community project by Daghis, not verified by a company domain.
Is teamcity free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is teamcity safe to use?
It scores 86 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to teamcity?
Similar MCP servers: Azure MCP Server, openstatus, SmartBear MCP, Fettle.
Does teamcity work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
