KuzuMem MCP Server

MCP tool for distributed graph memory bank storage in KuzuDB for coding agents

Local serverstdioTypeScript

What is the KuzuMem MCP MCP server?

MCP tool for distributed graph memory bank storage in KuzuDB for coding agents. That is what the kuzumem mcp mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.

The short version

A TypeScript implementation of a distributed memory bank as an MCP (Model Context Protocol) tool, storing memories in a KùzuDB graph database with repository and branch filtering capabilities. Branch isolation is achieved by using a graph-unique identifier for entities, enabling a centralized memory bank while allowing repository-specific and branch-specific views. Fully compliant with MCP specification for seamless integration with IDEs and AI agents.

  • 🧠 AI-Powered Memory Optimization — - Advanced reasoning models (OpenAI o3/o4-mini, Claude 4) with MCP sampling for intelligent memory management
  • 🛡️ Production-Ready Safety — - Automatic snapshot system with guaranteed rollback capabilities
  • 🎯 Context-Aware Intelligence — - MCP sampling analyzes actual memory state for adaptive optimization strategies
  • 🔧 Unified Tool Architecture — - 12 consolidated tools covering all memory bank operations
  • 🧵 Thread-Safe Singleton Pattern — - Ensures each resource is instantiated only once, with proper thread safety
  • 📊 Distributed Graph Structure — - Follows the advanced memory bank specification using a KùzuDB graph

Getting it running

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client.

The tools it exposes

The server publishes 1 tool. What each one is for:

  • Features — The Features tool exposed by this server

What it needs from you

Configuration is passed through the environment: PORT, HOST, DB_FILENAME, HTTP_STREAM_PORT, OPENAI_API_KEY, ANTHROPIC_API_KEY, OPENAI_BASE_URL, ANTHROPIC_BASE_URL. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

How it compares

This sits in the knowledge and memory group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. KuzuMem MCP's toolset — Features — is a fair guide to whether it matches your workflow. It is maintained by Jakedismo; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Available tools

ToolWhat it does
FeaturesThe Features tool exposed by this server.

Configuration

VariableDescriptionRequired
PORTConfiguration value read at startup.Optional
HOSTEndpoint or connection string the server talks to.Optional
DB_FILENAMEConfiguration value read at startup.Optional
HTTP_STREAM_PORTConfiguration value read at startup.Optional
OPENAI_API_KEYCredential the server authenticates with.Yes
ANTHROPIC_API_KEYCredential the server authenticates with.Yes
OPENAI_BASE_URLEndpoint or connection string the server talks to.Yes
ANTHROPIC_BASE_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • Use KuzuMem MCP to Features.

Frequently asked questions

It connects KuzuMem MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 1 tool (Features) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with KuzuMem MCP directly.