opencode-mcp vs filesystem
并排对比,帮你在这两个 MCP server 之间做选择。
opencode-mcp by AlaeddineMessadi | filesystem by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 39 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 47 | 77 |
| 官方 | — | ✓ |
| 分类 | 开发者工具AI / LLM 工具效率工具 | 本地文件系统开发者工具效率工具 |
| 实现语言 | TypeScript | TypeScript |
| 最近提交 | 本月 | 本月 |
opencode-mcp · 概述
将 OpenCode AI 的 79 个工具与 MCP 客户端集成的 MCP 服务器,用于自主编码任务。
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
opencode-mcp · 使用场景
- 将构建 REST API 或重构模块等复杂编码任务委托给 OpenCode,同时主要 AI 继续工作
- 使用即发即忘工具与其他工作并行运行后台编码任务
- 使用工作流提示模板自动执行代码审查和调试会话
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
opencode-mcp · 安装
安装
先决条件:必须安装 [OpenCode](https://opencode.ai/)。
**Claude Code:**
claude mcp add opencode -- npx -y opencode-mcp**Claude Desktop / Cursor / Windsurf:** 添加到您的 MCP 配置中:
{
"mcpServers": {
"opencode": {
"command": "npx",
"args": ["-y", "opencode-mcp"]
}
}
}**VS Code Copilot / Zed / Amazon Q:** 有关客户端特定设置,请参阅[配置](docs/configuration.md)。
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 中安装。