Skip to main content
Glama
Nunes28

MCP Proxy Server

by Nunes28

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 (e.g., via npm run dev:sse or the Docker container). The npm run dev script runs in Stdio mode.3663
LOGGINGNoControls 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_KEYSNoComma-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_FOLDERNoSpecifies 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 set, installations for servers without a specific installDirectory will target a subdirectory named after the server key within this folder. If not set or empty, such installations default to a tools subdirectory within the proxy server's working directory. The Dockerfile sets this to /tools by default.
ADMIN_PASSWORDNoPassword for Admin UI login. Required if Admin UI enabled. Default: password (Change this!).password
ADMIN_USERNAMENoUsername for Admin UI login. Required if Admin UI enabled. Default: admin.admin
ALLOWED_TOKENSNoComma-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_SECRETNoSecret used to sign session cookies. Optional but recommended if Admin UI enabled. 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_CALLNoControls whether to enable retries for SSE tool calls. Set to "true" to enable, "false" to disable. Default: true.true
RETRY_HTTP_TOOL_CALLNoControls whether to retry on HTTP tool call connection errors. Set to "true" to enable, "false" to disable. Default: true.true
RETRY_STDIO_TOOL_CALLNoControls 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_SEPERATORNoDefines the separator used to combine the server name and tool name when generating the unique key for tools (e.g., server-key__tool-name). This key is used internally and in the tool_config.json file. Default: __. 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.__
SSE_TOOL_CALL_MAX_RETRIESNoMaximum number of retry attempts for SSE tool calls (after the initial failure). Default: 2.2
HTTP_TOOL_CALL_MAX_RETRIESNoMaximum number of retry attempts for HTTP tool calls (after the initial failure). Default: 2.2
STDIO_TOOL_CALL_MAX_RETRIESNoMaximum number of retry attempts for Stdio tool calls (after the initial failure). Default: 2.2
SSE_TOOL_CALL_RETRY_DELAY_BASE_MSNoBase delay in milliseconds for SSE tool call retries, used in exponential backoff. Default: 300.300
HTTP_TOOL_CALL_RETRY_DELAY_BASE_MSNoBase delay in milliseconds for HTTP tool call retries, used in exponential backoff. Default: 300.300
STDIO_TOOL_CALL_RETRY_DELAY_BASE_MSNoBase 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