Does Filesystem (reference) work with ChatGPT (Codex)?

Yes. Filesystem (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

ResultPassed
Date testedOct 20, 2026
Plan tested onChatGPT Plus
App versionCodex CLI 0.162.0-alpha.17.2
Server package@modelcontextprotocol/server-filesystem 2.0.0
Connect timeconnect time not recorded
Modelgpt-6-luna (reasoning low)

Steps

  1. install OK
  2. connect OK
  3. tools visible OK
  4. agent task: write read back OKcreate a document with known content, then read it back

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-filesystem 2.0.0 · connect time not recorded · tested Oct 20, 2026

Server package tested: @modelcontextprotocol/server-filesystem 2.0.0 (npm, Node v24.22.0; resolved 2026-10-20)

Direct and key dependencies as resolved: @modelcontextprotocol/server 2.3.1 · diff 8.0.4 · glob 13.0.6 · minimatch 10.2.6 · zod 4.6.7

All 11 resolved dependencies
@modelcontextprotocol/core==2.3.1
@modelcontextprotocol/server==2.3.1
balanced-match==4.0.4
brace-expansion==5.0.12
diff==8.0.4
glob==13.0.6
lru-cache==11.5.3
minimatch==10.2.6
minipass==7.1.3
path-scurry==2.0.2
zod==4.6.7

Captured with: npm ls --all --json in the npx env.

What happened in this run

Install config we used

[mcp_servers.ref-filesystem]
command = "npx"
args = ["-y", "@modelcontextprotocol/server-filesystem", "{SANDBOX}/fsroot"]
env = {}

Connection check

server answered tool calls during the task

Tools check

verified via task step: agent saw and called the server's tools

Agent task: write read back

  • Tool calls, in order: ref-filesystem:write_file, ref-filesystem:read_text_file

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 Filesystem (reference) page. Not connecting? ChatGPT (Codex) MCP troubleshooting.

Other apps we tested it in: Claude Code (passed) · Cursor (passed) · Claude Desktop (passed).

All MCP servers tested in ChatGPT (Codex)

Featured