by rust-mcp-stack
Blazingly fast, asynchronous, and lightweight MCP server that handles filesystem operations efficiently. Starts read‑only by default, supports advanced glob pattern matching, and allows creation of nested directories, all compiled into a single binary with minimal resource footprint.
Rust MCP Filesystem provides a high‑performance, asynchronous MCP server dedicated to filesystem management. It offers a secure, read‑only‑by‑default environment with optional write access, enabling precise file querying and manipulation through glob patterns and nested directory creation.
cargo build --release or download a pre‑compiled release.config.toml) to set the root directory, enable write permissions, and define any custom glob rules../target/release/rust-mcp-filesystem --config config.toml. The server will listen for MCP requests on the configured port.list, read, write, or glob to the server’s endpoint.*.rs, src/**/*.txt, logs/error-???.log, etc.) for precise file filtering.rust-mcp-sdk and rust-mcp-schema for type‑safe MCP communication.allow_write = true in the configuration file and restart the server.std::fs APIs.CONTRIBUTING.md.Rust MCP Filesystem is a blazingly fast, asynchronous, and lightweight MCP (Model Context Protocol) server designed for efficient handling of various filesystem operations.
This project is a pure Rust rewrite of the JavaScript-based @modelcontextprotocol/server-filesystem, offering enhanced capabilities, improved performance, and a robust feature set tailored for modern filesystem interactions.
📝 Refer to the project documentation for installation and configuration instructions.
⭐️ It is also available on Docker Hub’s MCP Registry at: https://hub.docker.com/mcp/server/rust-mcp-filesystem
*.rs, src/**/*.txt, and logs/error-???.log are valid and can be used to match specific file types, recursive directory searches, or patterned filenames.For detailed setup instructions, please visit the project documentation.
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rust-mcp-stack/rust-mcp-filesystem/releases/download/v0.3.8/rust-mcp-filesystem-installer.sh | sh
powershell -ExecutionPolicy Bypass -c "irm https://github.com/rust-mcp-stack/rust-mcp-filesystem/releases/download/v0.3.8/rust-mcp-filesystem-installer.ps1 | iex"
brew install rust-mcp-stack/tap/rust-mcp-filesystem
npm i -g @rustmcp/rust-mcp-filesystem@latest
The npm package is provided for convenience. It runs the same underlying Rust binary but can be installed and used as a standard npm package.
Docker
Download Binaries
https://github.com/rust-mcp-stack/rust-mcp-filesystem/releases/tag/v0.3.8
This project aims to provide a reliable, secure, and feature-rich MCP server for filesystem management, reimagining the capabilities of @modelcontextprotocol/server-filesystem in a more performant and type-safe language. Whether you’re building tools for file exploration, automation, or system integration, rust-mcp-filesystem offers a solid foundation.
The project leverages the rust-mcp-sdk and rust-mcp-schema to build this server. check out those repositories if you’re interested in crafting your own Rust-based MCP project or converting existing ones to Rust for enhanced performance and safety.
This project is licensed under the MIT License. see the LICENSE file for details.
Inspired by @modelcontextprotocol/server-filesystem and built with the power of Rust.
Please log in to share your review and rating for this MCP.
Explore related MCPs that share similar capabilities and solve comparable challenges
by modelcontextprotocol
A Model Context Protocol server for Git repository interaction and automation.
by zed-industries
A high‑performance, multiplayer code editor designed for speed and collaboration.
by modelcontextprotocol
Model Context Protocol Servers
by modelcontextprotocol
A Model Context Protocol server that provides time and timezone conversion capabilities.
by cline
An autonomous coding assistant that can create and edit files, execute terminal commands, and interact with a browser directly from your IDE, operating step‑by‑step with explicit user permission.
by upstash
Provides up-to-date, version‑specific library documentation and code examples directly inside LLM prompts, eliminating outdated information and hallucinated APIs.
by daytonaio
Provides a secure, elastic infrastructure that creates isolated sandboxes for running AI‑generated code with sub‑90 ms startup, unlimited persistence, and OCI/Docker compatibility.
by continuedev
Enables faster shipping of code by integrating continuous AI agents across IDEs, terminals, and CI pipelines, offering chat, edit, autocomplete, and customizable agent workflows.
by github
Connects AI tools directly to GitHub, enabling natural‑language interactions for repository browsing, issue and pull‑request management, CI/CD monitoring, code‑security analysis, and team collaboration.