Persistent memory server for AI agents using a knowledge graph to store and retrieve information across sessions.
npx -y @modelcontextprotocol/server-memory
Paste this into your MCP client configuration (Cursor, Windsurf, etc).
Add long-term memory capabilities to your AI assistant.
npx -y @modelcontextprotocol/server-memory
{
"mcpServers": {
"memory": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-memory"]
}
}
}
create_entity: Add new knowledgeget_entity: Retrieve stored infocreate_relation: Link entitiessearch: Find relevant memoriesMCP (Model Context Protocol) servers extend your AI assistant with external tools and data sources. Follow these steps to install Memory MCP Server in your preferred AI coding tool.
claude_desktop_config.json