Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoServer port. Default: `3000`.3000
LOG_LEVELNoLog level: `debug`, `info`, `warn`, or `error`.
REDIS_URLNoRedis URL for shared rate limiting across instances.
MCP_TOOLSETNoTool surface to advertise: `normal` (default), `full`, or `legacy`.normal
DATABASE_URLYesNeon (or any PostgreSQL) pooled connection string.
OLLAMA_MODELNoOllama embedding model. Default: `nomic-embed-text`.nomic-embed-text
CHUNKING_MODENoChunking mode: `fixed` (default) or `semantic` (embedding-based splits).fixed
ENABLE_MEMORYNoEnable memory tools. Default: `true`. Requires `setup-db-memory.sql`.true
INSIGHT_MODELNoModel for insight synthesis. Default: `claude-sonnet-5`.claude-sonnet-5
PG_REPORT_DIRNopg_analyze report directory. Default: `./reports/pg-analysis`../reports/pg-analysis
OPENAI_API_KEYNoFor text-embedding-3-small (1536d). Required if using OpenAI embeddings.
ALLOWED_ORIGINSNoComma-separated CORS origins.
ENABLE_INSIGHTSNoEnable proactive insight tools. Default: `true`.true
OLLAMA_BASE_URLNoOllama base URL. Default: `http://localhost:11434`.http://localhost:11434
API_BEARER_TOKENNoProduction-only bearer token. Min 32 chars (`openssl rand -hex 32`).
EXTRACTION_MODELNoModel for memory extraction. Default: `claude-haiku-4-5`.claude-haiku-4-5
GOOGLE_CLIENT_IDNoOAuth 2.0 client ID. The four OAuth vars are required together when OAuth is configured.
OAUTH_JWT_SECRETNoMin 32-char secret for JWT signing.
OAUTH_SERVER_URLNoPublic server URL for OAuth redirect.
ANTHROPIC_API_KEYNoRequired for `extract_memories` tool when LLM-based memory extraction is enabled.
COMPACT_RESPONSESNoToken-efficient responses. Default: `true`.true
GOOGLE_AI_API_KEYNoFor gemini-embedding-2 (1536d). Required if using Google AI embeddings.
EMBEDDING_PROVIDERNoEmbedding provider: `openai` (default), `ollama`, or `google`.openai
EXPOSE_ADMIN_TOOLSNoSet to `true` to also expose read-only diagnostics on the normal toolset.
ENABLE_CONVERSATIONSNoEnable conversation memory tools. Default: `true`. Requires `setup-db-conversation.sql`.true
GOOGLE_CLIENT_SECRETNoOAuth 2.0 client secret.
OAUTH_ALLOWED_EMAILSNoComma-separated email allowlist (optional).
DATABASE_URL_UNPOOLEDNoDirect connection for schema migrations (optional).
GOOGLE_EMBEDDING_MODELNoGoogle embedding model. Default: `gemini-embedding-2`.gemini-embedding-2
ENABLE_MEMORY_EXTRACTIONNoEnable LLM-based memory extraction. Default: `false`.false
SEMANTIC_SIMILARITY_THRESHOLDNoSemantic split sensitivity between 0 and 1. Default: `0.5`.0.5

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