Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HUB_HOSTNoListening address0.0.0.0
MCP_HUB_PORTNoListening port8888
MCP_HUB_TOKENNoIf set, /mcps/* requires Authorization: Bearer <token> (console not affected)
MCP_HUB_CONFIGNoPath to servers list configuration fileservers.json
MCP_HUB_MEMORY_DIRNoDirectory allowed for X-Memory-File paths; defaults to directory containing MEMORY_FILE_PATH
MCP_HUB_MAX_SESSIONSNoMax concurrent Streamable HTTP sessions (exceeds returns 503)32
MCP_HUB_MEMORY_API_KEYNoIf set, memory adapter requires X-API-KEY or Authorization Bearer on requests; otherwise no validation
MCP_HUB_RESUME_SESSIONNoUnset to enable auto-resume session; set '0' to disable: unknown/expired Mcp-Session-Id returns 4041
MCP_HUB_ALLOWED_ORIGINSNoAllowed cross-origin origins, comma-separated (same-origin always allowed)
MCP_HUB_HANDSHAKE_CACHENoRemember recent initialize handshakes for session resume replay256
MCP_HUB_REQUIRE_SESSIONNoSet to 1 to require Mcp-Session-Id on all requests, otherwise return 400
MCP_HUB_SESSION_IDLE_MSNoIdle session reclamation time (no open SSE stream)1800000
MCP_HUB_USAGE_TIMEOUT_MSNoTimeout for a single usage quota read5000
MCP_HUB_HEALTH_TIMEOUT_MSNoSingle health probe timeout3000
MCP_HUB_USAGE_INTERVAL_MSNoInterval for reading usage quota for services with usagePath60000
MCP_HUB_HEALTH_INTERVAL_MSNoHealth check interval after service stable15000
MCP_HUB_REQUEST_TIMEOUT_MSNoSingle JSON-RPC request timeout60000
MCP_HUB_SERVICE_MAX_RESTARTSNoMax restarts allowed within a 5-minute window5
MCP_HUB_SERVICE_STOP_GRACE_MSNoSIGTERM to SIGKILL grace period when stopping services4000
MCP_HUB_SERVICE_RESTART_DELAY_MSNoDelay before restarting after a crash1200
MCP_HUB_HEALTH_STARTUP_INTERVAL_MSNoFast probe interval at service startup700

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