Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
KB_API_KEYNoAPI key read from the environment when running the server over stdio for local clients such as Claude Desktop (uv run mcp-rag-api stdio).
DATABASE_URLYesPostgreSQL connection URL, e.g. postgresql://user:change-me@host.docker.internal:5432/kb. Must point to PostgreSQL 16 with the pgvector extension. Tables are created on first start.
OCR_PROVIDERNoOCR provider used to read scanned PDFs/pages (Tesseract is bundled in the image).
OPENAI_API_KEYNoAPI key for OpenAI (text-embedding-3-small), required when EMBEDDING_PROVIDER=openai.
VOYAGE_API_KEYNoAPI key for Voyage AI (voyage-3.5), required when EMBEDDING_PROVIDER=voyage.
EMBEDDING_PROVIDERYesEmbedding provider to use: voyage, openai, huggingface or local (all at 1024 dimensions). Determines which provider API key is needed.
HUGGINGFACE_API_KEYNoAPI key for Hugging Face Inference (BAAI/bge-m3), required when EMBEDDING_PROVIDER=huggingface.
OAUTH_REDIRECT_SCHEMESNoComma-separated native app URL schemes allowed as OAuth redirect targets. Default: cursor, vscode, vscode-insiders.
DASH_TOTP_ENCRYPTION_KEYNoOptional key used to store 2FA (TOTP) secrets encrypted in the database.
OAUTH_REDIRECT_ALLOWLISTNoComma-separated hosts allowed as OAuth redirect targets (subdomains included). Default: claude.ai, claude.com, chatgpt.com, openai.com, vscode.dev, mistral.ai. Setting it replaces the default list.

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