Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoPort for the proxy server's HTTP-based endpoints (/sse, /mcp, and Admin UI if enabled). Only used when running in a mode that starts an HTTP server. Default: 3663.3663
LOGGINGNoOptional minimum log level output by the server. Possible values (case-insensitive): error, warn, info, debug. Default: info.info
ALLOWED_KEYSNoOptional comma-separated list of API keys to secure the proxy's HTTP-based endpoints (/sse, /mcp). If neither ALLOWED_KEYS nor ALLOWED_TOKENS are set, authentication is disabled for these endpoints. Clients must provide a key via X-Api-Key header or ?key= query parameter.
TOOLS_FOLDERNoOptional base directory for Stdio server installations initiated via the Admin UI, used when installDirectory is not explicitly set in mcp_server.json for a specific server. If set, installations target ${TOOLS_FOLDER}/<server_key>; otherwise they default to ./tools/<server_key>. The Dockerfile sets this to /tools by default.
ADMIN_PASSWORDNoRequired if Admin UI enabled. Password for Admin UI login. Default: password (change this!).password
ADMIN_USERNAMENoRequired if Admin UI enabled. Username for Admin UI login. Default: admin.admin
ALLOWED_TOKENSNoOptional comma-separated list of Bearer Tokens to secure the proxy's HTTP-based endpoints (/sse, /mcp). If neither ALLOWED_KEYS nor ALLOWED_TOKENS are set, authentication is disabled. Clients must provide a token via the Authorization: Bearer <token> header. If both are configured, Bearer Token authentication will be attempted first.
SESSION_SECRETNoOptional, recommended if Admin UI enabled. Secret used to sign session cookies. If not set, a default, less secure secret is used and a warning is issued. A secure secret is automatically generated and saved to config/.session_secret on first run if not provided via environment variable.
ENABLE_ADMIN_UINoSet to true to enable the Web Admin UI (only applicable in SSE mode). Default: false.false
RETRY_SSE_TOOL_CALLNoOptional. Controls whether to enable retries for SSE tool calls. Set to "true" to enable, "false" to disable. Default: true.true
RETRY_HTTP_TOOL_CALLNoOptional. Controls whether to retry on HTTP tool call connection errors. Set to "true" to enable, "false" to disable. Default: true.true
RETRY_STDIO_TOOL_CALLNoOptional. Controls whether to retry on Stdio tool call connection errors (attempts to restart the process). Set to "true" to enable, "false" to disable. Default: true.true
SERVER_TOOLNAME_SEPERATORNoOptional separator used to combine the server name and tool name when generating the unique key for tools (e.g., server-key__tool-name). Must be at least 2 characters long and contain only letters, numbers, hyphens, and underscores. If invalid, the default (__) is used and a warning is logged.__
SSE_TOOL_CALL_MAX_RETRIESNoOptional. Maximum number of retry attempts for SSE tool calls after the initial failure. Default: 2.2
HTTP_TOOL_CALL_MAX_RETRIESNoOptional. Maximum number of retry attempts for HTTP tool calls after the initial failure. Default: 2.2
STDIO_TOOL_CALL_MAX_RETRIESNoOptional. Maximum number of retry attempts for Stdio tool calls after the initial failure. Default: 2.2
SSE_TOOL_CALL_RETRY_DELAY_BASE_MSNoOptional. Base delay in milliseconds for SSE tool call retries, used in exponential backoff. Default: 300.300
HTTP_TOOL_CALL_RETRY_DELAY_BASE_MSNoOptional. Base delay in milliseconds for HTTP tool call retries, used in exponential backoff. Default: 300.300
STDIO_TOOL_CALL_RETRY_DELAY_BASE_MSNoOptional. Base delay in milliseconds for Stdio tool call retries, used in exponential backoff. Default: 300.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