GitHub Actions MCP Server

Trigger workflows, check run status, and manage CI/CD from Claude Desktop

Community code cloud community

The GitHub Actions MCP server lets Claude and other MCP-compatible agents interact with your GitHub Actions CI/CD pipelines. You can trigger workflow runs, query run history, fetch job logs, and cancel stuck runs — all from a natural-language prompt.

This is particularly useful for agentic coding workflows: after Claude edits your code, it can push a commit and immediately watch the Actions run to verify tests pass.

Prerequisites

Installation & Configuration

Add this block to your claude_desktop_config.json:

{
  "mcpServers": {
    "github-actions": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-github"],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_yourTokenHere"
      }
    }
  }
}

Config file location:

Available Tools (5)

Use Cases

Tips & Gotchas

Tip: Use a fine-grained personal access token scoped to specific repositories rather than a classic token — it limits blast radius if the token leaks.
Gotcha: create_workflow_dispatch only works for workflows that have a workflow_dispatch trigger defined in their YAML. If the trigger is missing you'll get a 422 error.
Tip: The GitHub MCP server also covers Issues, PRs, code search, and file access — you get the full GitHub API through one config entry, not just Actions.

Source & Documentation

GitHub Repository: https://github.com/modelcontextprotocol/servers/tree/main/src/github

Protocol: Model Context Protocol (MCP) — modelcontextprotocol.io

MCP Setup Pack — $15
20 ready-to-paste server configs + installer + doctor script
Get the Pack →
← Back to MCP Server Directory