← all servers
~/mcps.gallery/servers/filesystem
[files][FEATURED][OFFICIAL]

Filesystem

Read, write, and search files on the local disk under a set of allowed directories.

[files][local][reference-server]

A reference MCP server from the Model Context Protocol project. Gives a model read/write access to files and directories you explicitly allow, including reading, editing, moving, and searching files, and listing directory trees.

Access is scoped to the directories you pass on startup, so the model can never reach outside the paths you grant.

install

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