k
kritak
back to MCP servers
/FilesstdioOfficial

Filesystem MCP

by Anthropic

Reference MCP server for local filesystem access. Read, write, search, and list files within explicitly allowed directories — the foundation for code-aware agents.

$ install

# Add to your MCP client config
{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "/Users/you/projects"
      ]
    }
  }
}

$ cat readme.md

What it exposes

  • read_file / read_multiple_files
  • write_file / edit_file
  • list_directory / directory_tree
  • search_files / move_file

Sandboxing

The server only operates within the directories you pass on the command line. Treat this as the only safety boundary — there's no per-call confirmation by default. Don't point it at /.