GitHub Integration MCP Server
GitHub 統合
GitHub MCP サーバーは、プル リクエストから差分を抽出する機能を提供します。
利用可能なツール
差分取得
GitHub プル リクエストから diff コンテンツを取得します。
パラメータ:
owner: リポジトリの所有者/組織名repo: リポジトリ名pr_number: プルリクエスト番号
戻り値: 次のものを含むオブジェクト:
content: PRの差分を含む文字列
Related MCP server: PR Review MCP Server
認証
必須:GitHub 個人アクセス トークンを環境変数として設定します。
export GITHUB_TOKEN=<your-github-token>プライベートリポジトリにアクセスするには、トークンに少なくともrepoスコープの権限が必要です。パブリックリポジトリの場合は、 public_repoスコープのトークンで十分です。
エラー処理
サーバーは標準のエラー処理を実装します。
トークンが見つからないか無効な場合は
ErrorCode.AuthenticationErrorが返されますリポジトリの詳細が無効の場合
ErrorCode.InvalidParamsが返されます。存在しない PR は
ErrorCode.NotFoundを返します失敗した差分フェッチはフォーマットされたエラーメッセージを返します
SIGINT による正常なシャットダウン
技術的な詳細
Highlight AI MCP SDKを使用して構築
GitHub REST API v3 を使用
Zodによる入力検証
stdioベースのMCPサーバーとして実行
Node.js >=18.0.0 をサポート
制限事項
GitHub APIの制限に基づいてレート制限が適用されます
大きな差分はGitHub APIの制限に従って切り捨てられる可能性があります
トークンには適切なリポジトリアクセス権限が必要です
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Scrape GitHub repository metadata, stars, forks, topics, licences and activity. Pay per row.
Code intelligence for LLMs. Analyze, search, and retrieve code from any public git repository.
Screens public GitHub repos and PRs to generate risk maps, findings, and merge-readiness signals.
Access the GitHub API, enabling file operations, repository management, search functionality, and…
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceFetches GitHub pull request information including file changes, diffs, and metadata, then creates analysis summaries in Notion pages.1-
- AlicenseNot gradedqualityDmaintenanceConnects Claude to GitHub Pull Requests to fetch and filter code diffs for AI-assisted reviews. It enables listing open PRs and analyzing changes while automatically excluding binary and asset files to focus on relevant code.22MIT
- AlicenseNot gradedqualityDmaintenanceEnables querying GitHub repositories for pull requests, commits, and comparisons to understand code changes.15Apache 2.0
- FlicenseAqualityDmaintenanceEnables analysis of GitHub Pull Requests, including details, diff, file lists, and review tracking.3-
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/highlight-ing/highlight-github-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server