Filesystem MCP
local MCP serverInstallation
Terminal
claude mcp add io-github-j0hanz-filesystem-mcp -e FS_ALLOWED_DIRS=... -- npx -y @j0hanz/filesystem-mcp
Run in your project folder. Add --scope user to use it everywhere.
Claude Desktop, Cursor & other clients
Add to claude_desktop_config.json or .cursor/mcp.json.
{
"mcpServers": {
"io-github-j0hanz-filesystem-mcp": {
"command": "npx",
"args": [
"-y",
"@j0hanz/filesystem-mcp"
],
"env": {
"FS_ALLOWED_DIRS": "..."
}
}
}
}Fill in the environment variables with your own credentials.
Summary
Secure filesystem MCP server for reading, writing, searching, diffing, and patching files.
Questions
Filesystem MCP is a local MCP server distributed as the npm package @j0hanz/filesystem-mcp.
Run: claude mcp add io-github-j0hanz-filesystem-mcp -e FS_ALLOWED_DIRS=... -- npx -y @j0hanz/filesystem-mcp
Run: codex mcp add io-github-j0hanz-filesystem-mcp --env FS_ALLOWED_DIRS=... -- npx -y @j0hanz/filesystem-mcp
Similar MCP servers
NameStars
- mcp-server-filesystemio.github.bytedance/mcp-server-filesystem39K
- Airweave Searchio.github.airweave-ai/search6,561
- DBHubio.github.bytebase/dbhub3,574
- SearXNG Searchio.github.ihor-sokoliuk/mcp-searxng1,262
- mcp-ssh-managerio.github.bvisible/mcp-ssh-manager493
- google-analytics-mcpio.github.surendranb/google-analytics-mcp242
- mcp-abap-adtio.github.mario-andreschak/mcp-abap-adt196
- Dynatrace-mcpio.github.dynatrace-oss/Dynatrace-mcp138