Teamcity Mcp CLAUDE.md
Model Context Protocol (MCP) server for JetBrains TeamCity: control builds, tests, agents and configs from AI coding assistants.
> Sourced from [Daghis/teamcity-mcp](https://github.com/Daghis/teamcity-mcp) β [MIT](https://github.com/Daghis/teamcity-mcp/blob/5b5b584b21e79510843ba0f19403fa046bb8a454/CLAUDE.md).
# Claude Code Instructions for teamcity-mcp
## Project Overview
TeamCity MCP Server - An MCP (Model Context Protocol) server that provides tools for interacting with TeamCity CI/CD.
## Development Commands
```bash
npm run build # Build the project
npm run lint # Run ESLint
npm run format # Run Prettier
npm run check # Run all checks (build, lint, format)
```
## Testing
### Unit tests
```bash
npm test # Run all unit tests
npm run test:coverage # Run with coverage report
```
### Integration tests
Requires `TEAMCITY_URL` and `TEAMCITY_TOKEN` in `.env` or environment.
```bash
npm run test:integration # Run integration tests (some suites skipped)
SERIAL_BUILD_TESTS=true npm run test:integration # Run ALL integration tests including serial suites
```
Serial suites are skipped by default because they need exclusive access to TeamCity resources (queue operations, streaming artifacts). The `SERIAL_BUILD_TESTS=true` flag enables them.
## Code Conventions
- TypeScript strict mode, no `any`
- Test code must be at the same quality as production code
- Use existing logger utilities, avoid `console.log`
- Follow Conventional Commits for commit messages
## Key Patterns
### Auto-generated API client
The TeamCity API client in `src/teamcity-client/api/` is auto-generated from OpenAPI specs. Method names with numeric suffixes (e.g., `createBuildParameterOfBuildType_1`) differentiate between endpoints with similar operations:
- Non-suffixed methods often target `/output-parameters`
- `_1`, `_7`, etc. suffixed methods target `/parameters`
Always verify the endpoint path in the generated code when using these methods.
### Parameter tools
Three parameter sets exist:
- **Project parameters**: `/projects/{id}/parameters` (supports types)
- **Build config input parameters**: `/buildTypes/{id}/parameters` (supports types)
- **Build config output parameters**: `/buildTypes/{id}/output-parameters` (no type support)
Type support includes: `password`, `text`, `checkbox`, `select` with spec format in `type.rawValue`.
## Workflows
### "Check-in with GitHub"
When Marc says he wants to "check-in with GitHub", run these steps:
1. Snapshot pulse stats (via project-pulse MCP `snapshot_stats`, name: `teamcity-mcp`, repo: `Daghis/teamcity-mcp`, npm: `@daghis/teamcity-mcp`) β this records a data point for trend tracking
2. Check new issues
3. Check new PRs
4. Check security alerts
## Git Workflow
Before starting any work that will result in a commit/PR, always pull the latest `main` first:
```bash
git checkout main && git pull origin main
```
Then create the feature branch from that up-to-date main. This avoids "branch is out-of-date" warnings on PRs.
Add to your project
Paste into your project's CLAUDE.md or ~/.claude/CLAUDE.md for global rules.
More for TypeScript
Vue.js Composition API
by @Claude Rules
Modern Vue 3 development with Composition API, Pinia, and TypeScript.
Angular Enterprise
by @Claude Rules
Enterprise Angular development with RxJS, NgRx, standalone components, and best practices.
Mindx CLAUDE.md
by @DotNetAge
δΈδΈͺε―θͺδΈ»θΏεηζ°εεεθΊ«
Coolify Docs CLAUDE.md
by @coollabsio
Documentation for Coolify
Lerna CLAUDE.md
by @lerna
Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository.
Transcriber CLAUDE.md
by @kossakovsky
Automated video-to-text transcription powered by ElevenLabs Scribe API with multi-language support and speaker diarization
MCP servers for TypeScript
netdata/netdata#Netdata
ποΈ π βοΈ π π πͺ π§ - Discovery, exploration, reporting and root cause analysis using all observability data, including metrics, logs, systems, containers, processes, and network connections
upstash/context7
π βοΈ - Up-to-date code documentation for LLMs and AI code editors.
microsoft/playwright-mcp
Official Microsoft Playwright MCP server, enabling LLMs to interact with web pages through structured accessibility snapshots
Browse by Tag
Get the Claude Code Starter Pack
Top CLAUDE.md rules for Next.js, TypeScript, Python, Go, and React β free.
