Skip to content
Cursor

memory for Cursor

io.github.sharedmemoryai/memory

Persistent memory for AI agents. Remember, recall, and explore a shared knowledge graph.

client:Cursor transport:stdio runtime:npm

Install memory in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "memory": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@sharedmemory/mcp-server"
      ],
      "env": {
        "SHAREDMEMORY_API_KEY": "<SHAREDMEMORY_API_KEY>",
        "SHAREDMEMORY_API_URL": "<SHAREDMEMORY_API_URL>",
        "SHAREDMEMORY_VOLUME_ID": "<SHAREDMEMORY_VOLUME_ID>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

memory in other clients