Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoAPI listen port.8100
AUTH_MODENoAuthentication mode. `dev` = header-based identity, no token required; `keycloak` = Keycloak JWT verification (default).keycloak
CORS_ORIGINNoComma-separated allowed CORS origins for the API.all origins
DATABASE_URLNoPostgres connection string. If unset, uses in-memory repository (data lost on restart).
KEYCLOAK_URLNoKeycloak issuer URL.
KEYCLOAK_REALMNoKeycloak realm name.
APPROVAL_REQUIREDNoWhether new servers start as `pending_approval` and require superadmin approval.true
KEYCLOAK_AUDIENCENoExpected JWT audience. Defaults to realm value.
SSRF_ALLOWED_HOSTSNoComma-separated allowed hosts/globs for outgoing MCP connections. Unset blocks only loopback/link-local.
MAX_CONNS_PER_SERVERNoMax simultaneous connections per upstream MCP server.20
SECRET_ENCRYPTION_KEYNoAES-256-GCM key for encrypting secrets at rest (min 32 chars).

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