Skip to content
Claude Code

Filesystem MCP for Claude Code

io.github.j0hanz/filesystem-mcp

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

client:Claude Code transport:stdio runtime:npm

Install Filesystem MCP in Claude Code

run in your project directory

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

claude mcp add filesystem-mcp -e FS_ALLOWED_DIRS=<FS_ALLOWED_DIRS> -- npx -y @j0hanz/filesystem-mcp

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

Filesystem MCP in other clients