Persistent knowledge graph memory exposed through MCP tools for creating, searching, reading, and updating entities and relations.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
This server is confirmed live — we successfully called its tools/list endpoint directly (see the verified badge above). We haven't yet sandbox-tested the stdio install command below specifically, which is a separate, ongoing check.
💡 Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Memory.
create_entitiesCreate multiple new entities in the knowledge graph
create_relationsCreate multiple new relations between entities in the knowledge graph. Relations should be in active voice
add_observationsAdd new observations to existing entities in the knowledge graph
delete_entitiesDelete multiple entities and their associated relations from the knowledge graph
delete_observationsDelete specific observations from entities in the knowledge graph
delete_relationsDelete multiple relations from the knowledge graph
The Memory MCP server exposes a knowledge graph as persistent memory for MCP-compatible agents. Information is organized around entities, relationships between entities, and observations attached to existing entities. This structure is useful when an agent needs to record named concepts and their connections instead of handling memory as unstructured text.
The server belongs to the 🧠 Knowledge & Memory category and is implemented as one of the MCP repository’s reference servers. It is intended to demonstrate MCP features and SDK usage, so teams should evaluate whether its behavior and security controls fit their own deployment requirements before using it in production.
The Memory MCP server communicates through MCP tools that operate on the knowledge graph. An agent can add entities, connect them with active-voice relations, and attach observations to entities that already exist. It can later search nodes by a query, open specific nodes by name, or read the complete graph.
Graph changes are also exposed as explicit deletion operations. Clients can remove entities together with their associated relations, delete selected observations, or delete multiple relations. This gives an agent separate operations for adding, inspecting, and cleaning up stored knowledge.
The model is deliberately structured: entities represent graph nodes, relations connect nodes, and observations add details to entities. The available material does not specify a separate query language, external data source, authentication mechanism, or storage backend.
The reference package can be started with npx:
To use the Memory MCP server with Claude Desktop, add an MCP server entry using npx as the command and -y @modelcontextprotocol/server-memory as its arguments:
On Windows, the documented configuration wraps npx with cmd /c. No required environment variables or additional configuration values are provided in the reference material.
The Memory MCP server provides these operations:
create_entities: add multiple entities to the graph.create_relations: add multiple relations between entities; relations should use active voice.add_observations: attach new observations to existing entities.delete_entities: remove multiple entities and their associated relations.delete_observations: remove specific observations from entities.delete_relations: remove multiple relations.read_graph: read the entire knowledge graph.search_nodes: find graph nodes based on a query.open_nodes: retrieve specific nodes by name.These tools support both graph construction and targeted retrieval. The Memory MCP server can therefore support workflows that record facts, connect related items, revisit named nodes, and remove outdated graph data.
This implementation is published as a reference server rather than a production-ready solution. The repository advises developers to assess their own security requirements and add safeguards appropriate to their threat model and use case. The supplied material does not document persistence settings, access controls, backup behavior, concurrency guarantees, or a hosted service.
The repository uses Apache-2.0 for new contributions and retains MIT licensing for existing code, but the provided material does not assign one unambiguous license specifically to this server package.
Always refer to the official documentation for the most accurate and up-to-date information.
Factual signals from GitHub, npm, and our automated checks — not a rating.
No reviews yet — be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/memory)<a href="https://allmcps.com/mcp/memory"><img src="https://allmcps.com/api/badge/memory?style=directory" alt="Memory on AllMCPs" /></a>