MCP Memory — MCP protocol
Server that stores and retrieves facts and relationships as a knowledge graph
Basic Information
| Program name | MCP Memory (MCP memory) |
|---|---|
| One-line introduction | Server that stores and retrieves facts and relationships as a knowledge graph |
| Development / maintenance | Model Context Protocol project |
| Official website | https://github.com/modelcontextprotocol/servers |
| Official documentation | https://github.com/modelcontextprotocol/servers |
| Installation / deployment | npx -y @modelcontextprotocol/server-memory |
| Operating environment | MCP host app (Claude Desktop, Cursor, opencode, etc.) |
| License | MIT License |
| Stable version | npm modelcontextprotocol/server-memory (confirmed 2026-10) — confirmed on 2026-10-18 |
| GitHub repository | https://github.com/modelcontextprotocol/servers |
| Category | MCP protocol (tags: MCP, reference server, tool, agent) |
What is this program?
This server is an implementation included in the official MCP reference server collection that stores and retrieves facts and relationships as a knowledge graph. It can be run with a single npx command, and once registered in an MCP host app's configuration, it can be used immediately by agents.
Primary use: long-term memory and knowledge management for agents
What problems does it solve?
- ('When working with memory', 'when the agent needs to use server functionality that stores and retrieves facts and relationships as a knowledge graph', 'connect immediately with standard MCP tools')
- ('Fast connection', 'when you need to run it with npx without setting up a separate server', 'reuse the official implementation')
- ('Safe access', 'when you need access while limiting the allowed scope', 'restrict with path and permission parameters')
Key features
Exposed tools
create_entities, create_relations, search_nodes
- Use case: provides agents with long-term memory and knowledge management
- Result: standard MCP tool calls
- Limitations: Caution with permission settings
Installation and execution
npx (run)
Run @modelcontextprotocol/server-memory with npx.
npx -y @modelcontextprotocol/server-memory /path
Real-world usage example
Register with the host
Add the server entry to mcp.json.
{"mcpServers":{"memory":{"command":"npx","args":["-y","@modelcontextprotocol/server-memory","/path"]}}
Advantages and limitations
Advantages
- Official project implementation
- Runs with a single npx command
- Exposes standard MCP tools
Considerations before use
- Requires host app configuration
- Be careful with permission and path settings
Comparison with similar programs
| Program | Characteristics | Suitable when |
|---|---|---|
| Direct implementation | Write only the tools you need yourself | In-house special-purpose tools |
| Community server | Choose another implementation | Explore alternatives |
Official resources and further learning
- Official website — https://github.com/modelcontextprotocol/servers
- Official documentation / knowledge base — https://github.com/modelcontextprotocol/servers
- Installation / deployment — npx -y @modelcontextprotocol/server-memory
- Release notes — https://github.com/modelcontextprotocol/servers/releases
- Source / development resources — https://github.com/modelcontextprotocol/servers
Version and supported environment information was confirmed on the official site as of 2026-10-18. Installation commands may vary depending on the distribution and version you use, so please also check the official installation documentation.
Actual execution screen
Synthetic example — not an actual execution result. The screen is a synthetic example and not an actual execution result.
Server in actual operation
Source (HTML): https://games.aidebatehub.com/programs/mcp/protocol/server-memory.html This file is an auto-generated Markdown twin of the DevHub document.
AI Knowledge Hub
Visitor Comments