Skip to content
Zed

Filesystem MCP for Zed

io.github.j0hanz/filesystem-mcp

Secure filesystem MCP server for reading, writing, searching, diffing, and patching files.

client:Zed transport:stdio runtime:npm

Install Filesystem MCP in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "context_servers": {
    "filesystem-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@j0hanz/filesystem-mcp"
      ],
      "env": {
        "FS_ALLOWED_DIRS": "<FS_ALLOWED_DIRS>"
      }
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

Filesystem MCP in other clients