Rust MCP Filesystem

Rust MCP Filesystem

Fast, asynchronous MCP server for efficient handling of various filesystem operations built with the power of Rust.

100
Stars
17
Forks
20
Releases

Overview

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. It emphasizes high performance through asynchronous I/O and a minimal runtime footprint, while adopting a security posture with Read-Only by Default mode until explicit configuration enables write access. The server includes advanced glob search capabilities, enabling full glob pattern matching to filter files and directories (e.g., *.rs, src/**/*.txt, logs/error-???.log). It also supports MCP Roots to dynamically modify the list of allowed directories (disabled by default) and ZIP archive operations to create or extract archives. It is standalone with no external dependencies and is compiled into a single binary. Built with the rust-mcp-sdk and rust-mcp-schema, it offers a solid foundation for file exploration, automation, and system integration and is distributed via documentation, Docker Hub, and release binaries. MIT-licensed and inspired by the original @modelcontextprotocol/server-filesystem.

Details

Owner
rust-mcp-stack
Language
Rust
License
MIT License
Updated
2025-12-07

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.

MCP Roots support

Enables 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)

Standalone with no external dependencies; compiled to a single binary with a minimal resource footprint.

Audience

DevelopersBuilding MCP-based filesystem tools, automations, or system integrations requiring fast I/O.

Tags

MCPFilesystemRustAsynchronousGlob SearchMCP RootsZIP ArchiveStandaloneNo External DependenciesDocker