Filesystem

by Anthropic (reference)

Filesystem

9,0001,272,149/mov2026.1.14stdioVerified on npm
Developer ToolsMCP / Integrations

Install & run

Add to claude_desktop_config.json:

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

Overview

Secure local file operations for AI agents — read, write, search, move and list files within configured directories. One of the official reference MCP servers and a common starting point for giving an assistant access to your project files.

Tools (6)

  • read_file

    Read the contents of a file

  • write_file

    Create or overwrite a file

  • edit_file

    Make line-based edits to a file

  • list_directory

    List files and folders in a path

  • search_files

    Recursively search for files by pattern

  • move_file

    Move or rename a file or directory

Key features

  • Sandboxed to allowed directories
  • Read/write/edit files
  • Recursive search
  • Directory tree listing

Use cases

  • Let an agent edit your codebase
  • Bulk file organisation
  • Read project docs for context

Frequently asked questions about Filesystem

Access is restricted to directories you explicitly allow, so the agent cannot touch the rest of your system.

Did you find this helpful?

Promote Filesystem

Show your audience this tool is featured on Dhanasvi — embed the badge or share it.

F
Filesystem Featured on Dhanasvi