Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ENGRAM_DBNoPath of the SQLite file (defaults to the data dir).
ENGRAM_AUTHNoAuthentication method. Fits the provider by default (api-key, oauth, subscription, none).
ENGRAM_MODELNoModel id, required for openai and anthropic providers.
ENGRAM_RERANKNooff, or model to let the chat model reorder the top 20 search results.off
ENGRAM_DISABLENoSet to 1 to turn engram off; hooks return at once.
ENGRAM_PROJECTNoPin the project (defaults to the git root of the cwd).
OPENAI_API_KEYNoAPI key for OpenAI compatible endpoints (used by default for the openai provider and embeddings).
ENGRAM_COMPRESSNoCompression mode: background (detached worker), inline (inside the hook), or off (engram work later).background
ENGRAM_DATA_DIRNoOverride the per user data dir.
ENGRAM_PROVIDERNoChat provider for notes and summaries.none
ENGRAM_EMBED_DIMNoEmbedding dimension.
ANTHROPIC_API_KEYNoAPI key for the Anthropic Messages API (used by default for the anthropic provider).
ENGRAM_CONFIG_DIRNoOverride the per user config dir.
ENGRAM_EMBED_AUTHNoEmbedding auth method.api-key
ENGRAM_SKIP_TOOLSNoTools that are never recorded, comma separated.
ENGRAM_API_KEY_ENVNoName of the env var that holds the key (defaults to OPENAI_API_KEY or ANTHROPIC_API_KEY).
ENGRAM_EMBED_MODELNoEmbedding model id.
ENGRAM_OAUTH_GRANTNoOAuth grant type.
ENGRAM_OAUTH_SCOPENoOAuth scope.
ENGRAM_INDEX_BUDGETNoHard token budget of the session start index.250
ENGRAM_MAX_AGE_DAYSNoRetention in days; 0 keeps everything.90
ENGRAM_EMBED_BASE_URLNoEmbedding endpoint base URL.
ENGRAM_FAKE_RESPONSESNoTests only; scripted answers for the fake provider.
ENGRAM_OAUTH_AUTH_URLNoOAuth authorization URL.
ENGRAM_EMBED_MIN_SCORENoCosine below this is not a vector match.0.2
ENGRAM_HOOK_TIMEOUT_MSNoHard deadline of one hook in milliseconds.4000
ENGRAM_OAUTH_CLIENT_IDNoOAuth client ID.
ENGRAM_OAUTH_TOKEN_URLNoOAuth token URL.
ENGRAM_OPENAI_BASE_URLNoBase URL for any OpenAI compatible chat completions endpoint.
ENGRAM_MCP_ALL_PROJECTSNoSet to 1 to let MCP clients search every project.
ENGRAM_OAUTH_DEVICE_URLNoOAuth device authorization URL.
ENGRAM_EMBED_API_KEY_ENVNoName of the env var that holds the embedding API key.OPENAI_API_KEY
ENGRAM_COMPRESS_MIN_CHARSNoSmaller events keep their heuristic note.400
ENGRAM_OAUTH_CLIENT_SECRETNoOAuth client secret.
ENGRAM_RECENCY_HALF_LIFE_DAYSNoPrefer newer notes in search.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