ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

TeamCity CI/CD

โดย desty2kรุ่น 1.0.1i★ –iรันบนเครื่อง
ชื่อใน registryio.github.desty2k/teamcity

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Read-only MCP server for JetBrains TeamCity — builds, configs, logs, tests, agents

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: เครื่องมือนักพัฒนา
  • ต้องใส่ค่าเหล่านี้: TEAMCITY_BASE_URL, TEAMCITY_TOKEN

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต

ต้องเตรียมก่อน

  • PyPIติดตั้ง uv ของ Python (มีคำสั่ง uvx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "teamcity": {
      "command": "uvx",
      "args": [
        "readonly-mcp-teamcity"
      ],
      "env": {
        "TEAMCITY_BASE_URL": "ใส่ค่าของคุณ",
        "TEAMCITY_TOKEN": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add teamcity --env TEAMCITY_BASE_URL='ใส่ค่าของคุณ' --env TEAMCITY_TOKEN='ใส่ค่าของคุณ' -- uvx readonly-mcp-teamcity

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "teamcity": {
      "command": "uvx",
      "args": [
        "readonly-mcp-teamcity"
      ],
      "env": {
        "TEAMCITY_BASE_URL": "ใส่ค่าของคุณ",
        "TEAMCITY_TOKEN": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "teamcity": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "readonly-mcp-teamcity"
      ],
      "env": {
        "TEAMCITY_BASE_URL": "ใส่ค่าของคุณ",
        "TEAMCITY_TOKEN": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • TEAMCITY_BASE_URL จำเป็น env
    TeamCity server base URL (e.g., https://teamcity.example.com)
  • TEAMCITY_TOKEN ความลับ จำเป็น env
    TeamCity REST API bearer token (scope it read-only)

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub desty2k ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด เครื่องมือนักพัฒนาi

  • ดาวมากกว่า 0% ของอีก 1394 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 91% ของอีก 1394 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 1394 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

TeamCity CI/CD ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: TEAMCITY_BASE_URL, TEAMCITY_TOKEN

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.0.1) เข้า registry 4 วันที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี GitHub, Desktop Commander, Cloudflare MCP

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

GitHub

โดย github

server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้

บนเครื่องหรือคลาวด์★ 34,245MITอัปเดต 3 วันที่ผ่านมา
ติดตั้ง

Desktop Commander

โดย wonderwhy-er

MCP server for terminal commands, file operations, and process management

รันบนเครื่อง★ 10,225MITอัปเดต 16 วันที่ผ่านมา
ติดตั้ง

Cloudflare MCP

โดย cloudflare

Cloudflare MCP servers

รันบนคลาวด์★ 4,446Apache-2.0อัปเดต 14 เดือนที่ผ่านมา
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

readonly-mcp-teamcity

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:

claude mcp add teamcity \

-e TEAMCITY_BASE_URL=https://teamcity.example.com \ -e TEAMCITY_TOKEN=your-token \ -- uvx readonly-mcp-teamcity

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 GET requests (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 annotated

readOnlyHint. 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
ToolDescription
search_projectsSearch projects by name, ID, or parent; browse the hierarchy.
get_project_detailsFull project: child projects, build configs, parameters.
Build configurations
ToolDescription
search_build_configsStructured search by project ID, build type ID, or paused state.
find_build_configFuzzy search across config names and project paths; flags ambiguous matches and lists matching projects.
get_build_config_detailsSteps, triggers, parameters, VCS roots, settings, agent requirements.
get_build_config_branchesBranches a configuration can build, with default/active status.
Builds
ToolDescription
search_buildsSearch build history filtered by config, project, status, branch, date, etc.
get_build_detailsOne build: status, agent, revisions, parameters, dependencies, test summary, tags.
get_build_statisticsNumeric metrics: durations, test counts, coverage, artifact size.
get_build_chainSnapshot-dependency chain upstream (depends-on) and downstream (dependents).
Logs
ToolDescription
get_build_logPaginated log retrieval with tail and line-range support.
search_build_logFull-text search within a build log, with surrounding context.
Tests & problems
ToolDescription
diagnose_buildWhy a build failed, in one call: problems, failed tests (unmuted first) and the error lines of the log.
get_build_test_resultsTest occurrences for a build, filterable by status.
get_test_detailsOne test occurrence: failure reason, history brackets, mute/investigation state.
get_build_problemsStructured failure reasons (compilation, exit code, dependency).
search_investigationsActive investigations by project, build config, or assignee.
list_muted_testsCurrently muted tests with scope, who muted them, and why.
Infrastructure
ToolDescription
get_build_queueBuilds waiting for an agent, with wait reasons.
search_agentsBuild agents with connection/authorization/enabled state and current build.
list_agent_poolsAgent pools with agent and project counts.
get_agent_detailsOne agent's state with enabled/authorized comments, last activity, current build.
list_build_artifactsBrowse a build's artifact tree (one directory level).
get_build_artifact_contentRead a text artifact (size-capped, line-paginated).
search_changesVCS changes (commits) by build, config, project, committer, or since-commit.
get_change_detailsOne change with its full modified-file list.
resolve_teamcity_urlParse a TeamCity web URL into project / build-config / build / change IDs.
get_server_infoTeamCity version, build number, and uptime.
get_server_healthServer health items + runtime metrics (CPU, memory, queue).

Install

Run it without installing (recommended):

uvx readonly-mcp-teamcity

Or install it into an environment:

uv tool install readonly-mcp-teamcity   # or: pip install readonly-mcp-teamcity

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:

docker run --rm \

-e TEAMCITY_BASE_URL=https://teamcity.example.com \ -e TEAMCITY_TOKEN=your-token \ -p 127.0.0.1:8080:8080 \ ghcr.io/desty2k/readonly-mcp-teamcity:latest

Configuration

All configuration comes from TEAMCITY_* environment variables.

VariableRequiredDefaultDescription
TEAMCITY_BASE_URLyes—TeamCity server base URL (e.g. https://teamcity.example.com).
TEAMCITY_TOKENyes—REST API bearer token. See Token.
TEAMCITY_TIMEOUTno30HTTP request timeout (seconds).
TEAMCITY_MAX_RETRIESno3Retries for transient network / 5xx errors.
TEAMCITY_POOL_MAX_CONNECTIONSno20httpx connection-pool size.
TEAMCITY_DEFAULT_LIMITno50Default page size for list tools.
TEAMCITY_MAX_LIMITno500Maximum page size.
TEAMCITY_INDEX_REFRESH_INTERVALno300Seconds between fuzzy-index refreshes. A failed load is retried sooner.
TEAMCITY_LOG_CACHE_MAX_BYTESno67108864Size cap of the build-log cache. Logs of running builds are never cached.
TEAMCITY_LOG_CACHE_TTLno300Seconds a finished build's log stays cached.
TEAMCITY_TRANSPORTnostdiostdio, http, or sse.
TEAMCITY_HTTP_HOSTno127.0.0.1Bind address for http/sse. These transports have no authentication; a non-loopback address logs a warning.
TEAMCITY_HTTP_PORTno8080Port for the http/sse transports.
TEAMCITY_LOG_FORMATnojsonjson (production) or text (local dev).
TEAMCITY_LOG_LEVELnoINFODEBUG, INFO, WARNING, or ERROR.

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:

pip install 'readonly-mcp-teamcity[otel]'

export TEAMCITY_OTEL_ENABLED=true export TEAMCITY_OTEL_ENDPOINT=http://localhost:4317 # optional; falls back to OTEL_EXPORTER_OTLP_ENDPOINT

VariableDefaultDescription
TEAMCITY_OTEL_ENABLEDfalseMaster switch for tracing.
TEAMCITY_OTEL_SERVICE_NAMEreadonly-mcp-teamcityservice.name on every span.
TEAMCITY_OTEL_ENDPOINTunsetOTLP collector endpoint.
TEAMCITY_OTEL_PROTOCOLgrpcgrpc or http/protobuf.
TEAMCITY_OTEL_CONSOLE_EXPORTfalseAlso print spans to stderr.

MCP client configuration

Claude Desktop

Add to claude_desktop_config.json (~/Library/Application Support/Claude/ on macOS, %APPDATA%\Claude\ on Windows):

{

"mcpServers": { "teamcity": { "command": "uvx", "args": ["readonly-mcp-teamcity"], "env": { "TEAMCITY_BASE_URL": "https://teamcity.example.com", "TEAMCITY_TOKEN": "your-token" } } } }

Claude Code

See Quick start.

How it compares

As of November 2026. Check the projects themselves before relying on this.

This serverJetBrains MCP (2026.1+)Daghis 2.12.12itcaat 1.0.8kate-horshchar 1.4.0
Writesnone, by constructionpersonal builds in the default safe mode; more with brave modetrigger and cancel by default; a full mode the agent can switch ontrigger, cancel, pin, tag; no off switchnone, GET only
Runs whereyour machinethe TeamCity server (/app/mcp)your machineyour machineyour machine
Find a config from a vague namefuzzy index over names and project pathsnot documentedlocator onlylocator partial matchno
Paste a TeamCity URLmodern, short and legacy URLsnot documentednonono

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_Build and which failed."
  • "Why did build 12345 fail?" (one diagnose_build call)
  • "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

git clone https://github.com/desty2k/readonly-mcp-teamcity

cd readonly-mcp-teamcity uv sync --all-extras uv run pytest --cov uv run ruff check . uv run ruff format --check .

A live smoke test against a real server (reads credentials from .env):

uv run python tests/smoke_test.py

License

MIT — see LICENSE.

ถาม PopNx