Claude (MCP)
Run a local MCP server and register it with Claude Desktop's claude_desktop_config.json. The process must be bound to a tenant (GRAFOMEM_MCP_TENANT), otherwise it refuses to start:
{
"mcpServers": {
"grafomem": {
"command": "grafomem",
"args": ["serve", "--mcp", "stdio", "--db", "/path/to/grafomem.db"],
"env": { "GRAFOMEM_MCP_TENANT": "me" }
}
}
}
Claude can then call write_memory, retrieve_memories, list_memories, delete_memory, verify_erasure, run_conformance and get_capabilities. All calls act as the bound tenant. See MCP integration for what each tool returns and when delete_memory issues a certificate.
Requires pip install "grafomem[server,store,backends]" — the server, the SQLite vector store and the default BGE embedder (add -e stub to the args to skip the embedding model). The tenant binding needs 0.5.0 or later.