Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoHost for the HTTP server.
PORTNoPort for the HTTP server.
TRUST_PROXYNoNumber of proxies in front of the app so rate limiting sees the real client IP.
CORS_ORIGINSNoOptional allow list for CORS.
LICHESS_TOKENNoPersonal API token from lichess.org/account/oauth/token, no scopes needed. Only opening_stats requires it. Leave it unset otherwise: Lichess rejects every request that carries a bad token.
MAX_BODY_BYTESNoMaximum request body size in bytes (64 KB default), checked before parsing.65536
LICHESS_TIMEOUT_MSNoPer-request timeout in milliseconds (default 15000 for stdio, 12000 for HTTP).15000
REQUEST_TIMEOUT_MSNoWall-clock limit per HTTP request.30000
DAILY_REQUEST_LIMITNoGlobal daily request cap for the HTTP server.5000
RATE_LIMIT_PER_MINUTENoPer-IP rate limit for the HTTP server (token bucket).30

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