Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BOTGAME_HOSTNoHost to bind the HTTP/WebSocket server to.127.0.0.1
BOTGAME_PORTNoPort to bind.8787
BOTGAME_ROLENoForce role: host or agent.
BOTGAME_DB_PATHNoSQLite database path. Defaults to <configDir>/botgame.db.
BOTGAME_WEB_DIRNoStatic operator UI directory. Defaults to <repo>/web.
BOTGAME_AGENT_IDNoDefault agent ID.
BOTGAME_LOG_LEVELNoLog verbosity.info
BOTGAME_RULES_DIRNoDirectory for rulebooks. Defaults to <configDir>/rules.
BOTGAME_AGENT_NAMENoDefault agent display name.
BOTGAME_CONFIG_DIRNoDirectory for config.json, database, and rules. Defaults to ~/.bot-game-mcp.~/.bot-game-mcp
BOTGAME_ENGINE_URLYesFor agent mode, the WebSocket URL of the host engine (e.g. ws://127.0.0.1:8787/agent).
BOTGAME_MAX_AGENTSNoMaximum number of connected agents.32
BOTGAME_ADMIN_TOKENNoFor host mode, if set, admin endpoints and the operator UI require this token.
BOTGAME_AGENT_TOKENNoShared token that agents must present to connect to the engine.null
BOTGAME_ENGINE_TOKENNoFor agent mode, the shared token to authenticate to the host engine.
BOTGAME_PUBLIC_BASE_URLNoPublic URL used for generated links.null
BOTGAME_HEARTBEAT_SECONDSNoAgent heartbeat interval.30
BOTGAME_ALLOW_GUEST_AGENTSNoWhether agents may connect without a token.true
BOTGAME_AGENT_TIMEOUT_SECONDSNoDisconnect agents that miss heartbeats for this long.70

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