Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNodebug, info, warn, error. Logs go to stderr.info
MCP_DOMAINNoThe public domain for the server, used with docker compose.
PUBLIC_URLNoExact public HTTPS origin. OAuth metadata is built from it.http://localhost:8080
TRUST_PROXYNoNumber of reverse proxies in front. Set to 0 if directly exposed.1
MCP_AUTH_MODENooauth, bearer, or none. Use oauth for the web clients.bearer
OLMCP_DATA_DIRNoWhere project mirrors and OAuth state live../data
OVERLEAF_EMAILNoSelf-hosted only: silent re-login when the cookie expires.
OLMCP_AUTO_PUSHNoPublish each accepted edit immediately.true
OLMCP_READ_ONLYNoRefuse every mutating tool.false
OVERLEAF_SESSIONYesThe overleaf_session2 cookie value. Required.
MCP_BEARER_TOKENSNoComma-separated static tokens. Required for bearer.
OLMCP_FRESH_READSNoRe-fetch a file from Overleaf before reading or editing it.true
OVERLEAF_BASE_URLNoPoint at a self-hosted instance.https://www.overleaf.com
OVERLEAF_PASSWORDNoSelf-hosted only: silent re-login when the cookie expires.
MCP_JSON_RESPONSESNoEnable JSON responses. Set to false to stream responses via SSE (required behind Cloudflare to avoid error 524).true
MCP_OAUTH_PASSWORDNoThe passphrase you type on the consent screen. Required for oauth.
OLMCP_MAX_FILE_BYTESNoMaximum file size (bytes) for tool paths. Default is 2 MB.2097152
OVERLEAF_COOKIE_NAMENoCookie name for self-hosted Overleaf / ShareLaTeX (usually sharelatex.sid).overleaf_session2
MCP_OAUTH_REDIRECT_URLSNoExact URLs for additional OAuth callbacks.
OLMCP_ALLOW_ANONYMOUS_WRITENoSet to true to allow anonymous write access when MCP_AUTH_MODE=none.false

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