← Back to directory
F

Filesystem MCP Server

Official
Secure local file read/write access
GitHub source repository ↗
★ 8.2k Stars Category · Filesystem Very popular
This server gives models controlled access to browse, read, write, and manage local files and directories. Access is limited to explicitly allowed paths, making it a foundational MCP server for local workflows.

Tools

read_file
Read the complete contents of a specified file
write_file
Write to an existing file or create a new one
list_directory
List files and subdirectories in a directory
create_directory
Create a new directory
move_file
Move or rename a file
search_files
Recursively search for files by name pattern

Setup

Add the server entry below to your client configuration, then replace the example path with the local directory you want to allow.
claude_desktop_config.json
{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "/Users/you/Documents"
      ]
    }
  }
}

Use cases

Organize local project files and archive old versions
Let an assistant inspect log files while troubleshooting
Batch rename images or documents

Supported clients

Claude DesktopFull support
CursorFull support
ClineFull support
WindsurfPartial support