Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TZNoFallback IANA timezone for date checks (Garmin profile timezone is preferred when connected).UTC
HOSTNoBind host (Dockerfile sets HOST=0.0.0.0).127.0.0.1
PORTNoBind port.8081
APP_URLNoExternal URL of this Web UI and /mcp host.http://localhost:8081
DATA_DIRNoPersistent directory for state.sqlite and garmin_tokens/./data or ./data
TIMEZONENoFallback IANA timezone for date checks (Garmin profile timezone is preferred when connected).UTC
MCP_TOKENNoOptional static Bearer token (32+ chars recommended; locks UI rotation).
MCP_ENABLEDNoHard ceiling for stdio MCP.true
SPLITLINE_URLNoSplitline URL used to prefill the combined OpenCode snippet.http://localhost:8080
MCP_RATE_LIMITNoPer-IP requests per minute on /mcp.120
MCP_WEB_ENABLEDNoHard ceiling for HTTP /mcp.true
TRUSTED_PROXIESNoReverse-proxy IPs/CIDRs trusted for X-Forwarded-For.
GARMIN_WRITE_MODENoHard write ceiling (enabled or staged_only; unknown values fail closed to staged_only).enabled
MCP_ALLOWED_ORIGINSNoComma-separated trusted browser origins (never use *).
SESSION_SECURE_COOKIENoMark CSRF/flash/MFA cookies Secure (default true for https:// APP_URL).false
GARMIN_MFA_TTL_SECONDSNoIn-memory lifetime of a pending MFA challenge.600
GARMIN_WRITE_PACING_MSNoMinimum delay in ms between Garmin write calls.500
GARMIN_LIBRARY_HARD_LIMITNoHard-stop workout template threshold.500
GARMIN_LIBRARY_SOFT_LIMITNoWarning workout template threshold.480

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