Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HOSTNoHTTP bind address0.0.0.0
MCP_PORTNoMCP server port3000
MCP_ENDPOINTNoMCP endpoint path/mcp
MCP_AUTH_TOKENNoStatic Bearer Token for authentication
MCP_PUBLIC_URLNoExternal HTTPS base URL
MCP_DEFAULT_CWDNoBase directory for relative pathsServer start location
MCP_OAUTH_ISSUERNoOAuth IssuerMCP_PUBLIC_URL
MCP_ALLOWED_HOSTSNoList of allowed Host headers
MCP_ALLOW_NO_AUTHNoAllow starting without built-in authenticationfalse
MCP_DEFAULT_SHELLNoDefault shell for commands$SHELL or /bin/bash
MCP_MAX_PROCESSESNoMaximum number of process records128
MCP_OAUTH_ENABLEDNoEnable built-in OAuth 2.1false
MCP_WORKFLOW_MODENoDefault workflow mode: auto, direct, or harnessauto
MCP_OAUTH_RESOURCENoOAuth Resource AudiencePublic URL + endpoint
MCP_MAX_OUTPUT_BYTESNoMaximum output size of a response1048576
MCP_MAX_REQUEST_BODYNoMaximum HTTP request body size8mb
MCP_OAUTH_STATE_FILENoOAuth persistent state file pathInside working directory
MCP_TRUST_PROXY_HOPSNoNumber of trusted reverse proxy hops0
MCP_OAUTH_APPROVAL_KEYNoKey for OAuth approval pageMCP_AUTH_TOKEN
MCP_MAX_EDIT_FILE_BYTESNoMaximum file size for text editing67108864
MCP_MAX_FILE_CHUNK_BYTESNoFile transfer chunk size in bytes1048576
MCP_PROCESS_RETENTION_MSNoHow long to keep completed process records3600000
MCP_OAUTH_ACCESS_TOKEN_TTL_SECONDSNoAccess Token lifetime in seconds3600
MCP_OAUTH_REFRESH_TOKEN_TTL_SECONDSNoRefresh Token lifetime in seconds2592000
MCP_MAX_RETAINED_PROCESS_OUTPUT_BYTESNoMaximum retained output per process4194304
MCP_OAUTH_AUTHORIZATION_CODE_TTL_SECONDSNoAuthorization Code lifetime in seconds300

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