MCP Catalogs
首页rust-mcp-filesystem screenshot

rust-mcp-filesystem

by rust-mcp-stack·149·综合分 49

高性能的 Rust MCP 服务器,用于异步文件系统操作。

file-systemdeveloper-toolsproductivity
23
Forks
3
活跃 Issue
2 个月前
最近提交
2 天前
收录于

概述

Rust MCP Filesystem 是一个完全用 Rust 构建的文件系统操作 MCP 服务器,相比 JavaScript 版本具有更好的性能。服务器提供全面的文件操作功能,包括高级通配符匹配、ZIP 压缩支持以及可配置的只读访问模式,确保安全性。其轻量级设计无需外部依赖,适合在各种环境中部署。

试试问 AI

装完之后,这里有 5 个你可以让 AI 做的事:

:AI 应用中的文件系统探索和分析
:自动化文件整理和批量处理
:将文件访问集成到 AI 代理工作流中
:服务器默认是只读的吗?
:它支持 Windows 路径吗?

什么时候选它

当您需要基于 Rust 环境下的高性能、异步文件系统操作,以及高级 glob 模式匹配和 ZIP 档案支持时,选择此服务器。

什么时候不要选它

如果您需要默认写入访问权限或需要与其他语言集成,请不要选择此服务器,因为它默认专为只读操作而设计。

此 server 暴露的工具

从 README 抽取出 12 个工具
  • read_file

    Read the contents of a file

  • write_file

    Write content to a file

  • list_files

    List files and directories in a path

  • create_directory

    Create a new directory

  • delete_file

    Delete a file

  • delete_directory

    Delete a directory

  • glob

    Find files matching glob patterns

  • create_zip

    Create a ZIP archive from files or directories

  • extract_zip

    Extract files from a ZIP archive

  • move_file

    Move a file to a new location

  • copy_file

    Copy a file to a new location

  • file_info

    Get metadata information about a file or directory

说明:Tool names were inferred from the project description mentioning 'filesystem operations' and referencing the original JavaScript-based @modelcontextprotocol/server-filesystem, as the README doesn't explicitly list the tools. The specific to

可对比工具

server-filesystemfilesystem-mcpfs-mcp-serverrust-mcp-sdk

安装

安装

使用 Shell 脚本

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rust-mcp-stack/rust-mcp-filesystem/releases/download/v0.4.1/rust-mcp-filesystem-installer.sh | sh

使用 PowerShell

powershell -ExecutionPolicy Bypass -c "irm https://github.com/rust-mcp-stack/rust-mcp-filesystem/releases/download/v0.4.1/rust-mcp-filesystem-installer.ps1 | iex"

使用 Homebrew

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

使用 Cargo

cargo install rust-mcp-filesystem --locked

使用 NPM

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

Claude Desktop 配置

添加到 claude_desktop_config.json

{
  "mcpServers": {
    "rust-mcp-filesystem": {
      "command": "rust-mcp-filesystem",
      "args": []
    }
  }
}

FAQ

服务器默认是只读的吗?
是的,服务器默认没有写入权限以确保安全性。写入权限必须明确配置才能启用。
它支持 Windows 路径吗?
服务器支持标准路径格式,正确格式化后应该可以与 Windows 路径配合使用。

rust-mcp-filesystem 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。