Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HANDOFF_SERVERNoServer connection mode: 'none' for standalone, or explicit server URL (e.g., 'http://localhost:3000'). Default is auto-discovery mode.
HANDOFF_MAX_COUNTNoMaximum number of handoffs100
HANDOFF_PORT_RANGENoPort range for auto-discovery1099-1200
HANDOFF_SERVER_TTLNoServer auto-shutdown after inactivity in milliseconds (0 = disabled). Default is 24 hours.86400000
HANDOFF_RETRY_COUNTNoAuto-reconnect retry count30
HANDOFF_MAX_KEY_LENGTHNoMaximum key length100
HANDOFF_RETRY_INTERVALNoAuto-reconnect interval in milliseconds10000
HANDOFF_MAX_TITLE_LENGTHNoMaximum title length200
HANDOFF_MAX_SUMMARY_BYTESNoMaximum summary size in bytes (default 10KB)10240
HANDOFF_MAX_CONVERSATION_BYTESNoMaximum conversation size in bytes (default 1MB)1048576

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

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/trust-delta/conversation-handoff-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server