filesystem vs wasmcp
并排对比,帮你在这两个 MCP server 之间做选择。
filesystem by modelcontextprotocol | wasmcp by wasmcp | |
|---|---|---|
| Stars | ★ 85,748 | ★ 79 |
| 30天用量 | — | — |
| 综合分 | 77 | 46 |
| 官方 | ✓ | — |
| 分类 | 本地文件系统开发者工具效率工具 | 开发者工具AI / LLM 工具运维基建 |
| 实现语言 | TypeScript | Rust |
| 最近提交 | 本月 | 2 个月前 |
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
wasmcp · 概述
使用 WebAssembly 组件构建可组合 MCP 服务器的 SDK,支持 Rust、Python 和 TypeScript。
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
wasmcp · 使用场景
- 构建不同语言中具有隔离功能的模块化 MCP 服务器
- 创建分布式 AI 工具系统,每个组件处理特定领域任务
- 开发具有有限攻击面的安全、容器化 MCP 服务
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 中安装。
wasmcp · 安装
安装
# 使用安装脚本安装
curl -fsSL https://raw.githubusercontent.com/wasmcp/wasmcp/main/install.sh | bash
# 或从源码安装
cargo install --git https://github.com/wasmcp/wasmcp要求
wasmtime、wash、spin或其他支持组件的运行时
与 Claude Desktop 集成
添加到 claude_desktop_config.json:
{
"mcpServers": {
"wasmcp": {
"command": "wasmtime",
"args": ["serve", "-Scli", "-Skeyvalue", "-Shttp", "path/to/your/server.wasm"]
}
}
}