Rust MCP Filesystem

MIT License
1

Integrations

  • Provides filesystem management capabilities including reading files, creating directories, searching with glob patterns, and with proper configuration, writing operations. Optimized for high-performance filesystem interactions with advanced filtering capabilities.

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.

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, and logs/error-???.log are valid and can be used to match specific file types, recursive directory searches, or patterned filenames.
  • 📁 Nested Directories: Improved directory creation, allowing the creation of nested directories.
  • 📦 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.
👉 Refer to capabilities for a full list of tools and other capabilities.

🔧 Installation & Configuration

For detailed setup instructions, please visit the project documentation.

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.

Related MCP Servers

  • -
    security
    F
    license
    -
    quality
    An MCP server that allows Claude AI to perform filesystem operations including reading, writing, listing, moving files, and searching directories within specified allowed paths.
    Last updated -
    5
    1
    JavaScript
  • -
    security
    F
    license
    -
    quality
    An MCP server that provides AI tools with access to Rust documentation from docs.rs, enabling search for crates, documentation, type information, feature flags, version information, and source code.
    Last updated -
    3
    TypeScript
  • A
    security
    A
    license
    A
    quality
    An MCP server that provides tools for reading, writing, and editing files on the local filesystem.
    Last updated -
    1
    1,226
    Python
    Apache 2.0
    • Apple
  • A
    security
    F
    license
    A
    quality
    A MCP server that allows searching for files in the filesystem based on path fragments, returning file metadata including name, path, size, and creation date.
    Last updated -
    1
    Python
    • Apple

View all related MCP servers

ID: txfcac4lam