Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BRAIN_DBNoSQLite database path./data/brain.db
BRAIN_TOKENYesBearer token required to authenticate MCP/REST/UI access. The server refuses to start without it unless BRAIN_ALLOW_NO_AUTH=1.
BRAIN_CONFIGNoPath to the connectors/maintenance YAML configuration.
BRAIN_ENRICHNoEnrichment mode: heuristic, openai, claude-cli, or anthropic.heuristic
BRAIN_BACKUP_DIRNoDirectory for daily consistent backups; 7 backups are kept.
BRAIN_ENRICH_BINNoPath to the claude CLI binary used when BRAIN_ENRICH=claude-cli.claude
BRAIN_PUBLIC_URLNoPublic base URL, e.g. https://brain.example.com. The MCP resource is <url>/mcp.
ANTHROPIC_API_KEYNoAnthropic API key needed when BRAIN_ENRICH=anthropic.
BRAIN_ENRICH_MODELNoModel name for enrichment, used by openai, claude-cli, or anthropic modes.
BRAIN_OAUTH_ISSUERNoOIDC issuer URL (e.g. Pocket ID). Enables OAuth access tokens in addition to the static token; requires BRAIN_PUBLIC_URL, BRAIN_OAUTH_CLIENT_IDS, and BRAIN_OAUTH_SUBJECTS.off
BRAIN_ALLOWED_HOSTSNoComma-separated list of allowed Host/Origin values; enables Host/Origin pinning.off
BRAIN_ENRICH_SCOPESNoComma-separated scopes for which model enrichment is allowed; other items use the heuristic.
BRAIN_OAUTH_SUBJECTSNoComma-separated list of accepted OAuth sub values (your user id).
BRAIN_ENRICH_BASE_URLNoBase URL for an OpenAI-compatible enrichment server; needed when BRAIN_ENRICH=openai.
BRAIN_OAUTH_CLIENT_IDSNoComma-separated list of accepted OAuth aud values (the claude.ai client id).

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