1.2 KiB
1.2 KiB
metal-kompanion-mcp
MCP backend and memory provider for Kompanion. Uses qtmcp (Qt-based MCP) to expose tools under namespace kom.memory.v1.
Build
cmake -S . -B build
cmake --build build -j
Layout
src/main.cpp– QtMcp-backed entry point (stdio/SSE backends)src/mcp/ToolSchemas.json– JSON Schemas for MCP toolssrc/memory/– interfaces for embedder and vector storedocs/– design notes
Next
- Add richer tool metadata + prompt support on top of the qtmcp server.
- Implement adapters: embedder(s) + vector store(s).
- Flesh out Postgres DAL paths (prepared statements + pgvector wiring).
Memory Tools
kom.memory.v1.save_contextpersists conversational or workspace state in a namespace.kom.memory.v1.recall_contextretrieves stored context by key, tags, or time window.- See
docs/using-memory-tools.mdfor integration notes (Codey, Claude Code) and request samples.
Integrations
- Kompanion-Konsole — demo plugin for KDE Konsole that lets agents hand terminals over to the Kompanion runtime. See
integrations/konsole/README.md. - JavaScript helpers — Node.js utilities that call the MCP memory tools from scripts or web extensions. See
integrations/js/.