MCP Server Studio

Memory MCP server

Persistent memory for an assistant, stored as a knowledge graph of entities and relations

Registry name: io.github.modelcontextprotocol/server-memory

Publisher
modelcontextprotocol
Runs
Runs locally
Package
npm
Version
2.2.2
Category
AI & agents
Updated
2026-11-27

Source code on GitHub

Set up Memory (run locally)

Claude Desktop

Add to claude_desktop_config.json:

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

Claude Code

Run in your terminal:

claude mcp add server-memory -- npx -y @modelcontextprotocol/[email protected]

Cursor

Add to .cursor/mcp.json:

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

VS Code

Add to .vscode/mcp.json:

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

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

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

More ai & agents MCP servers