GitHub ワークフローデバッガー MCP
GitHub API を使用して GitHub Actions ワークフローの障害を診断および修正するための Multi-Choice Prompt (MCP) ユーティリティ。
概要
このツールは、構造化された意思決定ツリーを通じて、GitHub Actions ワークフローの障害を診断および修正するのに役立ちます。GitHub API を使用してワークフロー実行情報を取得し、障害を分析し、実用的な解決策を提供します。
特徴
- リポジトリの最近の失敗したワークフロー実行を取得する
- ワークフロー実行ジョブとステップを分析する
- 一般的な失敗パターンを特定する
- 一般的な問題に対する具体的な解決策を提案する
- ワークフロー ファイルの表示と更新
インストール
Smithery経由でインストール
Smithery経由で Claude Desktop 用の githubworkflowmcp を自動的にインストールするには:
手動インストール
使用法
GitHub ワークフローデバッガー MCP は、モデルコンテキストプロトコル (MCP) をサポートする AI アシスタントで使用するために設計されています。GitHub Actions ワークフローの障害を診断および修正するために使用できるツールが複数用意されています。
必要な権限
このツールを使用するには、次の権限を持つ GitHub 個人アクセス トークン (PAT) が必要です。
repo
- プライベートリポジトリの完全な制御workflow
- GitHub Action ワークフローを更新する
このトークンをGITHUB_PERSONAL_ACCESS_TOKEN
という名前の環境変数として設定する必要があります。
構成
このツールを MCP 対応クライアントで使用する場合は、次のように構成できます。
<YOUR_TOKEN>
GitHub 個人アクセス トークンに置き換えます。
利用可能なツール
- get-failed-workflow-runs - リポジトリの最近の失敗したワークフロー実行を取得します
- get-workflow-run-jobs - 特定のワークフロー実行のジョブを取得します
- get-workflow-file - ワークフローファイルの内容を取得します
- update-workflow-file - 修正を加えてワークフローファイルを更新する
- analyze-workflow-failure - 失敗したワークフロー実行を分析し、修正を提案します
使用例
AI アシスタントで GitHub ワークフロー デバッガー MCP を使用する方法の例を次に示します。
- まず、最近失敗したワークフロー実行を取得します。
- 特定の失敗した実行を分析します。
- ワークフロー ファイルを表示します。
- ワークフロー ファイルを修正して更新します。
発達
前提条件
- Node.js 16以上
- npmまたはyarn
設定
プロジェクト構造
src/index.ts
- MCP サーバーのメインエントリポイントbuild/
- コンパイルされたJavaScriptファイル
ライセンス
ISC
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
実行ログを分析し、一般的な障害パターンを識別し、構造化された意思決定ツリーを通じて具体的な修正を提案することで、GitHub Actions ワークフローの障害を診断して修正するのに役立つユーティリティ。
Related MCP Servers
- -securityFlicense-qualityEnables interaction with GitHub through the GitHub API, supporting file operations, repository management, advanced search, and issue tracking with comprehensive error handling and automatic branch creation.Last updated -91TypeScript
- AsecurityFlicenseAqualityAn MCP server that enables AI assistants to manage GitHub Actions workflows by providing tools for listing, viewing, triggering, canceling, and rerunning workflows through the GitHub API.Last updated -9237TypeScript
- AsecurityFlicenseAqualityEnables comprehensive GitHub operations through natural language including file management, repository administration, issue tracking, and advanced code searching.Last updated -4711TypeScript
- -securityFlicense-qualityA set of tools allowing AI assistants to interact directly with GitHub, enabling automation of tasks like fetching user profiles, creating repositories, and managing pull requests.Last updated -Python