remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Integrations
Enables analyzing and querying GitHub repositories, including indexing repository content and asking questions about code architecture and tech stack
GitHub 聊天 MCP
一个模型上下文协议 (MCP),用于使用 GitHub Chat API 分析和查询 GitHub 代码库。官方网站: https://github-chat.com
安装
- 开始与 Claude 一起使用它!
提示示例:
- “使用 github-chat-mcp 分析 React 仓库”
- “使用 github-chat-mcp 索引 TypeScript 存储库并询问其架构”
GitHub Chat MCP 服务器
设置说明
首先,请确保你拥有 GitHub Chat API 密钥。这是使用该服务所必需的。
首先安装 uv。
MacOS/Linux:
视窗:
使用光标设置(推荐)
在 mcp.json 中:
由于它是免费增值版本,因此不需要任何环境。
使用 Claude Desktop 进行设置
通过 Smithery 安装
您可以通过 Smithery 自动安装 GitHub Chat for Claude Desktop:
使用 GitHub 与 Claude 聊天
- 首先索引 GitHub 存储库:“在https://github.com/username/repo处索引 GitHub 存储库”
- 然后询问有关存储库的问题:“这个存储库使用的核心技术堆栈是什么?”
调试
跑步:
本地/开发设置说明
克隆仓库
git clone https://github.com/yourusername/github-chat-mcp.git
安装依赖项
首先安装 uv。
MacOS/Linux:
视窗:
然后安装 MCP 服务器依赖项:
使用 Claude Desktop 进行设置
使用 MCP CLI SDK
手动
使用 GitHub 与 Claude 聊天
- 首先索引 GitHub 存储库:“在https://github.com/username/repo处索引 GitHub 存储库”
- 然后询问有关存储库的问题:“这个存储库使用的核心技术堆栈是什么?”
调试
跑步:
然后通过http://localhost:5173
访问 MCP Inspector。您可能需要在检查器的环境变量中添加您的 GitHub API 密钥,路径为GITHUB_API_KEY
。
笔记
- 可以通过
FASTMCP_LOG_LEVEL
环境变量调整日志记录级别(例如FASTMCP_LOG_LEVEL="ERROR"
) - 该 MCP 服务器提供了两个主要工具:
- 存储库索引 - 索引和分析 GitHub 存储库
- 存储库查询 - 询问有关索引存储库的问题
You must be authenticated.
MCP 服务器可以通过 GitHub Chat API 分析和查询 GitHub 存储库,允许用户索引存储库并询问有关其代码、架构和技术堆栈的问题。