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
{
"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