GitHub Actions MCPサーバー
✓ 検証済みAIアシスタントから直接、GitHub Actionsワークフローの実行一覧取得、ログの読み取り、失敗したジョブの再実行、デプロイのトリガーなどの管理を行えます。
別名 ofershap/mcp-server-github-actions, mcp-server-github-actions
- スター
- 5
- ツール
- 9
- ダウンロード数(30日間)
- —
- 最新バージョン
- 1.0.1
- 最終コミット
- 2026年8月10日
- ライセンス
- MIT
GitHub Actions MCPとは
GitHub ActionsはMCPサーバーです。 AIアシスタントから直接、GitHub Actionsワークフローの実行一覧取得、ログの読み取り、失敗したジョブの再実行、デプロイのトリガーなどの管理を行えます。. 9個のツールを提供しており、list_workflows, list_runs, get_runなどがあります。
プロジェクトのREADMEから生成された概要
GitHub Actions MCP server について
Claude Desktop、Cursor、またはVS Code Copilotを使用している開発者が、コーディング環境から直接CI/CDパイプラインを管理できるようにするのがこのサーバーの役割です。公式のGitHub MCP実装がIssueやプルリクエストに焦点を当てている一方で、このツールはGitHub Actionsワークフローを明確なターゲットとしています。ブラウザに切り替えることなく、ビルドの監視、ログの調査、自動化のライフサイクル管理が行えます。
ユーザーは、環境変数を通じてActionsの読み取りおよび書き込み権限を持つGitHub Personal Access Tokenを提供することで、サーバーに接続します。設定完了後は、list_runsでステータスを確認したり、get_run_logsでログファイルにアクセスしたり、rerun_failed_jobsで失敗したビルドを修正したりといったツールが利用可能です。また、実行中のワークフローのキャンセル、ワークフローアーティファクトの一覧取得、workflow_dispatchを介したtrigger_workflowによるデプロイの開始など、より高度な操作もサポートしています。
できること
- 1失敗したCIビルドのデバッグログを調査して、直近の継続的インテグレーションの実行が失敗した理由をアシスタントに尋ねることができます。
- 2中断されたワークフローからの復旧前回の実行で正常に完了しなかった特定のジョブのみを再起動するようAIに指示できます。
- 3手動デプロイの実行自然言語によるコマンドを使用して、指定したブランチで特定のデプロイワークフローをトリガーできます。
- 4ワークフローアクティビティの監視リポジトリ内の利用可能なすべてのワークフローファイル、または最近の実行履歴の一覧を取得できます。
プロジェクトの README から作成されています。すべてのユースケースは、その引用と照らし合わせて確認されています。
GitHub Actions MCPのインストール方法
フォーマット検証日 2026年11月10日Cursor に追加Gooseに追加Claude CodeにGitHub Actions MCPをインストール
$ claude mcp add mcp-server-github-actions -- npx -y mcp-server-github-actionsCursorにGitHub Actions MCPをインストール
~/.cursor/mcp.json
{
"mcpServers": {
"mcp-server-github-actions": {
"command": "npx",
"args": [
"-y",
"mcp-server-github-actions"
]
}
}
}VS CodeにGitHub Actions MCPをインストール
.vscode/mcp.json
{
"servers": {
"mcp-server-github-actions": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-server-github-actions"
]
}
}
}VS Code CLIにGitHub Actions MCPをインストール
$ code --add-mcp '{"name":"mcp-server-github-actions","type":"stdio","command":"npx","args":["-y","mcp-server-github-actions"]}'Claude DesktopにGitHub Actions MCPをインストール
claude_desktop_config.json
{
"mcpServers": {
"mcp-server-github-actions": {
"command": "npx",
"args": [
"-y",
"mcp-server-github-actions"
]
}
}
}CodexにGitHub Actions MCPをインストール
$ codex mcp add mcp-server-github-actions -- npx -y mcp-server-github-actionsCodex config.tomlにGitHub Actions MCPをインストール
~/.codex/config.toml
[mcp_servers.mcp-server-github-actions] command = "npx" args = ["-y", "mcp-server-github-actions"]
Gemini CLIにGitHub Actions MCPをインストール
$ gemini mcp add -s user mcp-server-github-actions npx -- -y mcp-server-github-actionsGemini settings.jsonにGitHub Actions MCPをインストール
~/.gemini/settings.json
{
"mcpServers": {
"mcp-server-github-actions": {
"command": "npx",
"args": [
"-y",
"mcp-server-github-actions"
]
}
}
}GitHub Actions MCPツール 9
READMEから検出list_workflowslist_runsget_runget_run_logsrerun_workflowrerun_failed_jobscancel_runlist_artifactstrigger_workflow
| list_workflows | — | |
| list_runs | — | |
| get_run | — | |
| get_run_logs | — | |
| rerun_workflow | — | |
| rerun_failed_jobs | — | |
| cancel_run | — | |
| list_artifacts | — | |
| trigger_workflow | — |
設定
GITHUB_TOKEN
| 名前 | 説明 | 種類 |
|---|---|---|
| GITHUB_TOKEN | — |
自動チェック
実行日 2026年11月14日完全なレポート →自動チェックに合格しました。これはセキュリティ監査ではありません。コードを読み、サーバーに必要最小限のアクセス権を与えてください。 チェックの仕組み
- ソースリポジトリがリンクされており、アクセス可能ofershap/mcp-server-github-actions is public and reachablegithub.com/ofershap/mcp-server-github-actions ↗合格
- パッケージがこのリポジトリをソースとして指定mcp-server-github-actions names ofershap/mcp-server-github-actions as sourcenpmjs.com/package/mcp-server-github-actions ↗合格
- ビルドの来歴 (Sigstore 証明)No build attestation published for this release未チェック
- オープンソースライセンス (OSI)MITspdx.org/licenses/MIT.html ↗合格
- 過去1年以内にコミットまたはリリースありLast commit or release 2026-08-10github.com/ofershap/mcp-server-github-actions ↗合格
- OpenSSF Scorecard未チェック
- パッケージ名が有名なパッケージに酷似していないNo popular package one edit away from mcp-server-github-actions合格
- パッケージおよびその依存関係に重大な勧告なし99 resolved dependencies checked; no critical advisoryosv.dev ↗合格
- モデルへの隠れた指示がない9 tool descriptions and the README read; no override phrases, credential paths or hidden characters合格
- 破壊的なツールがラベル付けされているNo tool named like delete, drop or exec合格
- リモートエンドポイントが MCP ハンドシェイクに応答未チェック
README
GitHubで見るmcp-server-github-actions
Manage GitHub Actions workflows from your AI assistant. List runs, read logs, re-run failed jobs, cancel builds, and trigger deployments without leaving your editor.
npx mcp-server-github-actions
Works with Claude Desktop, Cursor, VS Code Copilot, and any MCP client. Requires a GitHub token with Actions permissions.

Demo built with remotion-readme-kit
Why
GitHub's official MCP server covers repos, issues, and PRs, but it doesn't touch Actions. That means when your CI fails, you still have to open a browser, find the run, click through to the logs, and figure out what went wrong. This server fills that gap. You can ask your assistant "why did the last CI run fail?" or "re-run the failed jobs" and get answers right where you're working. It uses the same GitHub REST API you'd use manually, just without the context switching.
Tools
| Tool | Description |
|---|---|
list_workflows |
List all workflow files in a repository |
list_runs |
List workflow runs (optionally filter by workflow or status) |
get_run |
Get details of a specific workflow run |
get_run_logs |
Get the logs URL for a run (zip file download) |
rerun_workflow |
Re-run an entire workflow run |
rerun_failed_jobs |
Re-run only the failed jobs from a run |
cancel_run |
Cancel an in-progress or queued run |
list_artifacts |
List artifacts produced by a workflow run |
trigger_workflow |
Trigger a workflow via workflow_dispatch |
Quick Start
Cursor
Add to your Cursor MCP settings (e.g. ~/.cursor/mcp.json or project-level):
{
"mcpServers": {
"github-actions": {
"command": "npx",
"args": ["-y", "mcp-server-github-actions"],
"env": {
"GITHUB_TOKEN": "<your-token>"
}
}
}
}
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"github-actions": {
"command": "npx",
"args": ["-y", "mcp-server-github-actions"],
"env": {
"GITHUB_TOKEN": "<your-token>"
}
}
}
}
VS Code
Add to user settings or .vscode/mcp.json:
{
"mcp": {
"servers": {
"github-actions": {
"command": "npx",
"args": ["-y", "mcp-server-github-actions"],
"env": {
"GITHUB_TOKEN": "<your-token>"
}
}
}
}
}
Auth
Create a GitHub Personal Access Token:
- Settings > Developer settings > Personal access tokens
- Choose Fine-grained tokens (recommended) or Tokens (classic)
- Fine-grained: select your repos, then enable Actions: Read and Write
- Classic: enable the
reposcope (includes Actions)
Agent Plugins
This repo is an Agent Plugins 1.0.0 package: plugin.json, portable mcp.json, and skills/ ship together with the MCP server.
For Cursor, clone the repo and copy or symlink it to ~/.cursor/plugins/local/mcp-server-github-actions, then reload the window. Skills and MCP show up under Customize > Plugins.
Agent Plugins v1 does not ship OAuth. Set GITHUB_TOKEN in your MCP client config (see Quick Start). One-click Cursor/VS Code install is not offered because the token must stay in env.
FAQ
What is mcp-server-github-actions?
An MCP server for GitHub Actions: list runs, fetch run details, re-run failed jobs, cancel runs, list artifacts, and trigger workflow_dispatch.
What token do I need?
A GitHub PAT with Actions read/write on the repos you manage. Set GITHUB_TOKEN in the MCP server env block.
How is this different from the official GitHub MCP?
The official server covers repos, issues, and PRs. This one focuses on workflow runs, logs URLs, reruns, and dispatch triggers.
Can I install it as an Agent Plugin in Cursor?
Yes, via ~/.cursor/plugins/local/mcp-server-github-actions. You still configure GITHUB_TOKEN in Cursor MCP settings.
Why is there no one-click install button?
The token cannot be embedded safely in a portable install link. Use the JSON snippet under Quick Start.
Example Prompts
- "List the last 5 workflow runs for ofershap/mcp-server-docker"
- "Show me the workflows in the microsoft/vscode repo"
- "Get details for run 12345 in owner/repo"
- "Re-run the failed jobs for run 67890 in my-org/my-repo"
- "Cancel the currently running workflow run 11111"
- "List artifacts from the latest run in owner/repo"
- "Trigger the deploy.yml workflow on the staging branch for my-org/my-app"
- "What's the status of the most recent CI run for this project?"
Development
npm install
npm run typecheck
npm run build
npm test
npm run lint
npm run format
See also
More MCP servers and developer tools on my portfolio.
Author
README built with README Builder
License
MIT © 2026 Ofer Shapira
GitHub Actions MCPのよくある質問
GitHub Actions MCPをClaude Codeに追加するには
ターミナルでclaude mcp add mcp-server-github-actions -- npx -y mcp-server-github-actionsを実行します。すべてのプロジェクトで利用するには--scope userを追加します。
GitHub Actions MCPをCursorに追加するには
~/.cursor/mcp.jsonを開き、上記のインストールセクションに示すCursor設定を使ってmcpServersの下にサーバーを追加します。
GitHub Actions MCPが提供するツールは
9個のツールを提供しており、list_workflows, list_runs, get_run, get_run_logs, rerun_workflowなどがあります。
mcp-server-github-actionsとは何ですか?
実行一覧の取得、実行詳細の取得、失敗したジョブの再実行、実行のキャンセル、アーティファクトの一覧取得、およびworkflow_dispatchによるワークフローのトリガーを可能にするMCP serverです。
このサーバーを使用するにはどのトークンが必要ですか?
管理対象のリポジトリに対して、Actionsの読み取りおよび書き込み権限を持つGitHub Personal Access Token (PAT)が必要です。
公式のGitHub MCP serverとは何が違うのですか?
公式サーバーがリポジトリ、Issue、プルリクエストを扱うのに対し、このサーバーはワークフローの実行、ログ、再実行、およびディスパッチトリガーに特化しています。
CursorのAgent Pluginとしてインストールできますか?
はい、~/.cursor/plugins/local/mcp-server-github-actions を介してインストール可能です。ただし、CursorのMCP設定でGITHUB_TOKENを構成する必要があります。