Server Directory
File SystemBeginner Official

Filesystem

by Anthropic

GitHub
18.5k

Provides direct access to the local file system with read, write, directory listing, search, and file metadata capabilities. Sandboxed to configured directories.

CAPABILITIES

  • Read and write files
  • Create and list directories
  • Move and rename files
  • Search files by pattern
  • Get file metadata and stats

INSTALLATION

Terminal
npx -y @modelcontextprotocol/server-filesystem /path/to/allowed/dir

CLAUDE DESKTOP CONFIG

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

Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json

QUICK FACTS

Category
File System
Difficulty
Beginner
Maintained By
Anthropic
NPM Package
@modelcontextprotocol/server-filesystem

NEW TO MCP?

Learn how to set up MCP servers with Claude Desktop step by step.

Read the tutorial →