GG

github/github-mcp-server

Developer tools公式

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

3.4万 stars 5243 forks 品質 96 トレンド 91MIT

GitHubの公式MCPサーバー

概要

GitHub MCP ServerはAIツールをGitHubのプラットフォームに直接接続します。これにより、AIエージェント、アシスタント、チャットボットはリポジトリやコードファイルの読み取り、課題やPRの管理、コードの分析、ワークフローの自動化が可能になります。すべて自然言語による相互作用を通じて行われます。 - リポジトリ管理:コードの閲覧・クエリ、ファイルの検索、コミットの分析、アクセス可能なリポジトリ全体のプロジェクト構造の理解。- 問題・PR自動化:課題の作成、更新、プルリクエストの管理。AIにバグのトリアージ、コード変更のレビュー、プロジェクトボードの管理を任せます。- CI/CDおよびワークフローインテリジェンス:GitHub Actionsのワークフロー実行を監視し、ビルド失敗を分析し、リリースを管理し、開発パイプラインの洞察を得られます。- コード分析:セキュリティ調査結果の確認、Endabotのアラートレビュー、コードパターンの理解、コードベースの包括的な洞察を得る。

概要(AI 翻訳)

GitHub MCP ServerはAIツールをGitHubのプラットフォームに直接接続します。これにより、AIエージェント、アシスタント、チャットボットはリポジトリやコードファイルの読み取り、課題やPRの管理、コードの分析、ワークフローの自動化が可能になります。すべて自然言語による相互作用を通じて行われます。

ユースケース

  • リポジトリ管理:コードの閲覧・クエリ、ファイルの検索、コミットの分析、アクセス可能なリポジトリ全体のプロジェクト構造の理解。
  • 問題・PR自動化:問題やプルリクエストの作成、更新、管理。AIにバグのトリアージ、コード変更のレビュー、プロジェクトボードの維持を任せます。
  • CI/CD & ワークフローインテリジェンス:GitHub Actionsのワークフロー実行を監視し、ビルド失敗を分析し、リリースを管理し、開発パイプラインのインサイトを得られます。
  • コード分析:セキュリティ調査結果の検証、Dependabotアラートの確認、コードパターンの理解、コードベースの包括的な洞察を得る。
  • チームコラボレーション:ディスカッションへのアクセス、通知の管理、チーム活動の分析、チームのプロセスの効率化。

AIツールをGitHubのコンテキストや機能に結びつけたい開発者向けに作られており、シンプルな自然言語クエリから複雑な多段階エージェントワークフローまで対応可能です。

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

GitHub MCP Server

The GitHub MCP Server connects AI tools directly to GitHub’s platform. This gives AI agents, assistants, and chatbots the ability to read repositories and code files, manage issues and PRs, analyze code, and automate workflows. All through natural language interactions.

Use Cases

  • Repository Management: Browse and query code, search files, analyze commits, and understand project structure across any repository you have access to.
  • Issue & PR Automation: Create, update, and manage issues and pull requests. Let AI help triage bugs, review code changes, and maintain project boards.
  • CI/CD & Workflow Intelligence: Monitor GitHub Actions workflow runs, analyze build failures, manage releases, and get insights into your development pipeline.
  • Code Analysis: Examine security findings, review Dependabot alerts, understand code patterns, and get comprehensive insights into your codebase.
  • Team Collaboration: Access discussions, manage notifications, analyze team activity, and streamline processes for your team.

Built for developers who want to connect their AI tools to GitHub context and capabilities, from simple natural language queries to complex multi-step agent workflows.

Using the Go module

The Go module path is github.com/github/github-mcp-server/v2. Library consumers must use this prefix in imports, for example github.com/github/github-mcp-server/v2/pkg/github, and in go get commands. No /v2 subdirectory is needed when building from a repository checkout.

The existing v2.0.0 tag predates this module-path correction and cannot be used as a Go module. After this change is merged, a new release such as v2.0.1 must be tagged from a commit containing the corrected module path. Until then, consumers can use a pseudo-version from a commit containing this change.


Remote GitHub MCP Server

GitHub で README 全文を見る

インストール

docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN -e GITHUB_HOST ghcr.io/github/github-mcp-server
MCP 初心者?mcpskill.org のガイドから始めましょう →