Memory (reference)
A simple knowledge-graph memory the agent can add to and search across sessions, stored in a local JSON file.
Saved a code in one session and recalled it in a fresh session in both Claude Code and Cursor (3 calls in total), using one local JSON file with no network or account. Context-mode also passed recall in both (4 calls) but needs Node 22.5+. Sequential Thinking passed its reasoning task in both, but it has no storage, so it isn't judged on recall. On Oct 14 Memory and context-mode also passed recall in Claude Desktop and ChatGPT (Codex); in Claude Desktop, Memory also listed older codes left in the shared test file by earlier runs. On Oct 19 Memory 2.0.0 (new major, Node 24+) was retested and passed recall again in Claude Code and Cursor. Confirmed Oct 21, 2026: second runs on 2.0.0 passed in all 4 clients (Claude Code and Cursor Oct 19, ChatGPT (Codex) Oct 20, Claude Desktop Oct 21). First runs were on 1.0.0.
Test results
Last passed 2026-10-21Server package tested: @modelcontextprotocol/server-memory 2.0.0 (npm, Node v24.22.0; resolved 2026-10-21)
Direct and key dependencies as resolved: @modelcontextprotocol/server 2.3.1 · zod 4.6.7
All 3 resolved dependencies
@modelcontextprotocol/core==2.3.1
@modelcontextprotocol/server==2.3.1
zod==4.6.7Captured with: npm ls --all --json in the npx env.
Full result per app: Does it work with Claude Code? · Does it work with Cursor? · Does it work with Claude Desktop? · Does it work with ChatGPT (Codex)?
Real test
PassedOne run from our records. When two runs share a date, we show a failure if there is one.
- Client
- Claude Desktop · Claude Desktop 2.37337.1 (Linux beta, Electron 44.7.0)
- Date
- Oct 21, 2026
- The task we gave
Using only the ref-memory MCP tools, save this so it can be found in a later session: the toolpassed test code is TP-8608AD. Reply 'stored' when done.
Using only the ref-memory MCP tools, look up the toolpassed test code that was saved in an earlier session and reply with it.
- What it promised
- details not recorded for this run
- What happened
1 tool call recorded. The name was not stored on this run.
Tool result
{"content": [{"type": "text", "text": "{\n \"entities\": [\n {\n \"name\": \"toolpassed-test-code\",\n \"entityType\": \"reference\",\n \"observations\": [\n \"The toolpassed test code is TP-F42B55.\",\n \"The toolpassed test code is TP-A0E2A4.\"\n ]\n },\n {\n \"name\": \"toolpassed test code\",\n \"entityType\": \"credential\",\n \"observations\": [\n \"TP-220F1B\",\n \"The toolpassed test code is TP-F2D3E1\",\n \"TP-E355A4\",\n \"TP-CA383D\"\n ]\n },\n {\n \"name\": \"toolpassed test code TP-9489E5\",\n \"entityType\": \"test_code\",\n \"observations\": [\n \"The toolpassed test code is TP-9489E5.\"\n ]\n },\n {\n \"name\": \"toolpassed test code TP-8608AD\",\n \"entityType\": \"test_code\",\n \"observations\": [\n \"Toolpassed test code is TP-8608AD (saved 2026-10-21 at user's request)\"\n ]\n }\n ],\n \"relations\": []\n}"}], "structuredContent": {"entities": [{"name": "toolpassed-test-code", "entityType": "reference", "observations": ["The toolpassed test code is TP-F42B55.", "The toolpassed test code is TP-A0E2A4."]}, {"name": "toolpassed test code", "entityType": "credential", "observations": ["TP-220F1B", "The toolpassed test code is TP-F2D3E1", "TP-E355A4", "TP-CA383D"]}, {"name": "toolpassed test code TP-9489E5", "entityType": "test_code", "observations": ["The toolpassed test code is TP-9489E5."]}, {"namAgent reply
The toolpassed test code saved in an earlier session is TP-8608AD. Its record says it was saved on 2026-10-21 at your request. The memory also holds several other toolpassed codes that aren't dated, including TP-9489E5, TP-F42B55, TP-A0E2A4, and a few more.- Verdict
- Passed
Install
claude mcp add memory -e MEMORY_FILE_PATH=/path/to/dir/memory.jsonl -- npx -y @modelcontextprotocol/server-memoryRun in your terminal. This exact command is what our harness runs in Claude Code; see the results above.
{
"mcpServers": {
"memory": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-memory"
],
"env": {
"MEMORY_FILE_PATH": "/path/to/dir/memory.jsonl"
}
}
}
}Save as .cursor/mcp.json. This exact config is what our harness runs in Cursor; see the results above.
{
"mcpServers": {
"memory": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-memory"
],
"env": {
"MEMORY_FILE_PATH": "/path/to/dir/memory.jsonl"
}
}
}
}Add to claude_desktop_config.json and restart Claude Desktop. Tested on the Linux beta; see the results above.
[mcp_servers.memory]
command = "npx"
args = ["-y", "@modelcontextprotocol/server-memory"]
env = { MEMORY_FILE_PATH = "/path/to/dir/memory.jsonl" }Add to ~/.codex/config.toml (shared by the ChatGPT (Codex) CLI and the ChatGPT desktop app; Codex runs inside the ChatGPT desktop app). Tested with the ChatGPT (Codex) CLI bundled in the ChatGPT desktop app; see the results above.
Not connecting? Troubleshooting: Claude Code · Cursor · Claude Desktop · ChatGPT (Codex)
Test history
| Date | Check | Result | Versions tested |
|---|---|---|---|
| 2026-10-21 | Claude Desktop | Passed install, connect, tools, agent task | Claude Desktop 2.37337.1 (Linux beta, Electron 44.7.0) · @modelcontextprotocol/server-memory 2.0.0 |
| 2026-10-20 | ChatGPT (Codex) | Passed install, connect, tools, agent task | Codex CLI 0.162.0-alpha.17.2 · @modelcontextprotocol/server-memory 2.0.0 |
| 2026-10-20 | ChatGPT (Codex) | Passed install, connect, tools, agent task | Codex CLI 0.162.0-alpha.17.2 · @modelcontextprotocol/server-memory 2.0.0 |
| 2026-10-19 | Protocol (direct stdio) | Protocol: 9 tools + tool call OK | server reported v2.0.0 |
| 2026-10-19 | Claude Code | Passed install, connect, tools, agent task | Claude Code 2.1.296 · @modelcontextprotocol/server-memory 2.0.0 (pinned in the command we ran) |
| 2026-10-19 | Cursor | Passed install, connect, tools, agent task | Cursor CLI 2026.10.16-e3cb207 · @modelcontextprotocol/server-memory 2.0.0 (pinned in the command we ran) |
| 2026-10-19 | Protocol (direct stdio) | Protocol: 9 tools + tool call OK | 2.0.0 |
| 2026-10-19 | Claude Code | Passed install, connect, tools, agent task | Claude Code 2.1.296 · package version not recorded |
| 2026-10-19 | Cursor | Passed install, connect, tools, agent task | Cursor CLI 2026.10.16-e3cb207 · package version not recorded |
| 2026-10-14 | Claude Desktop | Passed install, connect, tools, agent task | Claude Desktop 2.37337.1 (Linux beta) · package version not recorded |
| 2026-10-14 | ChatGPT (Codex) | Passed install, connect, tools, agent task | Codex CLI 0.162.0-alpha.17.2 · package version not recorded |
| 2026-10-13 | Protocol (direct stdio) | Protocol: 9 tools + tool call OK | 1.0.0 |
| 2026-10-13 | Cursor | Passed install, connect, tools, agent task | Cursor CLI 2026.10.12-d47ca18 · package version not recorded |
| 2026-10-13 | Claude Code | Passed install, connect, tools, agent task | Claude Code 2.1.296 · package version not recorded |
Tested on ToolPassed badge
Maker of Memory (reference)? It passed in Claude Code, Cursor, Claude Desktop, ChatGPT (Codex) on 2026-10-21. Add this free badge to your README; it links back to this listing. Free, no strings: the badge never changes a result.
[](https://toolpassed.com/mcp/ref-memory/)Tools seen by our harness (9)
create_entitiescreate_relationsadd_observationsdelete_entitiesdelete_observationsdelete_relationsread_graphsearch_nodesopen_nodes