Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DB_FILE_PATHNoPath to the project-local SQLite database. A relative path resolves against the server's working directory (since 6.3.0; before that it resolved against the package install directory, which under npx is the npm cache).rag-memory.db (server dir)
EMBEDDING_MODELNoHuggingFace model ID for embeddings.Xenova/bge-m3
RAG_MEMORY_MMAP_SIZENoSQLite mmap_size in bytes. Off by default since 6.3.0; set e.g. 268435456 to restore the previous behaviour. The applied value is printed in the boot banner (`| mmap <n>`).0
RAG_MEMORY_EMBEDDINGSNoBoot mode: `lazy` (connect instantly; the model enters memory when something needs it and leaves after RAG_MEMORY_MODEL_IDLE_MS), `eager` (wait for model + reconciliation and keep it resident, pre-3.6 behavior), `off` (never load the model — FTS5-only, zero download).lazy
RAG_MEMORY_MODEL_IDLE_MSNo`lazy` only: unload the embedding model after this many ms without use. `0` keeps it resident.180000
RAG_MEMORY_MODEL_CACHE_DIRNoVersion-independent model cache location.OS user cache
RAG_MEMORY_SEARCH_SUMMARIESNoEnables the opt-in per-result summary path with `on`; `off` keeps working.off
RAG_MEMORY_TRUST_LEGACY_VECTORSNoSet `1` to grandfather pre-existing vectors under a custom EMBEDDING_MODEL (default model configs grandfather automatically).unset

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