Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCPGW_PORTNoPort for the server to listen on. Default is 8080. Changing it requires also overriding the healthcheck command.
MCPGW_DATA_DIRNoDirectory for data storage (SQLite database and snapshots).
MCPGW_ROOT_DIRNoRoot directory for the application.
MCPGW_ALLOW_HTTPNoSet to true to allow plain http to a public host when NODE_ENV=production.
MCPGW_MASTER_KEYYesRequired: exactly 64 hex characters (openssl rand -hex 32). A container without it dies at boot with a ConfigError.
MCPGW_PUBLIC_URLNoThe public URL for the gateway, used for Origin checks and client snippets. An https:// domain or IP always works. http://<ip>:<port> works for private and loopback hosts. Plain http to a public host is refused unless MCPGW_ALLOW_HTTP=true.
MCPGW_ADMIN_EMAILNoEmail for the first-run admin bootstrap at boot.
MCPGW_TRUST_PROXYNoWhether to trust X-Forwarded-For headers. Default is true even when unset. Set to false on unproxied runs to avoid client-spoofable rate limits and audit trails.
MCPGW_METRICS_TOKENNoToken to protect the /metrics endpoint. If set, requests to /metrics must include it.
MCPGW_ADMIN_PASSWORDNoPassword for the first-run admin bootstrap at boot. Must be at least 12 characters, otherwise it is logged and skipped.

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