Back to catalog

Rust MCP Filesystem MCP Server

Lightning-fast, asynchronous, and lightweight MCP server written in Rust for efficient handling of various file operations, delivering improved performance compared to JavaScript alternatives.

Lightning-fast, asynchronous, and lightweight MCP server written in Rust for efficient handling of various file operations, delivering improved performance compared to JavaScript alternatives.

Installation

Shell script

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 script

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"

Homebrew

brew install rust-mcp-stack/tap/rust-mcp-filesystem

NPM

npm i -g @rustmcp/rust-mcp-filesystem@latest

Docker

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

Features

  • High performance: Written in Rust for speed and efficiency, uses asynchronous I/O
  • Read-only by default: Runs without write access, ensuring security until explicitly configured
  • Advanced pattern search: Supports full glob pattern matching for precise file filtering
  • MCP Roots support: Allows clients to dynamically change permitted directories
  • ZIP archive support: Tools for creating and extracting ZIP archives
  • Lightweight: Standalone with no external dependencies, compiled into a single binary

Notes

This is a complete Rust rewrite of the @modelcontextprotocol/server-filesystem project. Documentation is available at https://rust-mcp-stack.github.io/rust-mcp-filesystem. Also available in the MCP Registry on Docker Hub. Built using rust-mcp-sdk and rust-mcp-schema.

Comments (0)

Sign In Sign in to leave a comment.