Skip to content
Back to search

rust-mcp-filesystem

Blazing-fast, asynchronous MCP server for seamless filesystem operations.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/rust-mcp-stack--rust-mcp-filesystem/badge.svg)](/listings/rust-mcp-stack--rust-mcp-filesystem)

HTML

<a href="/listings/rust-mcp-stack--rust-mcp-filesystem"><img src="/api/listings/rust-mcp-stack--rust-mcp-filesystem/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

These steps run a script from the network that findsafeskills does not scan.

For detailed setup instructions, please visit the [project documentation](https://rust-mcp-stack.github.io/rust-mcp-filesystem).

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**

https://hub.docker.com/mcp/server/rust-mcp-filesystem

- **Download Binaries**

https://github.com/rust-mcp-stack/rust-mcp-filesystem/releases/tag/v0.4.5

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 89 lines · 2 findings marked

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. <p align="center">
  2. <img width="96" src="./docs/_media/rust-mcp-filesystem.png" alt="Rust MCP Filesystem Logo" width="300">
  3. </p>
  4. # Rust MCP Filesystem
  5. Rust MCP Filesystem is a blazingly fast, asynchronous, and lightweight MCP (Model Context Protocol) server designed for efficient handling of various filesystem operations.
  6. 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.
  7. 📝 Refer to the [project documentation](https://rust-mcp-stack.github.io/rust-mcp-filesystem) for installation and configuration instructions.
  8. ⭐️ It is also available on [Docker Hub’s MCP Registry](https://hub.docker.com/mcp/server/rust-mcp-filesystem) at: https://hub.docker.com/mcp/server/rust-mcp-filesystem
  9. ## Features
  10. - **⚡ High Performance**: Built in Rust for speed and efficiency, leveraging asynchronous I/O to handle filesystem operations seamlessly.
  11. - **🔒 Read-Only by Default**: Starts with no write access, ensuring safety until explicitly configured otherwise.
  12. - **🔍 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`, and `logs/error-???.log` are valid and can be used to match specific file types, recursive directory searches, or patterned filenames.
  13. - **🔄 MCP Roots support**: enabling clients to dynamically modify the list of allowed directories (disabled by default).
  14. - **📦 ZIP Archive Support**: Tools to create ZIP archives from files or directories and extract ZIP files with ease.
  15. - **🪶 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.
  16. - **🎛️ Tool Disabling**: Disable specific tools to limit functionality and reduce the number of available tools, helping to save tokens.
  17. #### 👉 Refer to [capabilities](https://rust-mcp-stack.github.io/rust-mcp-filesystem/#/capabilities) for a full list of tools and other capabilities.
  18. ## 🔧 Installation & Configuration
  19. For detailed setup instructions, please visit the [project documentation](https://rust-mcp-stack.github.io/rust-mcp-filesystem).
  20. ### Quick installation guide
  21. <!-- x-release-please-start-version -->
  22. - **Shell script**
  23. ```sh
  24. 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
    • Note: Pipes a downloaded script directly into a shell (curl | sh / wget | bash)
    • Line 37 on GitHub
  25. ```
  26. - **PowerShell script**
  27. ```sh
  28. 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"
  29. ```
  30. - **Homebrew**
  31. ```sh
  32. brew install rust-mcp-stack/tap/rust-mcp-filesystem
  33. ```
  34. #### **Cargo**
  35. ```sh
  36. cargo install rust-mcp-filesystem --locked
  37. ```
  38. - **NPM**
  39. ```sh
  40. npm i -g @rustmcp/rust-mcp-filesystem@latest
  41. ```
  42. > 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.
  43. - **Docker**
  44. https://hub.docker.com/mcp/server/rust-mcp-filesystem
  45. - **Download Binaries**
  46. https://github.com/rust-mcp-stack/rust-mcp-filesystem/releases/tag/v0.4.5
  47. <!-- x-release-please-end -->
  48. ## Purpose
  49. 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.
  50. ## 🧰 Built With
  51. The project leverages the [rust-mcp-sdk](https://github.com/rust-mcp-stack/rust-mcp-sdk) and [rust-mcp-schema](https://github.com/rust-mcp-stack/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.
  52. ## License
  53. This project is licensed under the MIT License. see the [LICENSE](LICENSE) file for details.
  54. ## Acknowledgments
  55. Inspired by `@modelcontextprotocol/server-filesystem` and built with the power of Rust.

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.