GitHub MCP
GitHub MCP
汎用の読み取り専用リモート MCP コネクタで、GitHub App インストールを通じて選択された GitHub リポジトリを照会します。セルフホスティング向けに設計されており、GitHub、Cloudflare、MCP クライアントのアカウント識別子は一切含まれません。
このコネクタは、2 つの認可レイヤーを使用します。
ユーザーは GitHub App を承認して自分の GitHub アイデンティティを証明します。接続を完了できるのは、オペレーターが設定したログインのみです。
ツール呼び出しは、要求されたインストール済みリポジトリに制限された短時間有効な GitHub App インストールトークンを使用します。
GitHub ユーザートークンは本人確認後に破棄されます。このコネクタは書き込みツールを公開しません。
機能
GitHub App インストールで選択されたリポジトリを検出します。
コードを検索し、テキストファイルまたはディレクトリ一覧を取得します。
コミット、プルリクエスト、diff、レビュー、コメントを確認します。
イシューとイシューコメントを確認します。
OAuth、PKCE、Dynamic Client Registration を使用してリモート MCP クライアントを認証します。
Related MCP server: GitHub MCP Server
ローカル開発
要件: Node 22 以降および Yarn 1.22。
yarn install
yarn type-check
yarn lint
yarn test
yarn buildテストは偽のアイデンティティとモック化された GitHub サービスを使用します。ローカル検証には GitHub App や Cloudflare のアカウントは必要ありません。
Worker を実際のサービスに対して実行するには、オペレーターセットアップガイド に従ってください。wrangler.jsonc、ローカルシークレット、GitHub App の秘密鍵をコミットしないでください。
MCP ツール
ツール | 目的 |
| アプリのインストールで選択されたリポジトリを一覧表示します。 |
| インストール済みの 1 つのリポジトリ内を検索します。 |
| 指定された ref で 1 つのリポジトリディレクトリを一覧表示します。 |
| UTF-8 テキストファイルを取得します。行範囲指定も可能です。 |
| リポジトリの履歴を確認します。 |
| プルリクエスト、ファイル、diff、レビュー、コメントを確認します。 |
| プルリクエストの unified diff を取得します。 |
| イシューとイシューコメントを確認します。 |
結果は GitHub API のライブレスポンスであり、正規の GitHub URL を含む上限付き JSON に正規化されます。ページネーションは既定で 20 件、最大 50 件です。テキストと diff の出力は 100,000 文字に制限されます。
セキュリティモデル
AUTHORIZED_GITHUB_LOGINSは必須であり、空の場合はフェイルクローズします。GitHub App インストールにより、このコネクタに存在するリポジトリが決定されます。
各リポジトリのツール呼び出しは、そのリポジトリに限定された 1 時間有効なトークンを発行します。
必要な GitHub App 権限は、読み取り専用の Metadata、Contents、Issues、Pull Requests です。
OAuth コード、ユーザートークン、インストールトークン、クライアントシークレット、秘密鍵が返信されたり、意図的にログに記録されることはありません。
このプロジェクトは、個人または小規模チーム向けのコネクタであり、ホスト型のマルチエナントサービスではありません。
ライセンス
このプロジェクトは MIT License の下で提供されています。
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 Servers
- AlicenseNot gradedqualityDmaintenanceRead-only GitHub MCP server that lets assistants search and read repositories, issues, pull requests, commits, and file contents, scoped to the user's personal access token.MIT
- AlicenseNot gradedqualityDmaintenanceEnables GitHub API integration via MCP, allowing search, repository details, file contents, and issue management.452ISC
- FlicenseNot gradedqualityCmaintenanceRead-only MCP server for the GitHub REST API that enables agents to query repositories, issues, files, and users without any write access.
- AlicenseNot gradedqualityCmaintenanceProvides read-only access to GitHub repositories and issues through standardized MCP tools, with caching to handle API rate limits.1MIT
Related MCP Connectors
GitHub Private MCP Pack — access private repos, org data via OAuth.
Screens public GitHub repos and PRs to generate risk maps, findings, and merge-readiness signals.
Read-only GitHub bounty, agent harness, Actions failure, flake, and MCP tool-drift decisions.
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/charlesnpx/github-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server