Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AUTH_MODENoSign-in mode: `local` (default, built-in accounts with passwords), `cloudflare` (Cloudflare Access), or `dev` (static bearer tokens from DEV_TOKENS, local development only).local
DEV_TOKENSNoComma-separated static bearer tokens for local development, e.g. `dev-token=you@example.com`. Required when AUTH_MODE=dev.
EMBEDDINGSNoSet to `off` to fall back to keyword-only search, e.g. for machines without internet access. Embeddings otherwise run in-process on CPU using bge-small-en-v1.5 (int8, ~35 MB, downloaded once).
ADMIN_EMAILSNoComma-separated emails of admins. Approving is limited to scope owners and admins.
DATABASE_URLNoPostgres connection string, e.g. postgres://cairn:cairn@localhost:5432/cairn. Used when running the server without Docker (the native installer writes it to /etc/cairn/cairn.env).
CF_ACCESS_AUDNoAUD tag of the self-hosted Cloudflare Access application. Required when AUTH_MODE=cloudflare.
COOKIE_SECURENoWhether the session cookie is marked Secure. The cookie is Secure whenever the request came in over https.
POSTGRES_PASSWORDNoPassword for the bundled Postgres container. Set in .env before running `docker compose up -d --build`.
SESSION_TTL_HOURSNoSession length in hours for browser sessions.
DUPLICATE_SIMILARITYNoSimilarity threshold for duplicate detection on writes.
CF_ACCESS_TEAM_DOMAINNoCloudflare Access team domain, e.g. https://<team>.cloudflareaccess.com. Required when AUTH_MODE=cloudflare.
SEARCH_MIN_SIMILARITYNoMinimum embedding similarity for hybrid search results.
CLOUDFLARE_TUNNEL_TOKENNoCloudflare Tunnel token, set in .env to route a hostname to http://server:8080.

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

Maintenance

ActivityMaintained
ResponsivenessNo issues