TeamCity MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | Server port | 3000 |
| MCP_MODE | No | MCP mode (dev or full) | dev |
| NODE_ENV | No | Node environment | development |
| LOG_LEVEL | No | Log level | info |
| TEAMCITY_URL | No | TeamCity server URL | |
| TEAMCITY_TOKEN | No | TeamCity authentication token | |
| TEAMCITY_TIMEOUT | No | TeamCity connection timeout | 30000 |
| TEAMCITY_API_TOKEN | No | TeamCity authentication token (alias for TEAMCITY_TOKEN) | |
| TEAMCITY_PAGE_SIZE | No | Default page size for pagination | 100 |
| TEAMCITY_KEEP_ALIVE | No | Keep alive connections | true |
| TEAMCITY_SERVER_URL | No | TeamCity server URL (alias for TEAMCITY_URL) | |
| TEAMCITY_COMPRESSION | No | Enable compression | true |
| TEAMCITY_MAX_RETRIES | No | Maximum number of retries | 3 |
| TEAMCITY_RETRY_DELAY | No | Retry delay in milliseconds | 1000 |
| TEAMCITY_MAX_PAGE_SIZE | No | Maximum page size for pagination | 1000 |
| TEAMCITY_RETRY_ENABLED | No | Enable retry mechanism | true |
| TEAMCITY_AUTO_FETCH_ALL | No | Auto fetch all pages | false |
| TEAMCITY_MAX_CONCURRENT | No | Maximum concurrent connections | 10 |
| TEAMCITY_CIRCUIT_BREAKER | No | Enable circuit breaker | true |
| TEAMCITY_MAX_RETRY_DELAY | No | Maximum retry delay in milliseconds | 30000 |
| TEAMCITY_CB_RESET_TIMEOUT | No | Circuit breaker reset timeout | 60000 |
| TEAMCITY_CB_FAILURE_THRESHOLD | No | Circuit breaker failure threshold | 5 |
| TEAMCITY_CB_SUCCESS_THRESHOLD | No | Circuit breaker success threshold | 2 |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| pingC | Test MCP server connectivity |
| list_projectsC | List TeamCity projects (supports pagination) |
| get_projectC | Get details of a specific project |
| list_buildsB | List TeamCity builds (supports pagination) |
| get_buildB | Get details of a specific build (works for both queued and running/finished builds) |
| trigger_buildC | Trigger a new build |
| cancel_queued_buildC | Cancel a queued build by ID |
| get_build_statusB | Get build status with optional test/problem and queue context details |
| fetch_build_logC | Fetch build log with pagination (by lines) |
| list_build_configsC | List build configurations (supports pagination) |
| get_build_configB | Get details of a build configuration |
| list_test_failuresC | List test failures for a build (supports pagination) |
| list_queued_buildsB | List queued builds (supports TeamCity queue locator + pagination) |
| get_server_infoB | Get TeamCity server info (version, build number, state) |
| get_build_resultsC | Get detailed results of a build including tests, artifacts, changes, and statistics |
| download_build_artifactC | Download a single artifact with optional streaming output |
| download_build_artifactsC | Download multiple artifacts with optional streaming output |
| get_test_detailsC | Get detailed information about test failures |
| analyze_build_problemsC | Analyze and report build problems and failures |
| list_changesC | List VCS changes (supports pagination) |
| list_problemsC | List build problems (supports pagination) |
| list_problem_occurrencesC | List problem occurrences (supports pagination) |
| list_investigationsC | List open investigations (supports pagination) |
| list_muted_testsC | List muted tests (supports pagination) |
| list_branchesC | List branches for a project or build configuration |
| list_parametersC | List parameters for a build configuration |
| list_project_hierarchyB | List project hierarchy showing parent-child relationships |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Daghis/teamcity-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server