octocode-mcp vs filesystem
并排对比,帮你在这两个 MCP server 之间做选择。
octocode-mcp by bgauryy | filesystem by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 832 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 52 | 77 |
| 官方 | — | ✓ |
| 分类 | 开发者工具AI / LLM 工具GitHub 集成 | 本地文件系统开发者工具效率工具 |
| 实现语言 | TypeScript | TypeScript |
| 最近提交 | 本月 | 本月 |
octocode-mcp · 概述
MCP 服务器用于在 GitHub/GitLab 和本地仓库中进行语义代码研究,具有高级 LSP 集成。
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
octocode-mcp · 使用场景
- 跨公共和私有仓库进行代码探索和模式匹配
- 使用 AST 和依赖图进行高级代码分析和文档生成
- 使用 LSP 流跟踪在多个领域进行拉取请求审查
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
octocode-mcp · 安装
安装
推荐方式:Octocode CLI
npx octocode-cli install手动 MCP 配置
添加到您的 MCP 配置文件中:
{
"mcpServers": {
"octocode": {
"command": "npx",
"args": ["octocode-mcp@latest"]
}
}
}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 中安装。