TeamCity

v2.12.1Cloud Servicesstable

Enables AI coding assistants to interact with JetBrains TeamCity CI/CD server through natural language commands. Supports triggering builds, monitoring status, analyzing test failures, and managing build configurations directly from development envir

automationcdcidevopsmcp
Share:
25
Stars
0
Downloads
0
Weekly
0/5

What is TeamCity?

TeamCity is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to enables ai coding assistants to interact with jetbrains teamcity ci/cd server through natural language commands. supports triggering builds, monitoring status, analyzing test failures, and managing bu...

Enables AI coding assistants to interact with JetBrains TeamCity CI/CD server through natural language commands. Supports triggering builds, monitoring status, analyzing test failures, and managing build configurations directly from development envir

This server falls under the Cloud Services category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Enables AI coding assistants to interact with JetBrains Team

Use Cases

CI/CD build triggering
Test failure analysis
Build configuration management
Daghis

Maintainer

LicenseMIT License
Languagetypescript
Versionv2.12.1
UpdatedMay 12, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

NPM

npx -y @daghis/teamcity-mcp

Manual Installation

npx -y @daghis/teamcity-mcp

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use TeamCity

The TeamCity MCP Server bridges AI coding assistants and JetBrains TeamCity CI/CD through natural language commands. It exposes up to 87 tools (31 in default dev mode) for triggering builds, monitoring build status and logs, analyzing test failures, managing build configurations, and handling VCS roots and parameters. It connects to any self-hosted or cloud TeamCity instance via a personal access token and supports multi-server deployments. DevOps engineers and developers use it to interact with their CI/CD pipelines conversationally without switching away from their IDE or AI assistant.

Prerequisites

  • Node.js 18+ (for npx execution)
  • A running JetBrains TeamCity server (self-hosted or TeamCity Cloud)
  • A TeamCity personal access token with appropriate permissions
  • The TeamCity server URL (e.g., https://teamcity.example.com)
  • An MCP-compatible client such as Claude Desktop or Claude Code
1

Generate a TeamCity personal access token

In TeamCity, go to your user profile > Access Tokens and create a new token. Grant it the permissions needed for the operations you want to perform (at minimum: View Build Configuration Settings and Run Build).

2

Add the server to Claude Desktop configuration

Open claude_desktop_config.json and add the teamcity entry with your server URL and token as environment variables. Use dev mode (MCP_MODE=dev) to limit to 31 tools and reduce token overhead; use full for all 87 tools.

{
  "mcpServers": {
    "teamcity": {
      "command": "npx",
      "args": ["-y", "@daghis/teamcity-mcp"],
      "env": {
        "TEAMCITY_URL": "https://teamcity.example.com",
        "TEAMCITY_TOKEN": "your_personal_access_token",
        "MCP_MODE": "dev"
      }
    }
  }
}
3

Add via Claude Code CLI (alternative)

If using Claude Code in the terminal, use the claude mcp add command to register the server. Pass URL and token as CLI arguments or set environment variables first.

TEAMCITY_URL="https://teamcity.example.com" \
TEAMCITY_TOKEN="your_token" \
claude mcp add teamcity -- npx -y @daghis/teamcity-mcp
4

Restart your MCP client and verify connection

Fully restart Claude Desktop. Ask Claude to list your TeamCity projects or recent builds to verify the connection is working. If using dev mode you have 31 tools available; full mode enables all 87.

5

Trigger builds and monitor results

Use natural language to trigger builds on specific branches, check for failed tests, or review build logs. The server automatically redacts sensitive values from log output.

TeamCity Examples

Client configuration

claude_desktop_config.json entry for TeamCity MCP in dev mode. Replace the URL and token with your actual TeamCity instance values.

{
  "mcpServers": {
    "teamcity": {
      "command": "npx",
      "args": ["-y", "@daghis/teamcity-mcp"],
      "env": {
        "TEAMCITY_URL": "https://teamcity.example.com",
        "TEAMCITY_TOKEN": "your_personal_access_token",
        "MCP_MODE": "dev"
      }
    }
  }
}

Prompts to try

Natural language prompts for common CI/CD workflows: triggering builds, investigating failures, and managing configurations.

- "Trigger a build for the frontend project on the feature/login branch"
- "Why did last night's nightly build fail? Show me the test failures"
- "List all build configurations in the MobileApp project"
- "Show me the build log for the last failed backend build"
- "What tests have been consistently failing in the last 5 builds?"
- "Create a new build configuration for the API service cloning from the existing backend config"

Troubleshooting TeamCity

Authentication errors: 401 Unauthorized

Verify that TEAMCITY_URL does not have a trailing slash and that TEAMCITY_TOKEN matches a valid personal access token (not your password). Tokens are created under your TeamCity user profile > Access Tokens.

Tools for creating or modifying configurations are missing

Configuration management tools are only available in full mode. Set MCP_MODE=full in your env block and restart your MCP client. Note that full mode uses approximately 26,000 tokens for tool definitions.

Build trigger hangs or times out

The default request timeout may be too short for slow TeamCity instances. Add TEAMCITY_TIMEOUT=60000 (milliseconds) to your env block to extend the timeout. Also check that the TeamCity server is reachable from the machine running the MCP server.

Frequently Asked Questions about TeamCity

What is TeamCity?

TeamCity is a Model Context Protocol (MCP) server that enables ai coding assistants to interact with jetbrains teamcity ci/cd server through natural language commands. supports triggering builds, monitoring status, analyzing test failures, and managing build configurations directly from development envir It connects AI assistants to external tools and data sources through a standardized interface.

How do I install TeamCity?

Install via npm with the command: npx -y @daghis/teamcity-mcp. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).

Which AI clients work with TeamCity?

TeamCity works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is TeamCity free to use?

Yes, TeamCity is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Cloud Services MCP Servers

Explore all cloud services servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "teamcity-mcp-server": { "command": "npx", "args": ["-y", "@daghis/teamcity-mcp"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use TeamCity?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides