MCP Server

Memory MCP Server
Official reference implementation providing persistent memory through a local knowledge graph with entities, relations, and observations stored in JSONL format
What is Memory MCP Server?
The Memory MCP Server is a reference implementation that enables AI assistants to maintain persistent knowledge about users across conversation sessions through a local knowledge graph. The server models information as entities (nodes with names, types, and observations), relations (directed connections in active voice), and observations (atomic facts attached to entities). All data is persisted to a JSONL file (default: memory.jsonl in the server directory, configurable via MEMORY_FILE_PATH environment variable) with each mutation appending an operation line for durability. The server exposes 10 tools including create_entities, create_relations, add_observations for graph construction, delete_entities, delete_observations, delete_relations for cleanup, and read_graph, search_nodes, open_nodes for retrieval. A knowledge-graph MCP Resource at memory://knowledge-graph provides the full graph as JSON with automatic notifications/resources/updated broadcasts when mutation tools modify the graph. This enables clients subscribing to the resource to maintain synchronized views of the knowledge state.
