filesystem vs rust-mcp-filesystem
并排对比,帮你在这两个 MCP server 之间做选择。
filesystem by modelcontextprotocol | rust-mcp-filesystem by rust-mcp-stack | |
|---|---|---|
| Stars | ★ 85,748 | ★ 149 |
| 30天用量 | — | — |
| 综合分 | 77 | 49 |
| 官方 | ✓ | — |
| 分类 | 本地文件系统开发者工具效率工具 | 本地文件系统开发者工具效率工具 |
| 实现语言 | TypeScript | Rust |
| 最近提交 | 本月 | 2 个月前 |
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
rust-mcp-filesystem · 概述
高性能的 Rust MCP 服务器,用于异步文件系统操作。
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
rust-mcp-filesystem · 使用场景
- AI 应用中的文件系统探索和分析
- 自动化文件整理和批量处理
- 将文件访问集成到 AI 代理工作流中
filesystem · 安装
安装
使用 NPX
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/path/to/allowed/directory"
]
}
}
}使用 Docker
{
"mcpServers": {
"filesystem": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--mount", "type=bind,src=/path/to/allowed/dir,dst=/projects/allowed/dir",
"mcp/filesystem",
"/projects"
]
}
}
}VS Code 扩展
点击 README 中的安装按钮直接在 VS Code 中安装。
rust-mcp-filesystem · 安装
安装
使用 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@latestClaude Desktop 配置
添加到 claude_desktop_config.json:
{
"mcpServers": {
"rust-mcp-filesystem": {
"command": "rust-mcp-filesystem",
"args": []
}
}
}