
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 分