Filesystem (Reference)
Official MCP reference server — local file read/write and directory trees over stdio; 16 tools verified via handshake.
Specs
Verified:
- Transport
- stdio (local subprocess)
- Package
- @modelcontextprotocol/server-filesystem (npm)
- Probed version
- 2.4.0
- Tools
- 16 (verified via tools/list)
- Auth
- None — directory args set the access surface
Official reference server maintained in the modelcontextprotocol/servers repo, npm package `@modelcontextprotocol/server-filesystem` (handshake verified at 2.4.0 on 2026-11-20; initialize + tools/list returned **16 tools**). Arguments are the directories it may access — the sandbox boundary is set at launch.
Key features
- Official reference implementation (servers repo)
- 16 tools: read/write/edit/directory tree and more
- Launch args define accessible directories
Use cases
Let the agent read and write beyond the repo — whitelist specific directories at launch.
Install
`codex mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem ~/projects` (swap in your own whitelist dirs). Lands in the `mcp_servers.filesystem` section of config.toml.
Caveats
Any listed directory is writable — whitelist only what's needed; never hand over ~.
Added
Updated
Verified