Rust Filesystem — Claude Code MCP server: features and setup
Rust Filesystem is an MCP server for Claude Code that gives an agent filesystem tools. It can search large files, while its default mode blocks writes.
no license updated 2026-10-29
Open on GitHubWhat Rust Filesystem does
Rust Filesystem lets an agent search files and inspect selected sections of large ones. Searches can also be limited by file-size range, so the server can focus on files that match the requested bounds.
The default mode is read-only. MCP Roots define which directories are available to clients, and write access must be enabled explicitly. The server therefore does not modify files by default.
What it helps with
- locate a passage in a large file
- search only files within a size range
- limit an agent to allowed directories
- keep filesystem access read-only by default
Example prompts for the agent
- Find the project settings file and show the relevant sections.
- Search large files for
DATABASE_URL, limiting results to files in a chosen size range. - Inspect the allowed directories without changing any files.
How to install Rust Filesystem
Install
The MCP registry has no launch command for it: see the repository README
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Rust Filesystem
How do I install Rust Filesystem in Claude Code?
Add Rust Filesystem to Claude Code as an MCP server. Installation command: rust filesystem.
What does Rust Filesystem do?
It gives an agent filesystem tools for searching files and inspecting parts of large files. The server starts in read-only mode.
Can Rust Filesystem write to files?
Writes are disabled by default and must be enabled explicitly. MCP Roots restrict which directories clients can access.