Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoListening port (with Compose: the host port; the container always listens on 3000).3000
EMBEDDERNo`local` (bundled model) or `openai-compatible` (`POST <EMBEDDER_URL>/embeddings`).local
LOG_LEVELNo`fatal`, `error`, `warn`, `info`, `debug`, `trace` or `silent`.info
MODEL_DIRNoDirectory of the local model. The image already contains it./app/models
PUBLIC_URLYesExternal URL of the gateway (scheme + host + port). Used for OIDC/OAuth redirect URIs, the `claude mcp add` command and `Origin` checks.
OIDC_ISSUERYesIssuer URL of the OIDC provider. Discovery happens on the first login, not at startup.
OIDC_SCOPESNoScopes of the login request, space- or comma-separated; must include `openid`.openid profile email groups
SECRETS_KEYYesAES-256-GCM key, base64 of exactly 32 bytes (`openssl rand -base64 32`). Encrypts server secrets and people's tokens.
TRUST_PROXYNoTake the client IP from `X-Forwarded-For`. Enable only behind a reverse proxy.false
DATABASE_URLYesPostgres connection string. Compose defaults to `postgres://mcp@db:5432/mcp` with `POSTGRES_PASSWORD`.
EMBEDDER_URLNoBase URL of the embeddings API, only for `openai-compatible`.
ALLOWED_HOSTSNoExtra accepted `Host` values for `/mcp`, comma-separated. The `PUBLIC_URL` host, `localhost` and `127.0.0.1` are always accepted.
COOKIE_SECURENo`Secure` flag on the session cookie. Works with HTTPS and with `http://localhost`.true
EMBEDDER_MODELNoModel name for `openai-compatible`. Must produce 384-dimensional vectors.
OIDC_CLIENT_IDYesClient ID registered for the gateway.
SECRETS_KEY_OLDNoPrevious key, only during key rotation. Must differ from `SECRETS_KEY`.
OIDC_ADMIN_GROUPNoMembers of this group may sign in and are admins.mcp-admins
OIDC_LOGIN_GROUPNoMembers of this group may sign in.mcp-users
TRUST_PROXY_HOPSNoNumber of trusted proxies in front of the gateway (1-5).1
OIDC_GROUPS_CLAIMNoClaim with the person's groups: a list of names, or an object whose keys are the names.groups
POSTGRES_PASSWORDNoPassword of the bundled Postgres. Required by Compose. Set it before the first start; it is stored in the volume afterwards.
MCP_MAX_BODY_BYTESNoRequest body limit of `/mcp` (tool arguments may carry base64 files). The rest of the HTTP API is limited to 1 MiB. Default is 10 MiB.10485760
OIDC_CLIENT_SECRETYesClient secret registered for the gateway.
SYNC_INTERVAL_HOURSNoCatalog synchronisation period, hours (1-8760).6
SEARCH_MIN_SIMILARITYNoCosine-similarity floor (0-1) for vector search candidates.0.83
CALL_LOG_RETENTION_DAYSNoHow long call log entries are kept.90
UPSTREAM_MAX_RESPONSE_BYTESNoLarger upstream responses are refused (memory protection). Default is 20 MiB.20971520

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

ActivityMaintained
ResponsivenessNo issues