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 文件系统
Rust MCP 文件系统是一种速度极快、异步且轻量级的 MCP(模型上下文协议)服务器,旨在高效处理各种文件系统操作。
该项目是基于 JavaScript 的@modelcontextprotocol/server-filesystem
的纯 Rust 重写,提供增强的功能、改进的性能以及针对现代文件系统交互量身定制的强大功能集。
🚀 有关安装和配置说明,请参阅项目文档。
特征
- ⚡ 高性能:内置 Rust 以提高速度和效率,利用异步 I/O 无缝处理文件系统操作。
- 🔒 默认只读:启动时没有写权限,确保安全,除非明确配置。
- 🔍 高级 Glob 搜索:支持完整的 glob 模式匹配,允许使用标准 glob 语法对文件和目录进行精确过滤。例如,
*.rs
、src/**/*.txt
和logs/error-???.log
等模式有效,可用于匹配特定文件类型、递归目录搜索或模式化文件名。 - 📁 嵌套目录:改进目录创建,允许创建嵌套目录。
- 📦 轻量级:独立运行,无需外部依赖(例如,不需要 Node.js、Python 等),编译为占用资源最少的单个二进制文件,非常适合轻量级和广泛的部署场景。
👉 请参阅功能以获取工具和其他功能的完整列表。
🔧 安装和配置
有关详细的设置说明,请访问项目文档。
目的
该项目旨在为文件系统管理提供可靠、安全且功能丰富的 MCP 服务器,并以更高性能和类型安全的语言重新构想 @modelcontextprotocol/server-filesystem 的功能。无论您是构建文件探索、自动化还是系统集成工具,rust-mcp-filesystem 都能为您提供坚实的基础。
🧰 内置
该项目利用rust-mcp-sdk和rust-mcp-schema来构建此服务器。如果您有兴趣制作自己的基于 Rust 的 MCP 项目或将现有项目转换为 Rust 以增强性能和安全性,请查看这些存储库。
执照
该项目根据 MIT 许可证获得许可。有关详细信息,请参阅LICENSE文件。
致谢
受到@modelcontextprotocol/server-filesystem
的启发,并利用 Rust 的强大功能构建。
Related MCP Servers
- -securityFlicense-qualityAn 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 -51JavaScript
- -securityFlicense-qualityAn 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 -3TypeScript
- AsecurityAlicenseAqualityAn MCP server that provides tools for reading, writing, and editing files on the local filesystem.Last updated -11,226PythonApache 2.0
- AsecurityFlicenseAqualityA 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 -1Python