GitHub MCP リモートMCPサーバー – 公式URL・MCP接続設定・ツール一覧

🛡️ Official✓ VerifiedStreamable HTTPOAuth 2.1🛡️ A+~3096 tok92 tools·Online310ms·30日間稼働率: 100%·最終チェック 16分前

GitHub MCP は GitHub が提供するリモートMCPサーバー(公式運営、カテゴリ:開発者ツール・Git)です。エンドポイント https://api.githubcopilot.com/mcp/ を通じて、AIエージェントが直接呼び出せる 92 個の構造化ツールを提供します。

このページでは、公式リモートエンドポイント、トランスポート、認証方式、全ツールスキーマ、リアルタイムの死活監視・セキュリティ監査結果を掲載し、Cursor・Claude Code・VS Code・ChatGPT など 10 のクライアントへのMCP接続手順を解説します。

https://api.githubcopilot.com/mcp/
提供元
GitHub ↗
カテゴリ
🛠️ 開発者ツール・Git
Streamable HTTPhttps://api.githubcopilot.com/mcp/
Install in Cursor →

Or add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "github": {
      "url": "https://api.githubcopilot.com/mcp/"
    }
  }
}

🧰 GitHub のMCPツールとスキーマ(92)

ToolSafetyDescriptionParameters
get_me
~32 tok
🟢 ReadGet details of the authenticated GitHub user.—
get_teams
~36 tok
🟢 ReadGet details of the teams the authenticated user belongs to.—
get_team_members
~33 tok
🟢 ReadGet member usernames of a specific team.—
search_repositories
~40 tok
🟢 ReadSearch GitHub repositories by keyword, language and qualifiers.—
search_code
~32 tok
🟢 ReadSearch code across GitHub repositories.—
search_issues
~35 tok
🟢 ReadSearch issues across GitHub with qualifier support.—
search_pull_requests
~33 tok
🟢 ReadSearch pull requests across GitHub.—
search_users
~27 tok
🟢 ReadSearch GitHub users.—
search_orgs
~29 tok
🟢 ReadSearch GitHub organizations.—
get_file_contents
~38 tok
🟢 ReadRead the contents of a file or directory from a repository.—
create_or_update_file
~36 tok
🟠 WriteCreate or update a single file in a repository.—
push_files
~36 tok
🟠 WritePush multiple files in a single commit to a repository.—
delete_file
~30 tok
🔴 DestructiveDelete a file from a repository.—
create_repository
~35 tok
🟠 WriteCreate a new GitHub repository in your account.—
fork_repository
~36 tok
🟠 WriteFork a repository to your account or an organization.—
create_branch
~32 tok
🟠 WriteCreate a new branch in a repository.—
list_branches
~30 tok
🟢 ReadList branches in a repository.—
get_commit
~28 tok
🟢 ReadGet details of a commit.—
list_commits
~33 tok
🟢 ReadList commits of a branch in a repository.—
list_tags
~29 tok
🟢 ReadList git tags in a repository.—
get_tag
~27 tok
🟢 ReadGet details of a git tag.—
list_releases
~30 tok
🟢 ReadList releases in a repository.—
get_latest_release
~34 tok
🟢 ReadGet the latest release in a repository.—
get_release_by_tag
~30 tok
🟢 ReadGet a release by tag name.—
list_issues
~32 tok
🟢 ReadList issues in a repository with filters.—
get_issue
~30 tok
🟢 ReadGet details of a specific issue.—
get_issue_comments
~30 tok
🟢 ReadList comments on an issue.—
create_issue
~31 tok
🟠 WriteOpen a new issue in a repository.—
update_issue
~36 tok
🟠 WriteUpdate an existing issue's title, body, state or labels.—
add_issue_comment
~30 tok
🟠 WriteAdd a comment to an issue.—
list_issue_types
~36 tok
🟢 ReadList available issue types for the repository owner.—
list_sub_issues
~30 tok
🟢 ReadList sub-issues of an issue.—
add_sub_issue
~32 tok
🟠 WriteAdd an existing issue as a sub-issue.—
remove_sub_issue
~33 tok
🟠 WriteRemove a sub-issue from a parent issue.—
reprioritize_sub_issue
~34 tok
🟠 WriteReorder a sub-issue inside its parent.—
list_pull_requests
~33 tok
🟢 ReadList pull requests in a repository.—
get_pull_request
~31 tok
🟢 ReadGet details of a pull request.—
get_pull_request_files
~34 tok
🟢 ReadList files changed by a pull request.—
get_pull_request_diff
~32 tok
🟢 ReadGet the diff of a pull request.—
get_pull_request_status
~33 tok
🟢 ReadGet CI status of a pull request.—
get_pull_request_reviews
~33 tok
🟢 ReadList reviews on a pull request.—
get_pull_request_review_comments
~37 tok
🟢 ReadList review comments on a pull request.—
get_pull_request_comments
~34 tok
🟢 ReadList comments on a pull request.—
create_pull_request
~31 tok
🟠 WriteCreate a new pull request.—
update_pull_request
~35 tok
🟠 WriteUpdate a pull request's title, body or state.—
update_pull_request_branch
~37 tok
🟠 WriteUpdate a PR head branch with the base branch.—
merge_pull_request
~29 tok
🔴 DestructiveMerge a pull request.—
create_pending_pull_request_review
~38 tok
🟠 WriteStart a pending review on a pull request.—
add_comment_to_pending_review
~38 tok
🟠 WriteAdd a comment to a pending pull request review.—
submit_pending_pull_request_review
~37 tok
🟠 WriteSubmit a pending pull request review.—
delete_pending_pull_request_review
~37 tok
🔴 DestructiveDelete a pending pull request review.—
create_and_submit_pull_request_review
~42 tok
🟠 WriteCreate and submit a pull request review in one call.—
request_copilot_review
~37 tok
🟠 WriteRequest a Copilot code review on a pull request.—
list_discussions
~36 tok
🟢 ReadList discussions in a repository or organization.—
get_discussion
~30 tok
🟢 ReadGet a discussion by number.—
get_discussion_comments
~33 tok
🟢 ReadList comments on a discussion.—
list_discussion_categories
~33 tok
🟢 ReadList discussion categories.—
list_workflows
~34 tok
🟢 ReadList GitHub Actions workflows in a repository.—
run_workflow
~30 tok
🟠 WriteTrigger a workflow_dispatch run.—
list_workflow_runs
~32 tok
🟢 ReadList workflow runs with filters.—
get_workflow_run
~31 tok
🟢 ReadGet details of a workflow run.—
rerun_workflow_run
~31 tok
🟠 WriteRe-run an entire workflow run.—
rerun_failed_jobs
~34 tok
🟠 WriteRe-run only failed jobs of a workflow run.—
cancel_workflow_run
~32 tok
🔴 DestructiveCancel a running workflow run.—
list_workflow_jobs
~31 tok
🟢 ReadList jobs of a workflow run.—
get_job_logs
~30 tok
🟢 ReadDownload logs of a workflow job.—
get_workflow_run_logs
~33 tok
🟢 ReadDownload logs of a workflow run.—
get_workflow_run_usage
~34 tok
🟢 ReadGet usage metrics of a workflow run.—
list_workflow_run_artifacts
~37 tok
🟢 ReadList artifacts produced by a workflow run.—
download_workflow_run_artifact
~35 tok
🟢 ReadDownload a workflow run artifact.—
list_code_scanning_alerts
~36 tok
🟢 ReadList code scanning alerts of a repository.—
get_code_scanning_alert
~34 tok
🟢 ReadGet details of a code scanning alert.—
list_secret_scanning_alerts
~37 tok
🟢 ReadList secret scanning alerts of a repository.—
get_secret_scanning_alert
~35 tok
🟢 ReadGet details of a secret scanning alert.—
list_dependabot_alerts
~35 tok
🟢 ReadList Dependabot alerts of a repository.—
get_dependabot_alert
~33 tok
🟢 ReadGet details of a Dependabot alert.—
list_repository_security_advisories
~39 tok
🟢 ReadList repository-level security advisories.—
list_org_repository_security_advisories
~40 tok
🟢 ReadList security advisories for an organization.—
list_global_security_advisories
~37 tok
🟢 ReadList GitHub global security advisories.—
get_global_security_advisory
~37 tok
🟢 ReadGet details of a global security advisory.—
list_notifications
~30 tok
🟢 ReadList GitHub notifications.—
get_notification_details
~35 tok
🟢 ReadGet details of a notification thread.—
dismiss_notification
~32 tok
🟠 WriteDismiss a notification thread.—
mark_all_notifications_read
~34 tok
🟠 WriteMark all notifications as read.—
manage_notification_subscription
~38 tok
🟠 WriteManage a notification thread subscription.—
manage_repository_notification_subscription
~41 tok
🟠 WriteManage repository notification subscription.—
create_gist
~27 tok
🟠 WriteCreate a new gist.—
list_gists
~31 tok
🟢 ReadList gists of the authenticated user.—
update_gist
~28 tok
🟠 WriteUpdate an existing gist.—
assign_copilot_to_issue
~34 tok
🟠 WriteAssign Copilot to work on an issue.—
label_write
~37 tok
🟠 WriteAdd, remove or replace labels on an issue or pull request.—
get_label
~27 tok
🟢 ReadGet a repository label.—

🛡️ セキュリティ評価・品質・コンテキスト監査

🛡️ セキュリティ評価 A+コンテキスト消費トークン: ~3096 tokens(このサーバーの 92 ツール定義が毎回のシステムプロンプトに注入)

呼び出しあたりのトークンコストを試算 →

  • No prompt-injection or hidden-character anomalies detected in tool descriptions
  • Streamable HTTP primary endpoint (current 2025-03-26 transport)
  • OAuth 2.1 with PKCE S256 enforced
  • Official first-party endpoint operated by the vendor
  • Manually verified by RemoteMCP.net

🔐 OAuth 2.1 とセキュリティ

認証方式
OAuth 2.1
動的クライアント登録(DCR)
✅ 対応
PKCE S256
✅ 対応
Scopes
reporead:orgread:userworkflow
保護リソースメタデータ
https://api.githubcopilot.com/.well-known/oauth-protected-resource
OAuth 2.1 設定を監査 →

📡 公式リモートエンドポイントとトランスポート

リモートエンドポイント https://api.githubcopilot.com/mcp/ は Streamable HTTP(2025-03-26 仕様) を採用。Streamable HTTP は単一の POST エンドポイントで JSON-RPC の双方向通信を完結する現行推奨トランスポートで、npx mcp-remote ブリッジなしに Claude・Cursor・VS Code などへ URL だけでMCP接続できます。

接続前にエンドポイントを オンライン MCP Inspector に貼り付けて initialize / tools/list のハンドシェイクを確認することを推奨します。

🔐 認証・権限フロー

認証方式は OAuth 2.1 です。初回接続時にクライアントが 401 チャレンジを受け取り、WWW-Authenticate ヘッダーから RFC 9728 の保護リソースメタデータを解決。続けて認可サーバー発見(RFC 8414)、動的クライアント登録(DCR)、PKCE S256 によるブラウザ認可が自動で行われます。ブラウザで一度承認するだけで、キーの手動貼り付けは不要です。

🛡️ コンテキスト消費とセキュリティ監査

このサーバーには現在 92 個のツールが登録されており、定義の合計は約 3096 トークン。リクエストごとにモデルのシステムプロンプトへ注入されます。セキュリティ評価は A+(公式運営ソース)。ツール名とスキーマが簡潔なほどコンテキストウィンドウへの「税」は低くなります。feecalculator.app で呼び出しあたりのコストも試算できます。

🧩 主要クライアントへのMCP接続

GitHub MCP について、Cursor / Claude Code / VS Code / ChatGPT / Windsurf / Kiro / Codex / Cline / Gemini など 10 クライアント向けの設定を自動生成しています。ワンクリック deeplink、claude mcp add コマンド、JSON / TOML スニペットから選べます。代表的なツール:get_me、get_teams、get_team_members、search_repositories、search_code など。

📖 GitHub の詳細

GitHub MCP — Remote MCP Server

GitHub's remote MCP is the same backend that powers Copilot's repository tools in VS Code, so coverage is broad: repository search, file contents, issues, pull requests and more. Because it is hosted by GitHub you do not need to run the open-source github-mcp-server binary locally, generate a PAT, or manage scopes yourself — the OAuth 2.1 consent screen handles authorization.

Official GitHub MCP Endpoint & Transport Architecture

  • Endpoint URL: https://api.githubcopilot.com/mcp/
  • Transport: Streamable HTTP

Streamable HTTP is the current MCP transport (2025-03-26 spec): a single URL accepts JSON-RPC POSTs and may stream responses over SSE, so one endpoint serves both simple and streaming workloads. GitHub MCP does not publish a separate legacy SSE endpoint, so your client must speak Streamable HTTP.

Authentication, Scopes & Permission Boundaries

GitHub MCP uses OAuth 2.1 — the first request returns a 401 Unauthorized challenge with a WWW-Authenticate header pointing at the authorization metadata. Compliant clients (Cursor, Claude, VS Code, ChatGPT) handle the whole flow — PKCE and Dynamic Client Registration, so no manual client setup is needed — and simply open a browser consent screen.

Of the 5 cataloged tools, 3 are read-only and 2 can write or mutate state (create resources, run SQL, post messages). Grant access only to the accounts and projects you intend agents to act on, and prefer scoped credentials or a dedicated workspace where the provider supports them.

Common Troubleshooting & Connection Tips

  • 401 Unauthorized on connect — that's expected; the server is OAuth-protected. Let your client complete the browser consent flow, or inspect the endpoint in our OAuth debugger to see the exact WWW-Authenticate challenge.
  • "Session expired" / stale Mcp-Session-Id — just re-send initialize; stateless clients can ignore session headers entirely.
  • Requires a GitHub account; a Copilot subscription is not required for the public preview endpoint.
  • Toolsets can be restricted by passing a custom configuration if you only want read-only repository access.

🚀 GitHub MCP リモートMCPへの接続方法

  1. リモートエンドポイントを取得 — 公式エンドポイント https://api.githubcopilot.com/mcp/ をコピーします。
  2. クライアント設定に追加 — Cursor の mcp.json / Claude Code CLI / 各クライアントに URLを追加します(下記クライアント別ガイド参照)。
  3. 認可して検証 — ブラウザで OAuth 認可を完了後、当サイトの Inspector で initialize と tools/list を実行して接続を確認します。

🔌 GitHub × クライアント別MCP接続ガイド

❓ よくある質問

GitHub MCP のリモートMCPサーバーは公式ですか?

このエントリは「公式運営」と表示されています。エンドポイントは GitHub 公式が運営しています。掲載エンドポイントはすべて実際の MCP initialize ハンドシェイクで検証済みです。

Claude / Cursor で GitHub MCP にMCP接続するには?

リモートエンドポイント https://api.githubcopilot.com/mcp/ をコピーします。Claude Code では claude mcp add --transport http github https://api.githubcopilot.com/mcp/ を実行。Cursor ではワンクリック deeplink か ~/.cursor/mcp.json に { "mcpServers": { "github": { "url": "https://api.githubcopilot.com/mcp/" } } } を追加します。初回呼び出し時に OAuth 2.1 の認可画面が自動で開きます。

接続時に 401 が返る/キーを要求される場合は?

401 は OAuth 2.1 による正常なチャレンジです。クライアントが RFC 9728 メタデータに従って自動的に認可を行います。認可が途中で止まる場合は OAuth 2.1 Debugger で PRM / DCR / CORS の設定を確認してください。

ローカル stdio MCP とリモート MCP の違いは?

ローカル MCP は npx / uvx で起動する stdio 子プロセスで、ローカルランタイムが必要で API キーを平文で設定ファイルに書きます。リモート MCP は GitHub がホストする HTTPS エンドポイントで、インストール不要・OAuth 2.1 対応・同一 URL をデスクトップとモバイルで共用できます。詳しくは ローカル vs リモート MCP 比較 をご覧ください。

🔗 関連するリモートMCPサーバー