Memory MCP Server
A local knowledge graph for persistent entities, relations, and observations across sessions.
Overview
The reference Memory server stores a knowledge graph in a local file and exposes tools to create entities, relations, and observations. It is useful for durable project context that should survive a single chat session. The graph is only as trustworthy as what an agent writes into it, so treat it as a working notebook rather than an authoritative record.
Capabilities
- Create entities
- Add observations
- Create relations
- Search the graph
- Persist context
Connection profile
- Transports
- stdio
- Authentication
- None (local file access)
- License
- MIT
- Vendor
- Model Context Protocol project
- Repository
- github.com/modelcontextprotocol/servers
Client format support is reviewed against official client documentation. It is not a claim that this specific server was tested with every client.
Configuration starting point
A documented preset is available for this server. It contains placeholders, not real credentials. Generate a client-correct file or review the raw values below.
npx -y @modelcontextprotocol/server-memory
Security notes
- The stored graph may contain personal or project-sensitive information; choose the file location deliberately and back it up.
- Any client connected to the server can read the whole graph. Do not store credentials in memory nodes.
- Review and prune stale or incorrect entities; persistence does not imply correctness.
The catalog records source evidence, not a security audit. Review the server's permissions, recent releases, and the data it can access before connecting it to a real account.
Used in these workflows
Search and classify open issues, gather repository context, and produce a triage plan without letting the agent silently mutate the tracker.
WorkflowRun a source-checked SEO content updateCombine search, crawling, and a scoped content directory to research a topic, draft an update, and verify claims against sources.
WorkflowInvestigate a database question with read-only SQLUse a restricted PostgreSQL connection and a local memory notebook to answer a data question without touching production writes.
WorkflowProduce a cited research brief from web and documentsSearch broadly, fetch primary sources, store notes, and write a brief where every material claim is traceable to a URL.
WorkflowRun an independent developer's daily planning loopCombine Linear issues, Notion notes, and timezone-aware time tools into a short daily plan with explicit next actions.
WorkflowBuild a source-grounded semantic memoryFetch primary sources, store chunks in Qdrant with metadata, and retrieve them with citations instead of vague similarity.
Sources & evidence
- github.com/modelcontextprotocol/servers/tree/main/src/memoryRepository · checked Oct 23, 2026 · documented
The reference servers repository documents the memory server's knowledge graph model, storage file, and tools.