Filesystem MCP Server
Give Claude controlled read and write access to chosen folders on your computer.
Reference serverby Model Context ProtocolRuns on your computerChecked November 18, 2026
The Filesystem server is the reference file system MCP server from the MCP project: it lets Claude read, write, edit, copy, move and search files, but only inside the folders you name when you start it. It needs Node.js 24 or later when you run it with npx; --read-only hides every tool that could change a file, and --read-only-dir protects chosen folders while the rest stay writable. It matters most in Claude Desktop and other chat apps, since Claude Code can already work with files on its own.
Who is Filesystem MCP for?
- Claude Desktop users who want Claude to work with local files
- People organizing documents, notes or downloads
- Developers who need a folder-restricted file tool for any MCP client
What can you ask Filesystem MCP to do?
Once it is connected, ask in plain words. Your AI tool decides when to use the server and asks before it changes anything important.
List everything in my Downloads folder larger than 50 MB and suggest what I could delete.Read the meeting notes in Documents/Notes and save a summary as weekly-summary.md.Rename the photos in Desktop/Trip so each file name starts with the date it was created.How to add the Filesystem MCP server to Claude
MCP is an open standard. The setup steps below cover this server in Claude Code, Claude app, Codex, Cursor, VS Code, Gemini CLI, Antigravity, OpenCode, Windsurf. Pick your tool:
New to MCP? Read what an MCP server is and how to add one.
Connect the Filesystem MCP server to Claude Code for me: run this command: claude mcp add --transport stdio filesystem -- npx -y @modelcontextprotocol/server-filesystem /ABSOLUTE/PATH/TO/FOLDER
If a value starts with YOUR_, ask me for it first. When it is connected, help me sign in if needed and show me one thing I can ask it to do.Or do it yourself:
claude mcp add --transport stdio filesystem -- npx -y @modelcontextprotocol/server-filesystem /ABSOLUTE/PATH/TO/FOLDERUnlock the setup steps
Free. Leave your email once to open the setup steps for all 152 servers, and get the best new connectors each month.
Good to know
With the Docker image (mcp/filesystem) you need no Node.js: mount each folder under /projects, and add ro to a mount to make that folder read-only.
How did we check Filesystem MCP?
On November 18, 2026 we reread the server's README and its npm record: @modelcontextprotocol/server-filesystem 2.4.0, published that day, still declares Node.js 24 or later and adds an HTTP mode, after 2.3.0 (November 11) added --read-only-dir. The modelcontextprotocol/servers repo had 92,089 stars and is moving its license from MIT to Apache-2.0. Our first check, on November 8, read version 2.2.0 and counted about 1.35 million npm downloads in the week to November 7.
Source: github.com/modelcontextprotocol/servers/tree/main/src/filesystem
What do people ask about Filesystem MCP?
Which folders can Claude see through the Filesystem server?
Only the ones you pass as arguments when the server starts, for example /Users/you/Documents/Invoices; it refuses every path outside them. MCP Roots, which let an app change the folders while it runs, are deprecated as of protocol version 2026-07-28, and --confine-roots stops an older app from widening your list.
Can Claude read my files without being able to change them?
Yes. Start the server with --read-only and it offers only the tools that read and list. To protect some folders but not others, put --read-only-dir before each folder to protect (version 2.3.0 and later): the write tools stay available but refuse any target inside those folders.
Which Node.js version does it need?
Node.js 24 or later when you run it through npx or from source, as the README and package of version 2.4.0 say (checked November 18, 2026). Check with node --version in a terminal before you add the server.
Why is it slow on iCloud Drive folders?
Cloud-synced folders can stall while the provider fetches file details. The server gives up on a single path after 15 seconds and stops a search after 100,000 entries, so point it at a narrower folder or leave the synced part out with excludePatterns.
Do I need it if I already use Claude Code?
Usually not, because Claude Code reads and edits the files in your project by itself. The Filesystem server is for chat apps such as Claude Desktop, or for any AI tool where you want a strict, folder-limited file tool.
Can several AI tools share one Filesystem server?
Yes, since version 2.4.0 (November 18, 2026): start it with --transport streamable-http and it runs as a local HTTP service at http://127.0.0.1:3001/mcp that any number of clients can connect to. The folders must then be given on the command line, and HOST=0.0.0.0 would open it to every machine on your network, so keep the default.
We wrote these answers from the official pages of each product named, read on November 18, 2026.
More developer tool servers
Using servers like Filesystem from Claude Code? Our Claude Code course, in early access, goes from your first command to a landing page, an AI video and a working agent.