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). Default: 3663. Only used when running in a mode that starts an HTTP server.3663
LOGGINGNo(Optional) Controls the minimum log level output by the server. Possible values (case-insensitive): error, warn, info, debug. Logs at the specified level and all levels above it will be shown. Default: info.info
ALLOWED_KEYSNo(Optional) 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_FOLDERNo(Optional) Specifies the 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 not set or empty, installations default to a tools subdirectory within the proxy server's working directory (e.g., ./tools/<server_key>). The Dockerfile sets this to /tools by default.
ADMIN_PASSWORDNo(Required if Admin UI enabled) Password for Admin UI login. Default: password (Change this!).password
ADMIN_USERNAMENo(Required if Admin UI enabled) Username for Admin UI login. Default: admin.admin
ALLOWED_TOKENSNo(Optional) 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 ALLOWED_KEYS and ALLOWED_TOKENS are configured, Bearer Token authentication will be attempted first.
SESSION_SECRETNo(Optional, 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_UINo(Optional) Set to true to enable the Web Admin UI (only applicable in SSE mode). Default: false.false
RETRY_SSE_TOOL_CALLNo(Optional) Controls whether to enable retries for SSE tool calls. Set to "true" to enable, "false" to disable. Default: true.true
RETRY_HTTP_TOOL_CALLNo(Optional) Controls whether to retry on HTTP tool call connection errors. Set to "true" to enable, "false" to disable. Default: true.true
RETRY_STDIO_TOOL_CALLNo(Optional) 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_SEPERATORNo(Optional) Defines the 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 (a-z, A-Z), numbers (0-9), hyphens (-), and underscores (_). If the provided value is invalid, the default (__) will be used and a warning will be logged. Default: __.__
SSE_TOOL_CALL_MAX_RETRIESNo(Optional) Maximum number of retry attempts for SSE tool calls (after the initial failure). Default: 2.2
HTTP_TOOL_CALL_MAX_RETRIESNo(Optional) Maximum number of retry attempts for HTTP tool calls (after the initial failure). Default: 2.2
STDIO_TOOL_CALL_MAX_RETRIESNo(Optional) Maximum number of retry attempts for Stdio tool calls (after the initial failure). Default: 2.2
SSE_TOOL_CALL_RETRY_DELAY_BASE_MSNo(Optional) Base delay in milliseconds for SSE tool call retries, used in exponential backoff. Default: 300.300
HTTP_TOOL_CALL_RETRY_DELAY_BASE_MSNo(Optional) Base delay in milliseconds for HTTP tool call retries, used in exponential backoff. Default: 300.300
STDIO_TOOL_CALL_RETRY_DELAY_BASE_MSNo(Optional) 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

Maintenance

ActivityActive
ResponsivenessNo issues