Skip to content
Cursor

Filesystem for Cursor

io.github.modelcontextprotocol/server-filesystem

Reference server for local file operations, scoped to directories you pass as arguments. Read, write, edit, search and inspect files and directory trees.

client:Cursor transport:stdio runtime:npm tools:11

Install Filesystem in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

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

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

What Cursor can do once it is connected

Filesystem in other clients