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

Tools

Functions exposed to the LLM to take actions

NameDescription
ping

Test MCP server connectivity

list_projects

List TeamCity projects (supports pagination)

get_project

Get details of a specific project

list_builds

List TeamCity builds (supports pagination)

get_build

Get details of a specific build (works for both queued and running/finished builds)

trigger_build

Trigger a new build

cancel_queued_build

Cancel a queued build by ID

get_build_status

Get build status with optional test/problem and queue context details

fetch_build_log

Fetch build log with pagination (by lines)

list_build_configs

List build configurations (supports pagination)

get_build_config

Get details of a build configuration

list_test_failures

List test failures for a build (supports pagination)

list_queued_builds

List queued builds (supports TeamCity queue locator + pagination)

get_server_info

Get TeamCity server info (version, build number, state)

get_build_results

Get detailed results of a build including tests, artifacts, changes, and statistics

download_build_artifact

Download a single artifact with optional streaming output

download_build_artifacts

Download multiple artifacts with optional streaming output

get_test_details

Get detailed information about test failures

analyze_build_problems

Analyze and report build problems and failures

list_changes

List VCS changes (supports pagination)

list_problems

List build problems (supports pagination)

list_problem_occurrences

List problem occurrences (supports pagination)

list_investigations

List open investigations (supports pagination)

list_muted_tests

List muted tests (supports pagination)

list_branches

List branches for a project or build configuration

list_parameters

List parameters for a build configuration

list_project_hierarchy

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