MCP server

Filesystem

MCP

The reference server for the tree you already trust.

Official Model Context Protocol filesystem server. Roots you name. Reads and writes stay inside them.

latest·MIT·Updated this month·github.com/modelcontextprotocol/servers·Transport: stdio

Claude CodeCursorVS CodeDesktop
ScannedActive

claude_desktop_config.json

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

By Model Context Protocol

Spec

What the server actually exposes.

  • read_file

    read

    Read a file inside an allowed root.

  • write_file

    write

    Write a file inside an allowed root.

  • list_directory

    read

    List a directory you allowed.

  • search_files

    read

    Find files by name under a root.

Guardrails

  • Roots are explicit
  • No path traversal past a root
  • Writes are logged by the client

mcp-filesystem.mcp/tools

Tools

  • read_file

    Read a file inside an allowed root.

    read
  • write_file

    Write a file inside an allowed root.

    write
  • list_directory

    List a directory you allowed.

    read
  • search_files

    Find files by name under a root.

    read

Last call

{ "ok": true,
  "tool": "read_file",
  "rows": 12 }

Other servers worth installing

Discussion

No notes yet. Be the first hunter to report back.