
TeamCity CI/CD
io.github.desty2k由 GitHub 账号 desty2k 发布v1.0.1更新于 Nov 3, 2026
用于 JetBrains TeamCity 的只读 MCP 服务器——构建、配置、日志、测试、代理
AI 翻译由 AI 模型根据下方的原文描述翻译,可能有误。
原文描述
Read-only MCP server for JetBrains TeamCity — builds, configs, logs, tests, agents
概览
TeamCity CI/CD 的本地 MCP 服务;无需登录;STDIO。
暂无 AI 概览:以下信息来自注册中心条目和服务本身。
安装
在 SourceWeft 中
- 打开 控制台中的 TeamCity CI/CD,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
readonly-mcp-teamcity
[CI] [PyPI] [Python] [License: MIT]
A read-only Model Context Protocol (MCP) server that lets AI agents explore a JetBrains TeamCity server: projects, build configurations, builds, logs, test results, problems, the queue, agents, and VCS changes. 29 tools, all of them reads.
Quick start
With uv installed, there is nothing else to install:
uvx downloads the package into a cached, isolated environment and runs it.
Python 3.11 or newer.
Read-only by design. This server only ever issues
GETrequests (a test fails if the HTTP client gains any other method). It cannot trigger, cancel, pin, tag, or modify anything in TeamCity, and every tool is annotatedreadOnlyHint. Scope the token read-only on the TeamCity side as a second line of defense: see Token. Read the post about this server and why I build read-only MCP servers.
Token
Create a token under Profile → Access Tokens. Set Permissions scope to Limit per project, pick the root project (or the projects the agent should see), and choose the Read-only preset. A token scoped that way cannot change anything even if a client misbehaves.
The Read-only preset selects the 14 VIEW_* permissions TeamCity marks as
read-only, including global ones for agent details and server settings. A
token never gets more than its owner has: with a token from a user who has only
the Project viewer role, agent tools still work, and get_server_health
reports metrics as unavailable but still returns health items. Checked against
TeamCity 2026.2.1, where a preset token could not pin a build (HTTP 403).
Tools
Projects
Build configurations
Builds
Logs
Tests & problems
Infrastructure
Install
Run it without installing (recommended):
Or install it into an environment:
Docker
The image serves the streamable HTTP transport on port 8080. That transport has no authentication, so publish it on the host's loopback only:
Configuration
All configuration comes from TEAMCITY_* environment variables.
See .env.example for a copy-paste template.
OpenTelemetry tracing
Tracing is opt-in and a no-op when disabled. The base install carries no OTel SDK; install the extra and enable it to export spans for each upstream TeamCity call:
MCP client configuration
Claude Desktop
Add to claude_desktop_config.json (~/Library/Application Support/Claude/ on
macOS, %APPDATA%\Claude\ on Windows):
Claude Code
See Quick start.
How it compares
As of November 2026. Check the projects themselves before relying on this.
Sources: JetBrains AI agent integration, JetBrains/teamcity-mcp, Daghis/teamcity-mcp, itcaat/teamcity-mcp, kate-horshchar/teamcity-qa-mcp. The JetBrains plugin README and its help page disagree on whether brave mode is on by default; check your server's setting.
Use the built-in server if you want an agent to act on TeamCity. Use this one when the agent should only look.
Example questions
- "Find the deploy pipeline for the auth service."
- "Show me the last 10 builds for
Proj_Buildand which failed." - "Why did build 12345 fail?" (one
diagnose_buildcall) - "What tests failed in that build, and what was the error?"
- "Search the build log for
OutOfMemoryError." - "Which agents are offline right now?"
- "What's in the build queue and why is it waiting?"
- "Who is investigating the failures in the Payments project?"
- "What commits went into this build?"
- "Resolve
https://teamcity.example.com/buildConfiguration/Proj_Build/12345."
Development
A live smoke test against a real server (reads credentials from .env):
License
MIT — see LICENSE.
来源:README.md,提交 a271610
工具
0版本历史
1- v1.0.1最新Nov 3, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分