Skip to main content
Glama
TeamCity
by desty2k

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TEAMCITY_TOKENYesREST API bearer token. Scope it read-only on the TeamCity side if possible.
TEAMCITY_TIMEOUTNoHTTP request timeout (seconds).30
TEAMCITY_BASE_URLYesTeamCity server base URL (e.g. https://teamcity.example.com).
TEAMCITY_HTTP_HOSTNoBind address for http/sse. These transports have no authentication; a non-loopback address logs a warning.127.0.0.1
TEAMCITY_HTTP_PORTNoPort for the http/sse transports.8080
TEAMCITY_LOG_LEVELNoLog level: DEBUG, INFO, WARNING, or ERROR.INFO
TEAMCITY_MAX_LIMITNoMaximum page size.500
TEAMCITY_TRANSPORTNoTransport: stdio, http, or sse.stdio
TEAMCITY_LOG_FORMATNoLog format: json (production) or text (local dev).json
TEAMCITY_MAX_RETRIESNoRetries for transient network / 5xx errors.3
TEAMCITY_OTEL_ENABLEDNoMaster switch for OpenTelemetry tracing.false
TEAMCITY_DEFAULT_LIMITNoDefault page size for list tools.50
TEAMCITY_LOG_CACHE_TTLNoSeconds a finished build's log stays cached.300
TEAMCITY_OTEL_ENDPOINTNoOTLP collector endpoint. Falls back to OTEL_EXPORTER_OTLP_ENDPOINT when unset.
TEAMCITY_OTEL_PROTOCOLNoOTLP protocol: grpc or http/protobuf.grpc
TEAMCITY_OTEL_SERVICE_NAMENoservice.name on every span.readonly-mcp-teamcity
OTEL_EXPORTER_OTLP_ENDPOINTNoFallback OTLP collector endpoint used when TEAMCITY_OTEL_ENDPOINT is unset.
TEAMCITY_LOG_CACHE_MAX_BYTESNoSize cap of the build-log cache. Logs of running builds are never cached.67108864
TEAMCITY_OTEL_CONSOLE_EXPORTNoAlso print spans to stderr.false
TEAMCITY_POOL_MAX_CONNECTIONSNohttpx connection-pool size.20
TEAMCITY_INDEX_REFRESH_INTERVALNoSeconds between fuzzy-index refreshes. A failed load is retried sooner.300

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources