MemoryMesh MCP Server

An MCP server that uses a knowledge graph to store and recall structured memory for AI models

Local serverstdioTypeScript

What is the MemoryMesh MCP server?

Connect MemoryMesh to Claude, Cursor or any other MCP client and it stops being a tab you switch to. An MCP server that uses a knowledge graph to store and recall structured memory for AI models. The memorymesh mcp server is what makes that connection.

What the server does

MemoryMesh is a knowledge graph server designed for AI models, with a focus on text-based RPGs and interactive storytelling. It helps AI maintain consistent, structured memory across conversations, enabling richer and more dynamic interactions.

MemoryMesh is a local knowledge graph server that empowers you to build and manage structured information for AI models. While particularly well-suited for text-based RPGs, its adaptable design makes it useful for various applications, including social network simulations, organizational planning, or any scenario involving structured data.

  • Dynamic Schema-Based Tools: — Define your data structure with schemas, and MemoryMesh automatically generates tools for adding, updating, and deleting data
  • Intuitive Schema Design: — Create schemas that guide the AI in generating and connecting nodes, using required fields, enumerated types, and relationship definitions
  • Metadata for AI Guidance: — Use metadata to provide context and structure, helping the AI understand the meaning and relationships within your data
  • Relationship Handling: — Define relationships within your schemas to encourage the AI to create connections (edges) between related data points (nodes)
  • Informative Feedback: — Provides error feedback to the AI, enabling it to learn from mistakes and improve its interactions with the knowledge graph
  • Event Support: — An event system tracks operations, providing insights into how the knowledge graph is being modified

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • Nodes — Nodes represent entities or concepts within the knowledge graph. Each node has:
  • Edges — The Edges tool exposed by this server
  • Schemas — Schemas are the heart of MemoryMesh. They define the structure of your data and drive the automatic generation of tools
  • Example — 1. A simple example with custom instructions. 2. An example for the sake of example, with visualization _(NOT part
  • Prerequisites — The Prerequisites tool exposed by this server
  • Updating — Before updates, make sure to back up your dist/data directory to avoid losing your memory data
  • Troubleshooting — The Troubleshooting tool exposed by this server
  • Variables — You can override default settings using in /config/config.ts * MEMORY_FILE: Specifies the path to the JSON file used for storing the knowledge graph

Credentials and setup notes

  • Node.js: Version 18 or higher. You can download it from nodejs.org. * npm: Usually included with Node.js. * Claude for Desktop: Make sure you have the latest version installed from claude.ai/download.

Installation

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

Where it fits

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. MemoryMesh's toolset — Nodes, Edges, Schemas and 5 more — is a fair guide to whether it matches your workflow. It is maintained by CheMiguel23; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against MemoryMesh's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Worth knowing first

  • 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.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
NodesNodes represent entities or concepts within the knowledge graph. Each node has:
EdgesThe Edges tool exposed by this server.
SchemasSchemas are the heart of MemoryMesh. They define the structure of your data and drive the automatic generation of tools.
Example1. A [simple example](https://pastebin.com/0HvKg5FZ) with custom instructions. 2. An example for the sake of example, with visualization _(NOT part of the functionality)_
PrerequisitesThe Prerequisites tool exposed by this server.
UpdatingBefore updates, make sure to back up your dist/data directory to avoid losing your memory data.
TroubleshootingThe Troubleshooting tool exposed by this server.
VariablesYou can override default settings using in /config/config.ts * MEMORY_FILE: Specifies the path to the JSON file used for storing the knowledge graph data. (Default: dist/data/memory.json) * SCHEMAS_DIR: Path to schema fi

Configuration

  • Node.js: Version 18 or higher. You can download it from nodejs.org. * npm: Usually included with Node.js. * Claude for Desktop: Make sure you have the latest version installed from claude.ai/download.

Example prompts to try

  • Use MemoryMesh to Nodes.
  • Use MemoryMesh to Edges.
  • Use MemoryMesh to Schemas.

Frequently asked questions

It connects MemoryMesh to MCP-compatible AI assistants such as Claude and Cursor, exposing 8 tools (Nodes, Edges, Schemas, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with MemoryMesh directly.