Model Context Protocol reference server that gives an AI client read/write access to files inside directories you explicitly allow.
npx -y @modelcontextprotocol/server-filesystem /path/to/allowed/dir
Review the package, arguments and permissions before adding it to your MCP client.
The Filesystem server is one of the reference servers in the Model Context Protocol project. It lets an MCP client read, write, edit, move and search files, but only inside the directories you pass on the command line.
Maintained by the Model Context Protocol project (modelcontextprotocol/servers). The npm package @modelcontextprotocol/server-filesystem was current and not deprecated on 2026-11-05.
Run with npx (the README lists Node.js 24 or later for npx). Every directory argument becomes an allowed directory:
npx -y @modelcontextprotocol/server-filesystem /path/to/allowed/dir
Client configuration (Claude Desktop format):
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/allowed/dir"]
}
}
}
The README also documents a Docker image, mcp/filesystem, where allowed directories are bind-mounted under /projects (add ,ro to a mount to make it read-only).
stdio (local process started by your MCP client).
--read-only to register only read tools. The README notes it does not separate directories by itself, so combine it with OS permissions or read-only bind mounts.write_file overwrites in place and is not crash-atomic; use edit_file with dryRun first for edits.search_files matches file and directory names by glob only; it does not search file contents.Actively maintained reference server (checked 2026-11-05).
Follow the maintainer-specific setup, authentication and permissions in this entry. A remote endpoint is a connection URL, not a shell command. Client support varies by transport and authentication method.
Documentation checked 2026-11-05: Maintainer source. Status: supported method documented.
GitHub's official MCP server for repositories, issues, pull requests and other GitHub workflows, available as a hosted endpoint or a local Docker image.
SQLite integration for MCP clients. The reference server previously listed here is archived; HyperPrompt has not verified a maintained replacement.