Filesystem logo

Filesystem MCP Server

The official Filesystem MCP server gives the AI read and write access to local files and folders with configurable permissions. It is an official, vendor-maintained server. Works in Claude, Cursor and Claude Code.

Filesystem

What Filesystem can do

The official Filesystem MCP server gives the AI read
Write access to local files, folders with configurable permissions

Tools Filesystem exposes

7 tools · from docs

The exact tools this MCP server gives your AI.

read_fileRead a fileread
write_fileWrite a filewrite
edit_fileMake line edits to a filewrite
create_directoryCreate a directorywrite
list_directoryList a directoryread
move_fileMove or rename a filewrite
search_filesSearch for filesread

Try asking Claude

Example prompts once Filesystem is connected.

Read and edit local project files.
Organize a folder.
Search file contents.

Set up Filesystem

Pick your client. Every snippet is copy-ready.

Claude Desktop → Settings → Developer → Edit Config (claude_desktop_config.json).

{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem"
      ]
    }
  }
}

Permissions & safety

Read & writeAuth: None

Can change data via: write_fileedit_filecreate_directorymove_file

Runs locally, so your data stays on your machine and only what the AI needs is sent to the model.

To stay safe, connect with least-privilege scopes and use a read-only credential where the service supports one.

Troubleshooting

“command not found” when the client starts the server
Install the runtime it needs (Node.js for npx, uv for uvx) and make sure it’s on your PATH.
Tools don’t appear after adding it
Fully restart the client (Claude Desktop, Cursor). Local servers load on startup.
A tool returns nothing for your Filesystem data
Confirm the account you authorised actually contains that data, and that your plan includes it.

FAQ

Filesystem is a local server, so you add it with a command: run "claude mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem", then restart Claude. See the config snippet above for Cursor and VS Code.

More Files & Storage MCP servers

A
Written by Ari · Founder

Running a digital business since 2019 and a local SEO agency, Ari built and shipped GBPAudit.AI as a Claude connector. Every server here is connected and its tools read before it's listed.

Something wrong with this listing? Report it.