インストール不要。2分以内に動きます。
cloud.anythingmcp.com で無料トライアルを開始し、GitHub をワンクリックで追加して、AI クライアント(Claude、ChatGPT、Copilot、Cursor)を生成された MCP エンドポイントに向けるだけ。Docker も git clone も、開発経験も不要です。
概要
GitHub 公式の MCP サーバーを通じて、Claude、ChatGPT、Copilot から GitHub を操作できます。コードやコミットの閲覧、リポジトリ検索、Issue のトリアージ、プルリクエストの作成とレビューに対応します。
こう聞いてみよう
GitHub のサンプルプロンプト
プロンプトをクリックでコピー。Claude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw に貼り付けて、このコネクターで実行できます。
Claude は AI のため誤ることがあります。回答をご確認ください。
💡 インストール不要? cloud.anythingmcp.com を直接利用してください。 サインインし、Connectors → GitHub をクリック、認証情報を貼り付け、MCP API キーを発行 — 完了です。Docker も
git cloneもローカルサーバーも不要。
GitHub + Meta Muse
GitHub 公式の MCP サーバーを通じて、Claude、ChatGPT、Copilot から GitHub を操作できます。コードやコミットの閲覧、リポジトリ検索、Issue のトリアージ、プルリクエストの作成とレビューに対応します。
前提条件
完全なセットアップ手順はコネクタ自体に組み込まれています (ストアでコネクタを選択すると表示)。必要な環境変数:
GITHUB_PAT
ステップ 1 — 認証情報を取得
AnythingMCP は、personal access token を使って GitHub 公式のリモート MCP サーバー (https://api.githubcopilot.com/mcp/) に接続します。ツールは GitHub のサーバーが提供します。インストール時に AnythingMCP が最新のツール一覧を読み込み、すべてのツールに github_ プレフィックスが付きます。GitHub がツールを追加したら、コネクタを開いて Discover tools をクリックしてください。
- GitHub で Settings → Developer settings → Personal access tokens → Fine-grained tokens → Generate new token を開きます (直接リンク)。resource owner (自分のアカウントまたは組織)、有効期限を選び、Only select repositories で AI にアクセスさせるリポジトリだけを指定します。
- Repository permissions で Contents、Issues、Pull requests を Read-only に設定します。AI にブランチ作成、コミット、Issue やプルリクエストの作成をさせる場合は Read and write にします。Metadata (読み取り専用) は自動で追加されます。
github_get_teamsとgithub_get_team_membersを使うには、組織の権限 Members: Read-only も追加します。 - owner が組織の場合、先に組織のオーナーがトークンを承認する必要があることがあります (組織の Settings → Personal access tokens → Pending requests)。SAML シングルサインオンを使う組織では、トークンを SSO 用に承認する必要もあります。
- トークンを
GITHUB_PATに貼り付けてインストールします。クラシックトークン (ghp_…、スコープrepo、チーム用にread:org) も使えますが、アクセスできるすべてのリポジトリに届くため、fine-grained トークンのほうが安全です。
組織のポリシー: Copilot Business または Copilot Enterprise では、組織で MCP servers in Copilot ポリシーが有効になっている必要があります。組織は personal access token を制限でき、Enterprise Managed Users のエンタープライズでは無効化されている場合があります。データレジデンシー付きの GitHub Enterprise Cloud では、コネクタのベース URL を https://copilot-api.<your-subdomain>.ghe.com/mcp に変更します。GitHub Enterprise Server にはホスト型の MCP サーバーはありません。
ツールセットと読み取り専用モード: GitHub は既定で context、repos、issues、pull_requests、users のツールセットを提供します。変更するには、コネクタエディタでヘッダー X-MCP-Toolsets を追加します (例: repos,issues,pull_requests,actions、または all)。読み取りツールだけを公開するには X-MCP-Readonly: true を追加します。その後 Discover tools をクリックします。
インストール時に無効: github_merge_pull_request、github_push_files、github_create_or_update_file、github_delete_file。ツールセットのヘッダーで後から追加されるツール (リポジトリの削除など) も無効の状態で追加されます。どれもコネクタでツールごとに有効にできます。すべての操作はトークンの所有者として実行されます。公開リポジトリの Issue やプルリクエストの本文は信頼できない入力として扱ってください (X-MCP-Lockdown: true を付けると、push 権限のない作成者のコンテンツが非表示になります)。
最初の呼び出し: github_get_me でトークンの所有者を確認し、続いて github_search_repositories、github_get_file_contents、github_list_issues、github_pull_request_read を使います。401 はトークンが誤っている、期限切れ、または取り消されていることを示します。403 は権限不足、組織の承認や SSO 承認の保留、またはポリシーによるものです。プライベートリポジトリで 404 が返る場合、通常はトークンにそのリポジトリが含まれていません。
ステップ 2 — アダプターをインストール
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
ステップ 3 — Muse にコネクタを追加
サーバーURL: AnythingMCP で MCP Servers を開き、このコネクタがあるサーバーを選んで URL(
https://cloud.anythingmcp.com/mcp/…)をコピーします。このガイドでYOUR_SERVER_IDと表示されている箇所に使ってください。
Muse はリモート MCP サーバーをカスタムコネクタとして追加し、OAuth でサインインします。
- Muse で Settings → Connectors を開き、Add custom connector を選びます。
- MCP サーバーの URL
https://cloud.anythingmcp.com/mcp/YOUR_SERVER_IDを貼り付けます。 - Muse が AnythingMCP のサインインページを開きます。サインインしてアクセスを承認します。
- チャットで、
GitHubのツールが必要になる依頼を Muse にしてみましょう。
チャットから設定することもできます(Web、iOS・Android アプリ、WhatsApp)。Muse に次のメッセージを送ってください:
Create a Custom Connector for a new remote MCP server, then connect to it:
Name: AnythingMCP
Transport: remote streamable HTTP
URL: https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID
Auth: OAuth
セルフホストの場合は、https://cloud.anythingmcp.com の代わりにインスタンスの公開 HTTPS アドレスを使ってください。Muse は Meta のクラウドから接続するため、localhost は使えません。
利用可能なツール
| Tool | What it does |
|---|---|
github_add_comment_to_pending_review | Add review comment to the requester's latest pending pull request review |
github_add_issue_comment | Add a comment and/or reaction to a specific issue or issue comment in a GitHub repository |
github_add_reply_to_pull_request_comment | Add a reply and/or reaction to an existing pull request comment |
github_create_branch | Create a new branch in a GitHub repository, starting from from_branch or, when it is omitted, from the repository's default branch |
github_create_or_update_file | Create or update a single file in a GitHub repository |
github_create_pull_request | Create a new pull request in a GitHub repository from the head branch into the base branch, optionally as a draft and with reviewers… |
github_create_repository | Create a new GitHub repository in your account or specified organization |
github_delete_file | Delete a file from a GitHub repository by committing its removal to the given branch with a commit message |
github_fork_repository | Fork a GitHub repository to your account or specified organization |
github_get_commit | Get details for a commit from a GitHub repository: message, author and, depending on detail, the stats or the full patch of the changed… |
github_get_file_contents | Get the contents of a file or directory from a GitHub repository |
github_get_label | Get a specific label from a repository by its name, with its color and description |
github_get_latest_release | Get the latest release in a GitHub repository, with its tag, name, release notes and assets |
github_get_me | Get details of the authenticated GitHub user |
github_get_release_by_tag | Get a specific release by its tag name in a GitHub repository |
github_get_tag | Get details about a specific git tag in a GitHub repository, including the object the tag points to |
github_get_team_members | Get member usernames of a specific team in an organization |
github_get_teams | Get details of the teams the user is a member of |
github_issue_read | Get information about a specific issue in a GitHub repository |
github_issue_write | Create a new or update an existing issue in a GitHub repository |
github_list_branches | List branches in a GitHub repository with the commit each one points to; paginated with page and perPage |
github_list_commits | Get list of commits of a branch in a GitHub repository |
github_list_issue_fields | List issue fields for a repository or organization |
github_list_issue_types | List supported issue types for a repository or its owner organization |
github_list_issues | List issues in a GitHub repository |
github_list_pull_requests | List pull requests in a GitHub repository |
github_list_releases | List releases in a GitHub repository with their tags, names and release notes; paginated with page and perPage |
github_list_repository_collaborators | List collaborators of a GitHub repository |
github_list_tags | List git tags in a GitHub repository with the commit each tag points to; paginated with page and perPage |
github_merge_pull_request | Merge a pull request in a GitHub repository with the merge, squash or rebase method, optionally only while its head is still expectedHeadSha |
(showing 30 of 46 tools — install the connector to see them all)
FAQ
Muse はどこで使えますか? Meta は現在、Muse を米国とカナダで提供しています。Web、iOS・Android アプリ、WhatsApp で利用できます。
Meta はこのコネクタを審査しますか? いいえ。Meta はカスタムコネクタを審査しません。Muse に見えるのは、AnythingMCP でこの MCP サーバーに対して有効にしたツールだけです。コネクタはいつでも Settings → Connectors で切断できます。
次のステップ
このガイドは役に立ちましたか?