Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
KG_DB_SSLNoSet to `require` to enable SSL for remote database connections.
KG_DB_HOSTNoPostgreSQL host.localhost
KG_DB_NAMENoPostgreSQL database name.knowledge_base
KG_DB_PORTNoPostgreSQL port.5432
KG_DB_USERNoPostgreSQL user.postgres
ATTACHMENT_DIRNoDirectory for storing image attachments.~/.local/share/kg-memory/attachments
GEMINI_API_KEYNoEnables automatic knowledge extraction in hooks, which sends conversation summaries to Google's Gemini API.
KG_DB_PASSWORDNoPostgreSQL password, if required.
OLLAMA_BASE_URLNoOllama API base URL.http://localhost:11434
KG_CHAT_SANITIZENoSet to `true` to filter messages containing secrets before archival.
OLLAMA_EMBED_MODELNoOllama embedding model name.bge-m3

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