The MCP Memory Server is an official MCP reference server that provides persistent memory capabilities, commonly described as a knowledge graph for AI workflows.
- Repository:
modelcontextprotocol/servers (official reference servers)
- Common package:
@modelcontextprotocol/server-memory
- Status: Official reference server
- Store entities and relationships
- Retrieve previously stored memory/context
- Support long-running agent workflows with persistent state
- Agent memory across sessions
- Persistent project context for coding assistants
- Relationship-driven knowledge storage
npx -y @modelcontextprotocol/server-memory
- Review what memory data is persisted and retained
- Separate test and production memory stores
- Avoid storing secrets in long-lived memory contexts