NestDaddy

Filesystem MCP

io.github.j0hanz/filesystem-mcp · v2.20.0

Filesystem MCP server for AI assistants.

Connect Runs on your machine

Terminal
claude mcp add filesystem-mcp -e FS_ALLOWED_DIRS=<FS_ALLOWED_DIRS> -e FS_READ_ONLY_DIRS=<FS_READ_ONLY_DIRS> -- npx -y @j0hanz/[email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "filesystem-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@j0hanz/[email protected]"
      ],
      "env": {
        "FS_ALLOWED_DIRS": "<FS_ALLOWED_DIRS>",
        "FS_READ_ONLY_DIRS": "<FS_READ_ONLY_DIRS>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "filesystem-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@j0hanz/[email protected]"
      ],
      "env": {
        "FS_ALLOWED_DIRS": "<FS_ALLOWED_DIRS>",
        "FS_READ_ONLY_DIRS": "<FS_READ_ONLY_DIRS>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "filesystem-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@j0hanz/[email protected]"
      ],
      "env": {
        "FS_ALLOWED_DIRS": "<FS_ALLOWED_DIRS>",
        "FS_READ_ONLY_DIRS": "<FS_READ_ONLY_DIRS>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
FS_ALLOWED_DIRS
Optional
Allowed directories; ':'-separated on Unix, ';'-separated on Windows. Alternative to positional arguments.
FS_READ_ONLY_DIRS
Optional
Read-only directories; ':'-separated on Unix, ';'-separated on Windows. Writes, moves, and deletes under them are refused.

Details

Package@j0hanz/[email protected] (NPM, stdio)
Packageghcr.io/j0hanz/filesystem-mcp:2.20.0 (OCI, stdio)
First published11 Nov 2026
Last updated11 Nov 2026
Registry nameio.github.j0hanz/filesystem-mcp

More files and documents servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.