MCP server · Audited from source
TeamCity MCP server
by daghis/teamcity-mcpMIT licenceAudited 8 Oct 2026 · source ec66c2be5fb7
Is it safe? With care — CAUTION, grade B (83/100). It exposes 12 tools: 12 read, 0 write and 0 destructive. The audit recorded 19 findings (0 critical, 0 high, 2 medium, 17 low). Maintainer's description: Model Context Protocol (MCP) server for JetBrains TeamCity: control builds, tests, agents and configs from AI coding assistants.
Cite
Cite this page
ModelsAtlas. “TeamCity MCP server (daghis/teamcity-mcp)”. Retrieved 8 Oct 2026. https://modelsatlas.com/mcp/daghis/teamcity-1
Trust audit
Audit 0.4.1 · full source read 8 Oct 2026
19 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared2 observations
- NetworkDeclared5 observations
- ShellDeclared2 observations
- DependenciesNot pinnedSome ranges float
- SecretsFoundSee the findings
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS 4 findings |
L1 Static source | Secrets, path traversal, supply chain | WARN 15 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS |
L3 Inventory | Declared tools match the source | PASS |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
daghisUser accountAccount type recorded when we read the repository. - PackagePublished on npm
@teamcity/clientat version 1.0.0 - LicenceMITFrom the repository, as read at the audited commit.
- Last push5 days agoActivity of the repository when we read it.
- Source commit readec66c2be5fb7The audit covers exactly this commit, read on 8 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory12 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (19)
Sorted by severity
MEDIUMHard-coded secretssecret.private_key · tests/unit/tools/ssh-keys.test.ts:61
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.private_key · tests/unit/tools/ssh-keys.test.ts:95
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.credential_store · tests/integration/build-config-extensions-scenario.test.ts:162
'teamcity.ssh.agent.key': 'id_rsa',
- Why
- touches a credential store
- Fix
- —
LOWFilesystem / pathfs.credential_store · tests/unit/tools/manage-build-config-extensions.test.ts:338
property: [{ name: 'teamcity.ssh.agent.key', value: 'id_rsa' }],- Why
- touches a credential store
- Fix
- —
LOWFilesystem / pathfs.credential_store · tests/unit/tools/manage-build-config-extensions.test.ts:364
'teamcity.ssh.agent.key': 'id_rsa',
- Why
- touches a credential store
- Fix
- —
LOWFilesystem / pathfs.credential_store · tests/unit/tools/manage-build-config-extensions.test.ts:382
{ name: 'teamcity.ssh.agent.key', value: 'id_rsa' },- Why
- touches a credential store
- Fix
- —
LOWFilesystem / pathfs.credential_store · tests/unit/tools/manage-build-config-extensions.test.ts:426
{ name: 'teamcity.ssh.agent.key', value: 'id_rsa' },- Why
- touches a credential store
- Fix
- —
LOWFilesystem / pathfs.traversal · src/utils/cli-args.ts:126
join(__dirname, '../../package.json'), // source: src/utils/ -> package.json
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/integration/lib/test-fixtures.ts:7
import type { ActionResult, BuildRef, TriggerBuildResult } from '../../types/tool-results';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/integration/mcp-stdio-compliance.test.ts:17
import packageJson from '../../package.json';
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/integration/mcp-stdio-compliance.test.ts:146
const tsxPath = join(__dirname, '../../node_modules/tsx/dist/cli.mjs');
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/integration/mcp-stdio-compliance.test.ts:147
const serverPath = join(__dirname, '../../src/index.ts');
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · tests/unit/teamcity/api-client.test.ts:282
baseUrl = `http://127.0.0.1:${address.port}`;- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@modelcontextprotocol/sdk, axios, axios-retry, tslib, winston, zod, @esbuild-plugins/tsconfig-paths, @eslint/js
- Why
- 30 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWSupply chainsupply.unpinned · src/teamcity-client/package.json
axios, typescript
- Why
- 2 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
Tools it exposes
12 declared in source · 0 destructive
| Tool | Risk | What it does |
|---|---|---|
Updated | read | New description |
bare | read | no outputSchema |
failing-tool | read | A tool that fails |
list_projects | read | list projects |
new | read | desc |
ping | read | Test connectivity |
strict_list | read | declares strict list outputSchema |
tool1 | read | First tool |
tool2 | read | Second tool |
tool3 | read | Third tool |
validated-tool | read | A tool with validation |
with_schema | read | declares an outputSchema |
Install
Package version 1.0.0 · audited commit ec66c2b
Read the findings first. The most severe is Hard-coded secrets (medium) at tests/unit/tools/ssh-keys.test.ts.
claude mcp add teamcity-mcp --env TEAMCITY_TOKEN=${TEAMCITY_TOKEN} -- npx -y @daghis/[email protected]The command pins the package version recorded in the source (1.0.0); the audit covers commit ec66c2be5fb7. Transport: stdio. Reads these environment variables: CODECOV_TOKEN, TEAMCITY_API_TOKEN, TEAMCITY_TOKEN. Give it the narrowest token it needs.
Audit history
- !CAUTION B 83 / 100
First audit ·
ec66c2be5fb7
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/daghis/teamcity-1/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about TeamCity MCP server
What is the TeamCity MCP server?
What tools does TeamCity expose?
Is TeamCity safe to connect to an agent?
What credentials does TeamCity need?
How does TeamCity run?
How current is this page?
Sources
- daghis/teamcity-mcp on GitHub — the source we read, its licence, stars and activityObserved · 8 Oct 2026
- ModelsAtlas trust audit — CAUTION verdict for commit ec66c2be5fb7Observed · 8 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the TeamCity MCP server?
- What tools does TeamCity expose?
- Is TeamCity safe to connect to an agent?