Does Memory (reference) work with ChatGPT (Codex)?
Yes. Memory (reference) passed every step of our test in ChatGPT (Codex) on Oct 20, 2026: it installed, connected, its tools were visible, and an agent used it to finish a real task.
Result
Steps
- install OK
- connect OK
- tools visible OK
- agent task: recall across sessions OKstore in session 1, recall in a fresh session 2 (the token only appears in session 1's prompt)
From our own harness run, not the maker’s claims. How we test.
Versions tested
Codex CLI 0.162.0-alpha.17.2 · @modelcontextprotocol/server-memory 2.0.0 · connect time not recorded · tested Oct 20, 2026
Server package tested: @modelcontextprotocol/server-memory 2.0.0 (npm, Node v24.22.0; resolved 2026-10-20)
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.
What happened in this run
Install config we used
[mcp_servers.ref-memory]
command = "npx"
args = ["-y", "@modelcontextprotocol/server-memory"]
env = {MEMORY_FILE_PATH="{SANDBOX}/memory.jsonl"}Connection check
server answered tool calls during the taskTools check
verified via task step: agent saw and called the server's tools
Agent task: recall across sessions
- Tool calls, in order:
ref-memory:search_nodes
Raw details from our harness log for this run. Secrets redacted.
Set it up in ChatGPT (Codex)
Copy-paste config for every app is on the Memory (reference) page. Not connecting? ChatGPT (Codex) MCP troubleshooting.
Other apps we tested it in: Claude Code (passed) · Cursor (passed) · Claude Desktop (passed).