GitHub 채팅 MCP
GitHub Chat API를 사용하여 GitHub 저장소를 분석하고 쿼리하기 위한 모델 컨텍스트 프로토콜(MCP)입니다. 공식 사이트: https://github-chat.com
설치
지엑스피1
클로드와 함께 사용해 보세요!
예시 프롬프트:
"github-chat-mcp를 사용하여 React 저장소를 분석하세요"
"github-chat-mcp로 TypeScript 저장소를 인덱싱하고 아키텍처에 대해 문의하세요"
GitHub Chat MCP 서버
Related MCP server: GitHub MCP Server Plus
설치 지침
무엇보다 먼저 GitHub Chat API 키가 있는지 확인하세요. 서비스를 사용하려면 필수입니다.
먼저 uv를 설치하세요.
MacOS/리눅스:
curl -LsSf https://astral.sh/uv/install.sh | sh윈도우:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"커서를 사용한 설정(권장)
mcp.json에서:
{
"mcpServers": {
"github-chat": {
"command": "uvx",
"args": [
"github-chat-mcp"
]
}
}
}위의 내용은 프리미엄 릴리스이므로 envs가 필요하지 않습니다.
Claude Desktop으로 설정
# claude_desktop_config.json
# Can find location through:
# Hamburger Menu -> File -> Settings -> Developer -> Edit Config
# Must perform: brew install uv
{
"mcpServers": {
"github-chat": {
"command": "uvx",
"args": ["github-chat-mcp"],
"env": {
}
}
}
}Smithery를 통해 설치
Smithery를 통해 Claude Desktop용 GitHub Chat을 자동으로 설치할 수 있습니다.
npx -y @smithery/cli install github-chat-mcp --client claudeClaude와 함께 GitHub Chat 사용하기
먼저 GitHub 저장소를 인덱싱하세요: " https://github.com/username/repo 에서 GitHub 저장소를 인덱싱하세요"
그런 다음 저장소에 대해 다음과 같이 질문해 보세요. "이 저장소에 사용된 핵심 기술 스택은 무엇입니까?"
디버깅
달리다:
npx @modelcontextprotocol/inspector uvx github-chat-mcp로컬/개발자 설정 지침
복제 저장소
git clone https://github.com/yourusername/github-chat-mcp.git
종속성 설치
먼저 uv를 설치하세요.
MacOS/리눅스:
curl -LsSf https://astral.sh/uv/install.sh | sh윈도우:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"그런 다음 MCP 서버 종속성을 설치합니다.
cd github-chat-mcp
# Create virtual environment and activate it
uv venv
source .venv/bin/activate # MacOS/Linux
# OR
.venv/Scripts/activate # Windows
# Install dependencies
uv syncClaude Desktop으로 설정
MCP CLI SDK 사용
# `pip install mcp[cli]` if you haven't
mcp install /ABSOLUTE/PATH/TO/PARENT/FOLDER/github-chat-mcp/src/github_chat_mcp/server.py -v "GITHUB_API_KEY=API_KEY_HERE"수동으로
# claude_desktop_config.json
# Can find location through:
# Hamburger Menu -> File -> Settings -> Developer -> Edit Config
{
"mcpServers": {
"github-chat": {
"command": "uv",
"args": [
"--directory",
"/ABSOLUTE/PATH/TO/PARENT/FOLDER/github-chat-mcp",
"run",
"github-chat-mcp"
],
"env": {
}
}
}
}Claude와 함께 GitHub Chat 사용하기
먼저 GitHub 저장소를 인덱싱하세요: " https://github.com/username/repo 에서 GitHub 저장소를 인덱싱하세요"
그런 다음 저장소에 대해 다음과 같이 질문해 보세요. "이 저장소에 사용된 핵심 기술 스택은 무엇입니까?"
디버깅
달리다:
# If mcp cli installed (`pip install mcp[cli]`)
mcp dev /ABSOLUTE/PATH/TO/PARENT/FOLDER/github-chat-mcp/src/github_chat_mcp/server.py
# If not
npx @modelcontextprotocol/inspector \
uv \
--directory /ABSOLUTE/PATH/TO/PARENT/FOLDER/github-chat-mcp \
run \
github-chat-mcp그런 다음 http://localhost:5173 에서 MCP Inspector에 접속하세요. Inspector의 환경 변수 GITHUB_API_KEY 에 GitHub API 키를 추가해야 할 수도 있습니다.
노트
로깅 수준은
FASTMCP_LOG_LEVEL환경 변수(예:FASTMCP_LOG_LEVEL="ERROR")를 통해 조정 가능합니다.이 MCP 서버는 두 가지 주요 도구를 제공합니다.
저장소 인덱싱 - GitHub 저장소 인덱싱 및 분석
저장소 쿼리 - 인덱스된 저장소에 대한 질문하기