Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoInternal container port.3000
DB_PATHNoSQLite database file path (WAL)../data/todo.db
API_TOKENYesBearer token protecting /api and /mcp. Required, at least 16 characters.
HOST_PORTNoPort exposed on the host by docker compose.3080
GBRAIN_URLNogbrain MCP endpoint. Set together with one of the gbrain credentials to enable sync.
PUBLIC_URLNoPublic origin exposed by the tunnel. Setting with OWNER_PASSWORD enables OAuth.
GBRAIN_TOKENNoStatic bearer token for gbrain.
TUNNEL_TOKENNocloudflared token for the tunnel profile.
WEB_PASSWORDNoWeb UI login password only (at least 4 characters, PIN allowed). Locks after 5 failures/15 min, 30 total/15 min.
OAUTH_CLIENTSNoMultiple clients: id|redirect1,redirect2[|secret];... Setting this replaces OAUTH_CLIENT_ID and OAUTH_REDIRECT_URIS.
OWNER_PASSWORDNoPassword for the /authorize approval page, at least 12 characters. Used for web login if WEB_PASSWORD is absent.
OAUTH_CLIENT_IDNoPre-registered public OAuth client ID.chatgpt
GBRAIN_CLIENT_IDNoOAuth client_credentials client ID for gbrain (recommended). Tokens are automatically issued and cached.
RATE_LIMIT_PER_MINNoPer-client (IP or token) requests per minute.60
OAUTH_REDIRECT_URISNoAllowed redirect URIs, comma-separated. https://chatgpt.com/connector/oauth/<id> is always allowed.ChatGPT defaults
GBRAIN_CLIENT_SECRETNoOAuth client_credentials client secret for gbrain.

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