F

Filesystem MCP

MCP server · by j0hanz

Files & Storage npmDocker v2.19.3

Filesystem MCP server for AI assistants.

View source ↗ Website ↗ Generate config for multiple servers More servers

Install

registry version 2.19.3

npm
npx -y @j0hanz/filesystem-mcp
Docker
docker run -i --rm ghcr.io/j0hanz/filesystem-mcp:2.19.3

Setup by client

Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.

claude_desktop_config.json

{
  "mcpServers": {
    "filesystem-mcp-2": {
      "command": "npx",
      "args": [
        "-y",
        "@j0hanz/filesystem-mcp"
      ]
    }
  }
}

Format verified against the official Claude Desktop docs ↗.

Environment variables

Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.

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

GitHub

⭐ 24 stars · 最近更新于 29 天前 · MIT license

About this server

Filesystem MCP Let your AI assistant work with your files, safely. Read, search, edit, and patch files in the folders you choose. Secret files stay hidden, and risky changes wait for your OK. What is this? Model Context P…

Summary from the project README — github.com/j0hanz/filesystem-mcp

Distributed as npm, Docker, listed under Files & Storage. Review our MCP security guide before granting access to real data.

Frequently asked questions

What does the Filesystem MCP MCP server do?

Filesystem MCP Let your AI assistant work with your files, safely. Read, search, edit, and patch files in the folders you choose. Secret files stay hidden, and risky changes wait for your OK. What is this? Model Context P

How do I install Filesystem MCP?

Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.

Is Filesystem MCP free to use?

The MCP server itself is free to install. The source is public on https://github.com/j0hanz/filesystem-mcp. Any third-party service it calls may require its own API key and account.

Which clients support Filesystem MCP?

Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.

Add this badge

Publish this server? Link back with a badge on your README or site — copy either snippet.

Listed on MCPNav

Markdown

[![Listed on MCPNav](https://mcpnav.net/badge/filesystem-mcp-2.svg)](https://mcpnav.net/server/filesystem-mcp-2/)

HTML

<a href="https://mcpnav.net/server/filesystem-mcp-2/"><img src="https://mcpnav.net/badge/filesystem-mcp-2.svg" alt="Listed on MCPNav" height="20"></a>