kg-memory-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| KG_DB_SSL | No | Set to `require` to enable SSL for remote database connections. | |
| KG_DB_HOST | No | PostgreSQL host. | localhost |
| KG_DB_NAME | No | PostgreSQL database name. | knowledge_base |
| KG_DB_PORT | No | PostgreSQL port. | 5432 |
| KG_DB_USER | No | PostgreSQL user. | postgres |
| ATTACHMENT_DIR | No | Directory for storing image attachments. | ~/.local/share/kg-memory/attachments |
| GEMINI_API_KEY | No | Enables automatic knowledge extraction in hooks, which sends conversation summaries to Google's Gemini API. | |
| KG_DB_PASSWORD | No | PostgreSQL password, if required. | |
| OLLAMA_BASE_URL | No | Ollama API base URL. | http://localhost:11434 |
| KG_CHAT_SANITIZE | No | Set to `true` to filter messages containing secrets before archival. | |
| OLLAMA_EMBED_MODEL | No | Ollama 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
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityInactive
ResponsivenessNo recent community issues