MCP server · MCP steering group (reference)
Filesystem
Pick it when the agent must read/write project files; scope it to the directories you pass on the command line.
Tools: 14, ~1,678 tokens of tool definitions loaded into the model's context (default configuration; measured 2026-10-26, v2.0.1). Compare all servers →
All 14 tools, by token cost
- read_text_file187
- edit_file164
- search_files150
- read_multiple_files141
- directory_tree134
- list_directory_with_sizes131
- move_file111
- read_file108
- list_directory98
- create_directory96
- get_file_info93
- read_media_file93
- write_file93
- list_allowed_directories79
Install
Run `npx -y @modelcontextprotocol/server-filesystem <allowed-dir>` from your client's MCP config (see README). Official install docs ↗
Credentials: None
What it can access
Read/write files inside directories you allow on the command line.
Details
- Type
- MCP server
- Tasks
- Local files
- Compatible agents
- Claude Desktop, VS Code, GitHub Copilot (source: clients with a setup heading or install/config instructions in the official README)
- Maintenance
- Monorepo release v2.1.0 on 2026-10-25 publishes @modelcontextprotocol/server-filesystem 2.0.1 (npm), fixing 4 security advisories in 2.0.0 and earlier; last commit 2026-10-24 (path-scoped)
- License
- Apache-2.0 for new contributions, MIT for older ones (MCP licensing transition per repo LICENSE)
- Source
- https://github.com/modelcontextprotocol/servers/tree/main/src/filesystem
- Verified on
- 2026-10-26
No independent security audit: entries summarize official sources only. Review permissions and code before installing.
Compared in: Best MCP servers for Local files
Badge for your README (maintainers)
The badge only says it's listed; it is not a security review or an endorsement.