
Filesystem
OfficialScoped file access with configurable allow-lists.
Official reference server for local file access. Read, write, and list files only inside directories you pre-approve, so an agent cannot wander into $HOME.
What it does
- Reads and writes files inside allow-listed roots, rejects anything else with a clear error
- Lists directory contents with pagination and depth limits to avoid blowing the context window
- Globs by pattern ("*.md", "**/*.test.ts") with configurable max matches
- Moves and deletes files, with the same allow-list rules applied to both source and destination
- Inspects metadata via stat without exposing full parent paths
- Rejects symlinks whose real path escapes a configured root
Best for
Filesystem is an official MCP server categorised under file system, official, filesystem, node. Official reference server for local file access. Read, write, and list files only inside directories you pre-approve, so an agent cannot wander into $HOME.
Pick your MCP client from the Install panel on this page to get a one-click install link (Cursor, VS Code) or a ready-to-paste configuration for Claude Desktop, Claude Code, Gemini, Codex, Windsurf, and other MCP-compatible clients. No local setup required for remote servers.
Filesystem is released under the MIT license. This is a permissive open-source license, so you can freely use, modify, and distribute it — subject to its terms.
Reviews
Write a ReviewBe the first to leave a review after using this server in production.
README
Alternatives
Knowledge-graph memory for cross-session context.
Archived Python reference server for local SQLite.
GitHub's own MCP server for issues, PRs, and code search.