Filesystem MCP server: what it is, how to set it up, and where it stops
The Filesystem MCP server is the official open-source server that lets an AI app read, write and organise files in folders you pick on your own computer. This page is for anyone setting it up in Claude Desktop: the config, the tools, and the catch, which is that it runs locally, so it doesn't reach claude.ai in a browser or ChatGPT.
The short answer
The Filesystem server is a small Node.js program from the Model Context Protocol project, published on npm as @modelcontextprotocol/server-filesystem. You tell it which folders it may touch, your AI app starts it in the background, and from then on the AI can list those folders, read files, write new ones, move things around and look files up by name.
It's free and it's the one most MCP tutorials start with, so if you want Claude Desktop to tidy your Downloads folder or read the notes in a project directory, this is the thing to install. The README says it needs Node.js 24 or later when you run it with npx.
How to set it up in Claude Desktop
These steps follow the official connect local servers guide:
- 1. Install Node.js if you don't have it, and check it with node --version.
- 2. In Claude Desktop, open the Claude menu in your system menu bar and choose Settings, then the Developer tab, then Edit Config.
- 3. That opens claude_desktop_config.json. On macOS it lives in ~/Library/Application Support/Claude/, on Windows in %APPDATA%\Claude\.
- 4. Paste the config below, with your own folder paths in place of the example ones. Every path you list is a folder the server may read and change.
- 5. Save, quit Claude Desktop completely and open it again.
- 6. In a chat, click the + button, hover over Connectors and choose Manage connectors. You should see filesystem in the list with its tools.
The config
This is the whole thing, on one line here so it's easy to copy:
{ "mcpServers": { "filesystem": { "command": "npx", "args": ["-y", "@modelcontextprotocol/server-filesystem", "/Users/username/Desktop", "/Users/username/Downloads"] } } }
The official guide adds an exact version after the package name (like @modelcontextprotocol/server-filesystem@2.4.1 on the day I read it) and says to always pin one, so check the package's npm page for the current number. On Windows the paths look like C:\\Users\\username\\Desktop, with doubled backslashes because it's JSON.
In Claude Code the same server is one command: claude mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem /path/to/folder. Claude Code already reads the project you start it in, so you'd only need this for folders outside it.
What it can do, and the safety switches
The README lists 16 tools. The ones you'll see used most are read_text_file, read_multiple_files, write_file, edit_file, create_directory, list_directory, directory_tree, move_file, search_files and get_file_info.
Two details are easy to miss. search_files matches file names, not what's inside the files, so it won't find "the invoice that mentions Acme". And there is a --read-only flag that only offers the reading tools, which is what I'd add if all you want is for the AI to look at things. Claude Desktop also asks for your approval before each action, and the server runs with your own user permissions, so only list folders you're happy for it to change.
Where it stops
The catch is in the word local. Claude Desktop starts the server as a process on your machine and talks to it directly. Claude in a browser and ChatGPT can't do that. Anthropic's help page says custom connectors are reached from Anthropic's cloud, not from your device, and OpenAI's says ChatGPT connects only to remote servers. So the Filesystem server works in desktop apps and coding tools on the computer that has the files, and nowhere else.
The other limit is that it hands over raw files. That's fine for notes, code and Markdown. A 60 MB CSV is a different story, because the AI gets text to read, not a table it can total, and an Excel workbook isn't plain text at all. For spreadsheets you want something that understands rows and columns.
Which one should you use?
There's no single best one, pick by what you need:
- Read and organise files on your own computer, free: the official Filesystem server, in Claude Desktop, Claude Code or Cursor.
- Edit Excel workbooks on your computer: a local open-source Excel server. I compared the kinds in Excel MCP server.
- Ask questions about a spreadsheet, CSV or PDF table from claude.ai or ChatGPT: a hosted server with a URL. Fileshape is one: you add the file on your files page, and it becomes a typed table the AI can filter and total. It's read-only and it doesn't see your disk.
- Files that live in Google Drive or SharePoint: the built-in connector of your AI app, if it has one for that service.
If you go the hosted route
With Fileshape there is nothing to install. You upload a file (or paste a download link), choose which columns the AI may see, and add this URL as a custom connector:
https://mcp.fileshape.app/mcp
The AI gets tools to list your files, describe the columns, fetch, search and filter rows, and aggregate, so a question like "total by month" is computed over every row on the server. The free plan holds one file. Setup for each app is in the docs, and Claude MCP and ChatGPT MCP walk through the two big ones.
Ask AI about this file
Ask ChatGPT, Claude or Cursor about your file. Fileshape cleans it, masks personal columns and gives your AI one link, so totals come from every row.
FAQ
Questions
What is the Filesystem MCP server?
It's the official open-source MCP server for local files, published as @modelcontextprotocol/server-filesystem. It gives an AI app tools to read, write, move and list files inside the folders you allow.
Does the Filesystem MCP server work with claude.ai in a browser?
No. It runs as a local process, and Claude on the web reaches connectors from Anthropic's cloud. Use Claude Desktop or Claude Code on the computer that has the files.
Does it work with ChatGPT?
Not directly. OpenAI's help page says ChatGPT connects only to remote MCP servers, and that local or private servers need a Secure MCP Tunnel.
Can I make it read-only?
Yes. The README documents a --read-only flag that registers only the reading tools, and a --read-only-dir option for a single folder.
Can it search inside files?
No. The README says search_files matches names only. The AI would have to open files one by one to look inside them.
What is the best filesystem MCP server?
There isn't one best. For files on your own computer, the official server is the usual choice and it's free. For spreadsheets you want answers from, or for claude.ai and ChatGPT, a hosted server fits better.
More from the blog
Keep reading
- Claude MCP: how to add connectors in claude.ai, Claude Desktop and Claude CodeThe three ways to add an MCP server to Claude: custom connectors in claude.ai, the Claude Desktop config file and claude mcp add in Claude Code.
- ChatGPT MCP: how to add an MCP server (what used to be a custom connector)Which ChatGPT plans can add a custom MCP server, the steps on the Plugins page, sign-in options and limits, with a spreadsheet server as the example.
- The best MCP servers for files, by what you need them to doAn honest list of MCP servers for files, picked by job: local folders, CSV and Excel, Google Sheets, PDFs, databases and cloud drives.
- Remote MCP servers: how they differ from local ones and how to connect to oneLocal vs remote MCP servers explained: stdio vs Streamable HTTP, OAuth vs API keys, which AI apps accept a remote server, and a real one to try.
Updated 2026-12-06