Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoServer port3000
MCP_MODENoMCP mode (dev or full)dev
NODE_ENVNoNode environmentdevelopment
LOG_LEVELNoLog levelinfo
TEAMCITY_URLNoTeamCity server URL
TEAMCITY_TOKENNoTeamCity authentication token
TEAMCITY_TIMEOUTNoTeamCity connection timeout30000
TEAMCITY_API_TOKENNoTeamCity authentication token (alias for TEAMCITY_TOKEN)
TEAMCITY_PAGE_SIZENoDefault page size for pagination100
TEAMCITY_KEEP_ALIVENoKeep alive connectionstrue
TEAMCITY_SERVER_URLNoTeamCity server URL (alias for TEAMCITY_URL)
TEAMCITY_COMPRESSIONNoEnable compressiontrue
TEAMCITY_MAX_RETRIESNoMaximum number of retries3
TEAMCITY_RETRY_DELAYNoRetry delay in milliseconds1000
TEAMCITY_MAX_PAGE_SIZENoMaximum page size for pagination1000
TEAMCITY_RETRY_ENABLEDNoEnable retry mechanismtrue
TEAMCITY_AUTO_FETCH_ALLNoAuto fetch all pagesfalse
TEAMCITY_MAX_CONCURRENTNoMaximum concurrent connections10
TEAMCITY_CIRCUIT_BREAKERNoEnable circuit breakertrue
TEAMCITY_MAX_RETRY_DELAYNoMaximum retry delay in milliseconds30000
TEAMCITY_CB_RESET_TIMEOUTNoCircuit breaker reset timeout60000
TEAMCITY_CB_FAILURE_THRESHOLDNoCircuit breaker failure threshold5
TEAMCITY_CB_SUCCESS_THRESHOLDNoCircuit breaker success threshold2

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

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