Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoHTTP bind host when TRANSPORT=http. Alternative to MCP_HTTP_HOST.127.0.0.1
PORTNoHTTP bind port and local OAuth base fallback.3000
BRAIN_DIRNoAbsolute path to your Brain markdown files directory.~/Projects/ai-brain-jem/brain
TRANSPORTNoTransport mode: stdio by default, or http for hosted/HTTP mode.stdio
MCP_HTTP_HOSTNoHTTP bind host when TRANSPORT=http. Alternative to HOST.127.0.0.1
BRAIN_AUTO_PUSHNoFilesystem/git mode only. When auto-sync is enabled, push commits to origin unless set false. Do not enable for Supabase-backed hosted runtime.true
BRAIN_AUTO_SYNCNoFilesystem/git mode only. When true, successful mutating Brain tools automatically commit changes. Do not enable for Supabase-backed hosted runtime.false
BRAIN_SOURCES_DIRNoAbsolute path to your source archive directory.sibling sources/ next to BRAIN_DIR
MCP_ALLOWED_ORIGINSNoAdditional exact HTTP(S) origins allowed on /mcp, comma-separated. No wildcards, paths, credentials or trailing slash. Missing Origin remains allowed with bearer authentication; malformed/untrusted/duplicate Origin is rejected with 403.
BRAIN_DATE_TIME_ZONENoIANA timezone used for Brain log/source dates.TZ or UTC
BRAIN_PLATFORM_CONFIGNoRegistry JSON path for hosted/multi-Brain mode.~/.config/brain-platform/registry.json
BRAIN_SLACK_BOT_TOKENNoEnables reason-aware authentication alerts to Slack in hosted deployments; no-op without it.
GITHUB_ALLOWED_EMAILSNoComma-separated email allowlist for fallback owner access.
GITHUB_ALLOWED_LOGINSNoComma-separated GitHub login allowlist for fallback owner access.
MCP_OAUTH_PUBLIC_BASENoPublic HTTPS base URL for hosted OAuth and MCP metadata.http://127.0.0.1:$PORT
GITHUB_OAUTH_CLIENT_IDNoGitHub OAuth app client ID. Required in HTTP mode.
BRAIN_OAUTH_STATE_STORENoOAuth client/session state store: file or postgres. Hosted should use postgres so connector enrollment survives Fly machine replacement.file
MCP_OAUTH_SIGNING_SECRETNoHS256 access-token signing secret. Required in HTTP mode.
BRAIN_LINT_MODE_OVERRIDESNoValidated per-Brain JSON mode map, e.g. {"ai-brain-jem":"graph_shadow"}. Malformed JSON, unknown Brains, and unknown modes fail startup.
BRAIN_PLATFORM_STATE_ROOTNoFile-backed OAuth state root for local/dev fallback.~/.config/brain-platform/state
GITHUB_OAUTH_CLIENT_SECRETNoGitHub OAuth app client secret. Required in HTTP mode.
MCP_OAUTH_DOCUMENTATION_URLNoDeployment documentation URL advertised by OAuth discovery metadata. Required in HTTP mode.
MCP_OAUTH_REFRESH_REUSE_GRACE_SECNoOptional short refresh-token reuse window for cloud-synced client refresh races. Hosted uses 15; local/dev defaults to strict one-time rotation.0

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