Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HOSTNoHost address for the server to bind. start.sh uses 127.0.0.1.0.0.0.0
MCP_PORTNoPort for the server to listen on.3000
MCP_ENDPOINTNoMCP endpoint path./mcp
MCP_AUTH_TOKENNoStatic Bearer token for authentication. Not allowed in terminal OAuth approval mode.
MCP_PUBLIC_URLNoExternal HTTPS URL without /mcp. If omitted with start.sh, it is prompted for interactively.
MCP_DEFAULT_CWDNoDefault working directory. Relative paths are resolved against it.
MCP_OAUTH_ISSUERNoOAuth authorization server issuer URL.
MCP_ALLOWED_HOSTSNoComma-separated list of allowed Host header names.
MCP_ALLOW_NO_AUTHNoAllow running without authentication. Only use behind a separate authentication gateway or equivalent protection.
MCP_DEFAULT_SHELLNoDefault shell for command execution.
MCP_OAUTH_ENABLEDNoEnable OAuth authentication. start.sh sets this to true.false
MCP_OAUTH_RESOURCENoOAuth MCP resource URL.
MCP_MAX_IMAGE_BYTESNoMaximum PNG image size in bytes.8388608
MCP_MAX_IMAGE_PIXELSNoMaximum PNG image pixel count.16777216
MCP_MAX_OUTPUT_BYTESNoMaximum process output size per request in bytes.1048576
MCP_OAUTH_STATE_FILENoPath for storing OAuth registrations and token hashes. File permissions are 600.
MCP_TRUST_PROXY_HOPSNoNumber of trusted proxy hops. Must match the actual trusted proxy count.0
MCP_OAUTH_APPROVAL_KEYNoBrowser approval key used in OAuth key approval mode.
MCP_OAUTH_APPROVAL_MODENoOAuth approval mode: terminal or key. start.sh uses terminal.key
MCP_DEFAULT_OUTPUT_BYTESNoDefault process output size in bytes.32768
MCP_MAX_FILE_CHUNK_BYTESNoMaximum file read chunk size per request in bytes.1048576
MCP_PROCESS_RETENTION_MSNoRetention time for terminated process records in milliseconds.3600000
MCP_SCREEN_CAPTURE_HELPERNoPath to a compatible custom screen capture helper executable.
MCP_DEFAULT_FILE_READ_BYTESNoDefault file read size in bytes.32768
MCP_OAUTH_SESSION_TTL_SECONDSNoOAuth approval validity period in seconds.21600
MCP_SCREEN_CAPTURE_TIMEOUT_MSNoScreen capture timeout in milliseconds.15000
MCP_OAUTH_ACCESS_TOKEN_TTL_SECONDSNoOAuth access token lifetime in seconds. Cannot exceed the approval period.600 in terminal mode, 3600 otherwise
MCP_MAX_RETAINED_PROCESS_OUTPUT_BYTESNoMaximum retained output per process in bytes.4194304

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