OfficialReference serverslocal stdio

Memory MCP Server

Gives the model persistent memory as a local knowledge graph of entities, relations and observations.

Install

Claude Desktop

{"mcpServers":{"memory":{"command":"npx","args":["-y","@modelcontextprotocol/server-memory"]}}}

Copilot (VS Code)

{"servers":{"memory":{"command":"npx","args":["-y","@modelcontextprotocol/server-memory"]}}}

Commands and configuration as given in the server’s documentation (Documentation). Replace placeholders such as API keys with your own values.

Memory MCP Server is a reference server that keeps a knowledge graph in a local file across chats.

The Memory MCP server gives the model persistent memory as a local knowledge graph of entities, relations and observations, so facts carry over between chats. It is one of the Model Context Protocol reference servers, MIT-licensed, and runs locally over stdio through npx with no authentication. The storage path is set with an environment variable, and the configuration below covers Claude Desktop and Copilot in VS Code.

Tools create and delete entities and relations, add and remove observations, read the whole graph, search nodes and open specific nodes. The README suggests a system prompt for using it.

Questions

What does the Memory MCP server store?
It stores entities, relations and observations as a knowledge graph in a local file.
Where does the Memory MCP server keep its data?
In a local file whose storage path is set with an environment variable.
What tools does the Memory MCP server provide?
Tools create and delete entities and relations, add and remove observations, read the whole graph, search nodes and open specific nodes.
Does the Memory MCP server need authentication?
No. It runs locally over stdio without authentication.

Sources

Checked October 2, 2026.

Reference servers

View all
Aftergradient

What are you looking for?

Search commands, errors, tools