Filesystem (official reference server)

MCP server by modelcontextprotocol · ★ 91.3k (shared repo) · updated yesterday

System & FilesMaintainedGrade BOfficialOne-click install

Node.js server for filesystem operations: read/write files, create/list/delete directories, move and search files, with configurable allowed directories.

Install Filesystem (official reference server)

Choose your AI client and copy the config.

Add to claude_desktop_config.json — macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Then restart Claude. Setup guide

{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "/path/to/allowed/dir"
      ]
    }
  }
}
Before you install: Install command taken from the project README. Check the README for any required environment variables.

Related servers