Rust MCP Filesystem
Rust MCP 文件系统
Rust MCP 文件系统是一种速度极快、异步且轻量级的 MCP(模型上下文协议)服务器,旨在高效处理各种文件系统操作。
该项目是基于 JavaScript 的@modelcontextprotocol/server-filesystem的纯 Rust 重写,提供增强的功能、改进的性能以及针对现代文件系统交互量身定制的强大功能集。
🚀 有关安装和配置说明,请参阅项目文档。
特征
⚡ 高性能:内置 Rust 以提高速度和效率,利用异步 I/O 无缝处理文件系统操作。
🔒 默认只读:启动时没有写权限,确保安全,除非明确配置。
🔍 高级 Glob 搜索:支持完整的 glob 模式匹配,允许使用标准 glob 语法对文件和目录进行精确过滤。例如,
*.rs、src/**/*.txt和logs/error-???.log等模式有效,可用于匹配特定文件类型、递归目录搜索或模式化文件名。📁 嵌套目录:改进目录创建,允许创建嵌套目录。
📦 轻量级:独立运行,无需外部依赖(例如,不需要 Node.js、Python 等),编译为占用资源最少的单个二进制文件,非常适合轻量级和广泛的部署场景。
👉 请参阅功能以获取工具和其他功能的完整列表。
Related MCP server: files-mcp-ts
🔧 安装和配置
有关详细的设置说明,请访问项目文档。
目的
该项目旨在为文件系统管理提供可靠、安全且功能丰富的 MCP 服务器,并以更高性能和类型安全的语言重新构想 @modelcontextprotocol/server-filesystem 的功能。无论您是构建文件探索、自动化还是系统集成工具,rust-mcp-filesystem 都能为您提供坚实的基础。
🧰 内置
该项目利用rust-mcp-sdk和rust-mcp-schema来构建此服务器。如果您有兴趣制作自己的基于 Rust 的 MCP 项目或将现有项目转换为 Rust 以增强性能和安全性,请查看这些存储库。
执照
该项目根据 MIT 许可证获得许可。有关详细信息,请参阅LICENSE文件。
致谢
受到@modelcontextprotocol/server-filesystem的启发,并利用 Rust 的强大功能构建。
This server cannot be deployed
Maintenance
Related MCP Connectors
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
A simple MCP server built with FastMCP and python
MCP server for Superserve sandboxes: create, exec, and manage Firecracker microVMs
MCP server for secureFlows (secure-flows.com). Alias of io.github.michal-lefler/secureflows-mcp.
Related MCP Servers
- AlicenseAqualityAmaintenanceComprehensive MCP server for filesystem operations, process management, interactive sessions, and async file search. Includes utilities for JSON repair, encoding fixes, duplicate detection, OCR, ZIP archives, and Markdown export.4669 npm5MIT
- FlicenseBqualityDmaintenanceA lightweight MCP server for basic file operations, enabling reading, writing, and listing files securely via the Model Context Protocol.31-
- FlicenseNot gradedqualityCmaintenanceUltra-fast, memory-efficient Rust implementation of the Filesystem MCP server with bounded IO, regex search, and optional terminal execution.8-
- AlicenseNot gradedqualityBmaintenanceThe fastest, most capable filesystem MCP server built in Rust, giving AI agents superpowers to read, search, edit, and manage files and directories.18Apache 2.0