Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoPresence switches to HTTP-connector mode
BRAINLLM_TZNoIANA timezone (e.g. `Africa/Johannesburg`) so dates stamp in *your* day on hosted deploys; unset = host clock
BRAINLLM_MODENo`core` (default) or `full` (adds the raw ETAPI surface)core
MCP_AUTH_TOKENNoStatic bearer token accepted on `/mcp` — what Claude Code and `mcp-remote` send
BRAINLLM_CONFIGNoAbsolute file path for `brainllm.json` on persistent-volume deploys
TRILIUM_BASE_URLYesURL of the TriliumNext instance (local, or an HTTPS reverse-proxy/tunnel URL)
TRILIUM_PASSWORDNoAlternative to the token: BrainLLM mints one on first start and caches it beside brainllm.json, reusing it across restarts. Also used by `bun run init`
BRAINLLM_PUBLIC_URLNoOverride the derived public origin when a proxy rewrites `Host`. Must match the URL you enter in the client exactly
TRILIUM_ETAPI_TOKENNoETAPI bearer token. Required unless TRILIUM_PASSWORD is set
BRAINLLM_OWNER_PASSWORDNoEnables the OAuth 2.1 / CIMD endpoints, required for claude.ai. The password you type on the consent screen

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