
octocode-mcp
by bgauryy·★ 832·综合分 52
MCP 服务器用于在 GitHub/GitLab 和本地仓库中进行语义代码研究,具有高级 LSP 集成。
概述
Octocode MCP 服务器通过 GitHub、GitLab 和本地工具将 AI 助手连接到代码库。它提供语义代码研究、上下文生成和 AI 优化的知识转换。服务器支持 LSP 智能功能,实现编译器级别的理解,包括跳转到定义、查找引用和调用层次结构。它提供多种专业技能,用于代码探索、工程、规划、文档审查和工作流。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
如果您已经在使用GitHub/GitLab,并且需要AI驱动的代码搜索和分析以及上下文感知的开发辅助,请选择此工具。
什么时候不要选它
如果您需要在GitHub/GitLab之外工作,或者需要独立于云的代码分析解决方案,请不要选择此工具。
此 server 暴露的工具
从 README 抽取出 12 个工具search_repositoriesSearch repositories across GitHub & GitLab
find_usage_patternsFind usage patterns of code across repositories
read_implementationsRead implementations of specific code patterns
explore_pull_requestsExplore pull requests in repositories
search_local_codeSearch code in local codebase
browse_directoriesBrowse directories in local codebase
find_filesFind files in local codebase
go_to_definitionNavigate to definition of code using LSP
find_referencesFind references to code using LSP
call_hierarchyExplore call hierarchy using LSP
code_researchPerform multi-phase research with sessions and checkpoints
code_analysisAnalyze code using AST and dependency graph
说明:Tool names inferred from skill descriptions and MCP server functionality documented in the README. The exact MCP tool names and signatures are not explicitly listed in the provided documentation.
可对比工具
安装
安装
推荐方式:Octocode CLI
npx octocode-cli install手动 MCP 配置
添加到您的 MCP 配置文件中:
{
"mcpServers": {
"octocode": {
"command": "npx",
"args": ["octocode-mcp@latest"]
}
}
}FAQ
- 需要什么认证?
- 需要 GitHub 认证。请查看身份验证设置文档了解 OAuth 配置。
- 支持哪些 IDE?
- CLI 支持 Cursor 等 IDE 的非交互式安装。手动配置适用于任何兼容 MCP 的客户端。
Hacker News 讨论
开发者社区最近的相关讨论。
- 帖子 by bgauryy · 2025-11-03
octocode-mcp 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。