Dev tools

Filesystem

Lets your AI client read, search and edit files in folders you choose. Only the folders you list are reachable. Add --read-only to block changes. Needs Node.js.

Beginner by Model Context Protocol (reference server) Claude CodeClaude DesktopCursor

Install

Claude Code
claude mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem /path/to/allowed/folder
Claude Desktop

Add the JSON config below to claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json, Windows: %APPDATA%\Claude\claude_desktop_config.json), then restart Claude Desktop.

Cursor

Add the JSON config below to .cursor/mcp.json (this project) or ~/.cursor/mcp.json (all projects).

JSON config

{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/allowed/folder"]
    }
  }
}