Filesystem MCP Server
by Anthropic (reference implementation)
Reference MCP server for local filesystem access. The example everyone copies first.
MCP
Filesystem MCP Server
Added 17 May 2026
Overview
Anthropic's reference filesystem MCP server gives agents scoped read and write access to local directories. It is the most-copied MCP example because it is small, clean, and instantly useful: the moment an agent can read your project folder safely, useful work begins.
Best for
Best for
Anyone new to MCP, and anyone who wants safe per-directory access
Use cases
- Give an agent access to a specific working directory without exposing the rest of the disk
- Build a local-first agent workflow against a project folder
- Template for writing your own MCP server in TypeScript
- Learn the MCP protocol by reading 300 lines of working code
Notes
Why it matters
The reference filesystem MCP server is how most engineers first feel the protocol click. It is also still the right starter for any agent that mostly needs to read or write files in a folder.
How teams use it in production
Real production usage layers a thin wrapper on top with explicit allowlists, logging, and per-task scopes. The reference implementation is the kernel, not the finished product.
What to watch
The reference servers repo is worth following as a whole. New servers there often become de facto standards within weeks.
Pros
- Smallest possible MCP example that still does useful work
- Excellent reading material for writing your own MCP server
- Path-scoped access prevents accidental disk-wide writes
- Maintained by Anthropic alongside the protocol itself
Cons
- Not feature-rich (no rename, no metadata, no symbolic links by default)
- Path scoping is easy to misconfigure too widely
- Cross-platform path handling has edge cases
Pairs with
Other entries in the index that connect to this one. Click through to see the chain.
Claude Code
Anthropic
Anthropic's terminal-native coding agent. Reads your repo, edits files, runs tests, ships PRs.
Cursor
Anysphere
The AI-first code editor. Tab to autocomplete, Composer to multi-file refactor, Agents for the long-running stuff.
Windsurf
Codeium
Codeium's IDE-with-an-agent. Cascade flow combines deep context with autonomous multi-file work.
Claude Code
Anthropic
Anthropic's terminal-native coding agent. Reads your repo, edits files, runs tests, ships PRs.
Cline
Cline
Open-source autonomous coding agent that lives inside VS Code. BYO model key, watch it work.
Cursor
Anysphere
The AI-first code editor. Tab to autocomplete, Composer to multi-file refactor, Agents for the long-running stuff.
Continue
Continue.dev
Open-source AI code assistant for VS Code and JetBrains. Customisable, BYO model, built for enterprise.
OpenAI Codex (CLI + cloud agent)
OpenAI
OpenAI's coding agent surface: terminal CLI for local work, cloud agent for parallel autonomous tasks.
OpenHands
All Hands AI
Open-source autonomous coding agent platform. Spins up a sandboxed dev environment, ships PRs end to end.
Windsurf
Codeium
Codeium's IDE-with-an-agent. Cascade flow combines deep context with autonomous multi-file work.
Obsidian MCP Server
MarkusSagen (community)
MCP server for Obsidian vaults. Read, write, and search notes so your agent works inside your second brain.
Cloudflare MCP Server
Cloudflare
Expose the full Cloudflare platform as MCP tools — Workers, KV, R2, D1, DNS, and Workers AI for any MCP-compatible agent.