teamcity-mcp
by Daghis·★ 25·Score 46
MCP server for JetBrains TeamCity that provides 87 tools to control builds, tests, agents and configurations from AI coding assistants.
Overview
TeamCity MCP Server bridges AI coding assistants with TeamCity CI/CD server, exposing TeamCity operations as MCP tools. It offers two operational modes: Dev Mode (31 tools for safe CI/CD operations) and Full Mode (87 tools for complete infrastructure management). The server supports token-based authentication, provides runtime mode switching, and features a clean, performance-conscious architecture with clear module boundaries.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this server if you need comprehensive management of TeamCity configurations beyond basic build triggering, or if you're using a TeamCity version older than 2026.1.
When NOT to choose this
Don't choose this if you only need basic build triggering and log reading in TeamCity 2026.1+, as the built-in MCP endpoint is sufficient and requires no separate installation.
Tools this server exposes
12 tools extracted from the READMETriggerBuildQueue a new build in TeamCity
GetBuildStatusCheck the progress and status of a specific build
FetchBuildLogRetrieve the logs for a specific build
ListBuildsSearch and list builds based on criteria
ListTestFailuresGet a list of failing tests in a build
GetTestDetailsGet detailed information about a specific test
AnalyzeBuildProblemsIdentify the root causes of build failures
create_build_configCreate a new TeamCity build configuration
clone_build_configDuplicate an existing build configuration
update_build_configModify an existing build configuration
get_mcp_modeCheck the current operational mode of the MCP server
set_mcp_modeChange the operational mode of the MCP server
Comparable tools
Installation
Quick Installation
# Using npx with environment variables
TEAMCITY_URL="https://teamcity.example.com" \
TEAMCITY_TOKEN="<your_token>" \
MCP_MODE=dev \
npx -y @daghis/teamcity-mcpClaude Desktop Configuration
Add to your claude_desktop_config.json:
{
"mcpServers": {
"teamcity": {
"command": "npx",
"args": [
"-y",
"@daghis/teamcity-mcp",
"--url",
"https://teamcity.example.com",
"--token",
"tc_<your_token>"
]
}
}
}FAQ
- What's the difference between Dev Mode and Full Mode?
- Dev Mode (default) provides 31 tools for safe CI/CD operations, while Full Mode offers 87 tools for complete infrastructure management including configuration creation, agent management, and server administration.
- How do I switch between modes?
- You can set MCP_MODE environment variable to 'dev' or 'full'. With v2.1.0+, you can also use the 'get_mcp_mode' and 'set_mcp_mode' tools to switch at runtime without restarting.
Compare teamcity-mcp with
Last updated · Auto-generated from public README + GitHub signals.