Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
MCP server for filesystem tools
Rust MCP Filesystem provides filesystem operations through the Model Context Protocol, so an agent can work with local files, directories, searches, and archives. It is built in Rust for fast asynchronous I/O and runs as a standalone binary. The server starts read-only by default, supports glob searches, MCP roots, ZIP archive actions, and tool disabling. The repository includes the server code, tests, docs, and release packaging for several install paths.
Builders who want an agent to browse and manage local files through MCP.
You can give your agent safe, fast access to filesystem tasks without wiring up custom file scripts.
What it does
Read-only by default
Starts without write access until you configure it.
Glob search
Matches files and directories with patterns like `*.rs` and `src/**/*.txt`.
MCP roots support
Lets clients change the allowed directories when enabled.
ZIP archive support
Creates ZIP archives and extracts ZIP files.
Tool disabling
Lets you turn off specific tools to reduce available actions.
Single Rust binary
Ships without Node.js or Python dependencies.
How to get it
- 1Shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rust-mcp-stack/rust-mcp-filesystem/releases/download/v0.4.5/rust-mcp-filesystem-installer.sh | sh
- 2PowerShell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/rust-mcp-stack/rust-mcp-filesystem/releases/download/v0.4.5/rust-mcp-filesystem-installer.ps1 | iex"
- 3Homebrew
brew install rust-mcp-stack/tap/rust-mcp-filesystem
- 4Run
cargo install rust-mcp-filesystem --locked
- 5NPM
npm i -g @rustmcp/rust-mcp-filesystem@latest
README
Rust MCP Filesystem
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
Features
- β‘ High Performance: Built in Rust for speed and efficiency, leveraging asynchronous I/O to handle filesystem operations seamlessly.
- π Read-Only by Default: Starts with no write access, ensuring safety until explicitly configured otherwise.
- π Advanced Glob Search: Supports full glob pattern matching allowing precise filtering of files and directories using standard glob syntax.For example, patterns like
*.rs,src/**/*.txt, andlogs/error-???.logare valid and can be used to match specific file types, recursive directory searches, or patterned filenames. - π MCP Roots support: enabling clients to dynamically modify the list of allowed directories (disabled by default).
- π¦ ZIP Archive Support: Tools to create ZIP archives from files or directories and extract ZIP files with ease.
- πͺΆ Lightweight: Standalone with no external dependencies (e.g., no Node.js, Python etc required), compiled to a single binary with a minimal resource footprint, ideal for both lightweight and extensive deployment scenarios.
- ποΈ Tool Disabling: Disable specific tools to limit functionality and reduce the number of available tools, helping to save tokens.
π Refer to capabilities for a full list of tools and other capabilities.
π§ Installation & Configuration
For detailed setup instructions, please visit the project documentation.
Quick installation guide
- Shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rust-mcp-stack/rust-mcp-filesystem/releases/download/v0.4.5/rust-mcp-filesystem-installer.sh | sh
- PowerShell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/rust-mcp-stack/rust-mcp-filesystem/releases/download/v0.4.5/rust-mcp-filesystem-installer.ps1 | iex"
- Homebrew
brew install rust-mcp-stack/tap/rust-mcp-filesystem
Cargo
cargo install rust-mcp-filesystem --locked
- NPM
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.4.5
Purpose
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.
π§° Built With
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.
License
This project is licensed under the MIT License. see the LICENSE file for details.
Acknowledgments
Inspired by @modelcontextprotocol/server-filesystem and built with the power of Rust.
Files in the repo
- .github
- docs
- opencode
- src
- tests
- wix
- .gitignore
- .release-config.json
- .release-manifest.json
- Cargo.lock
- Cargo.toml
- CHANGELOG.md
- CONTRIBUTING.md
- dist-workspace.toml
- Dockerfile
- LICENSE
- Makefile.toml
- README.md
- rust-toolchain.toml
- SECURITY.md
Discussion (0)
Ask about usage, or say what you built with itSign in to join the discussion.
No comments yet. Be the first to say what this is good for.
More connectors
High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph β average repo in milliseconds. 158 languages, sub-ms queries, 99% fewer tokens. Single static binary, zero dependencies.

Universal provider proxy for OpenAI Codex & Claude Code β use any LLM (Claude, Gemini, Grok, DeepSeek, Ollamaβ¦) with Codex CLI, App, SDK, and Claude Code
Git-native persistent memory for AI coding agents. Implements Google OKF v0.2 with sub-300Β΅s in-memory BM25 search, embedded MCP server, and progressive disclosure. Slashes token bloat by 80% with zero external databases or dependencies. Built in pure Go.
Local-first code intelligence graph for MCP and CLI. Builds a persistent map of your codebase so AI coding tools read only what matters, with benchmarked context reductions on reviews and large-repo workflows.
Stop your AI from making things up β it proposes, deterministic tools decide, every claim checked against ground truth with evidence. Grounded facts and context survive resets. Reverse engineering is the proving ground. MCP server + CLI.