Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoListen host. Docker sets HOST to 0.0.0.0.127.0.0.1
PORTNoListen port. Docker sets HOST to 0.0.0.0.8787
CHESS_DBNoSQLite database file path (`:memory:` for ephemeral).<dir>/chess.db
LOG_LEVELNopino log level.info
CHESS_API_KEYNoRequires a bearer key to create games, claim seats, delete games and use /mcp.
CHESS_WEB_DIRNoServe the web UI from another directory.built-in
CHESS_DATA_DIRNoSQLite data directory (`:memory:` for ephemeral)../data
CHESS_MCP_HOMENoHome directory variable read by CLI clients.
CHESS_PUBLIC_URLNoBase URL used in links and agent instructions.http://localhost:PORT
CHESS_RATE_LIMITNoWrite requests per minute per IP.300
CHESS_SEAT_TOKENNoSeat token for CLI clients; can also be passed with --side.
CHESS_SERVER_URLNoThe stdio MCP server connects to this URL; if nothing is running there, it starts an embedded chess server itself.http://localhost:8787
ANTHROPIC_API_KEYNoEnables Claude API players.
CHESS_ANALYSIS_MSNoEngine time per position for the eval bar; `0` disables it.300
CHESS_TRUST_PROXYNoTrust `X-Forwarded-*` headers.false
CHESS_MOVE_DELAY_MSNoPause before engine and Claude moves, so spectators can follow.400
ANTHROPIC_AUTH_TOKENNoAlternative to ANTHROPIC_API_KEY for Claude API player credentials.
CHESS_ENGINE_THREADSNoEngine worker threads.CPUs - 1 (max 4)
CHESS_LLM_MAX_ATTEMPTSNoIllegal answers a Claude player may give before it forfeits.3
CHESS_MAX_ACTIVE_GAMESNoCapacity limit.200
CHESS_IDLE_TIMEOUT_HOURSNoAbort games with no activity; `0` disables.24

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