InvariantDB ships a Model Context Protocol server. One config line gives your agent durable memory it can trust, prove, and replay: bitemporal Cypher (what was true, when), provenance walks (why did the agent think that), 14 tools total. JSON-RPC 2.0 over HTTPS; auth via Authorization: Bearer gq_....
https://invariantdb.com/e/mcp
Pair with an API key from /apikeys. HTTP transport is the recommended path — see the self-hosted section below for on-prem deployments.
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"invariantdb": {
"type": "http",
"url": "https://invariantdb.com/e/mcp",
"headers": {
"Authorization": "Bearer gq_paste_your_api_key_here"
}
}
}
}
Restart Claude Desktop. The 14 tools appear under the 🔌 icon.
The same shape works in any MCP-compatible client. The endpoint is https://invariantdb.com/e/mcp; auth is Authorization: Bearer gq_…. Use your client's HTTP MCP transport config.
$name placeholders.cosine | euclidean | dot.kind is operator-defined: observation, thought, toolCall, decision, etc. Yields the event id and timestamp.depth limits the walk.db.verifyAclChain for tamper-evidence.CREATE / SET / DELETE unless you flip the explicit allow-mutate flag.db.verifyAclChain at any time.If you run your own InvariantDB cluster, the MCP endpoint is at POST /mcp (default graph) or POST /graphs/{name}/mcp (named graph) on your InvariantDB endpoint. Auth is the same API-key gate. See the SDK page for client invocation examples.
By design, the MCP surface is a read-and-replay surface. Operations that change schema, manage tenancy, or control infrastructure (creating graphs, dropping data, issuing API keys, maintenance operations) stay on the HTTP surface where they belong — behind admin-role gates and not adjacent to whatever the agent decided to do this turn.
If you want to give an agent broader access, mint a separate API key with explicit role + scope and pass it through — don't widen the MCP server's default surface.
Quickstart → · AI memory → · All features → · Get an API key →