GitHub 통합
GitHub MCP 서버는 풀 리퀘스트에서 차이점을 추출하는 기능을 제공합니다.
사용 가능한 도구
get_diff_pr
GitHub 풀 리퀘스트에서 diff 콘텐츠를 검색합니다.
매개변수 :
owner: 저장소 소유자/조직 이름repo: 저장소 이름pr_number: 풀 리퀘스트 번호
반환 : 다음을 포함하는 객체:
content: PR diff를 포함하는 문자열
입증
필수 : GitHub 개인 액세스 토큰을 환경 변수로 설정합니다.
지엑스피1
비공개 저장소에 접근하려면 토큰에 최소한 repo 범위 권한이 필요합니다. 공개 저장소의 경우 public_repo 범위가 있는 토큰이면 충분합니다.
오류 처리
서버는 표준 오류 처리를 구현합니다.
누락되거나 잘못된 토큰은
ErrorCode.AuthenticationError반환합니다.잘못된 저장소 세부 정보로 인해
ErrorCode.InvalidParams반환됩니다.존재하지 않는 PR은
ErrorCode.NotFound반환합니다.실패한 diff 페치는 형식화된 오류 메시지를 반환합니다.
SIGINT에 대한 정상적인 종료
기술적 세부 사항
Highlight AI MCP SDK를 사용하여 구축됨
GitHub REST API v3를 사용합니다
Zod를 통한 입력 검증
stdio 기반 MCP 서버로 실행됩니다.
Node.js >=18.0.0 지원
제한 사항
GitHub API 제한 사항에 따라 속도 제한이 적용됩니다.
GitHub API 제한에 따라 큰 diff는 잘릴 수 있습니다.
토큰에는 적절한 저장소 액세스 권한이 필요합니다.
This server cannot be installed
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.
GitHub 풀 리퀘스트에서 차이점을 추출하여 사용자가 저장소의 브랜치 간 변경 사항을 검색하고 분석할 수 있도록 합니다.
Related Resources
Related MCP Servers
- Asecurity-licenseAqualityGenerates comprehensive and formatted release notes from GitHub repositories, efficiently organizing commits by type and including detailed statistics using smart API usage.Last updated -2
- Asecurity-licenseAqualityProvides GitHub data analysis for repositories, developers, and organizations, enabling insights into open source ecosystems through API calls and natural language queries.Last updated -513MIT License
- -security-license-qualityA tool that integrates with GitHub and Notion to analyze and review pull requests, enabling automated code reviews and documentation in Notion.Last updated -
- -security-license-qualityA lightweight tool that uses Mistral AI running locally to generate structured GitHub pull request descriptions from git diffs.Last updated -