GitHub Actions

v1.0.0Version Controlstable

An 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.

github-actions-mcp-servermcpai-integration
Share:
41
Stars
0
Downloads
0
Weekly
0/5

What is GitHub Actions?

GitHub Actions is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to 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.

An 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.

This server falls under the Version Control category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • An MCP server that enables AI assistants to manage GitHub Ac

Use Cases

List, view, and trigger GitHub Actions workflows.
Cancel and rerun workflows through AI assistants.
Automate GitHub workflow management.
ko1ynnky

Maintainer

LicenseMIT License
Languagetypescript
Versionv1.0.0
UpdatedApr 5, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx github-actions-mcp-server

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use GitHub Actions

GitHub Actions MCP Server enables AI assistants to manage GitHub Actions CI/CD workflows through the GitHub API, exposing nine tools for listing, viewing, triggering, canceling, and rerunning workflows and their runs. Instead of navigating the GitHub web UI or writing curl commands, developers can ask their AI assistant to check workflow status, trigger deployments, inspect failed job logs, and rerun pipelines directly in their conversation. It is particularly useful for DevOps engineers who want to monitor build status and manage CI/CD pipelines without context-switching out of their AI coding environment.

Prerequisites

  • A GitHub account with repositories that have Actions workflows
  • A GitHub Personal Access Token (PAT) with 'workflow' scope for triggering and managing workflows, or 'actions:read' scope for read-only access
  • Node.js 18 or newer and npm installed
  • Claude Desktop, Cursor, Windsurf, or another MCP-compatible client
1

Clone and build the server

Clone the repository and build the TypeScript source.

git clone https://github.com/ko1ynnky/github-actions-mcp-server.git
cd github-actions-mcp-server
npm install
npm run build
2

Create a GitHub Personal Access Token

Go to github.com > Settings > Developer Settings > Personal Access Tokens > Tokens (classic). Create a new token with the 'workflow' scope (required to trigger and cancel runs) and 'repo' scope (required to read private repo workflows).

3

Configure Claude Desktop

Add the server to your Claude Desktop config file, providing the absolute path to the built server and your GitHub token.

{
  "mcpServers": {
    "github-actions": {
      "command": "node",
      "args": ["/Users/yourname/github-actions-mcp-server/build/index.js"],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_your_token_here"
      }
    }
  }
}
4

Configure Windsurf or Cursor (alternative)

For Windsurf, add the same configuration to ~/.codeium/windsurf/mcp_config.json. The config format is identical.

{
  "mcpServers": {
    "github-actions": {
      "command": "node",
      "args": ["/Users/yourname/github-actions-mcp-server/build/index.js"],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_your_token_here"
      }
    }
  }
}
5

Restart your MCP client and test

Restart Claude Desktop to load the server. Ask it to list workflows in one of your repositories to confirm the connection is working.

GitHub Actions Examples

Client configuration

Claude Desktop configuration for the GitHub Actions MCP Server using a built local binary.

{
  "mcpServers": {
    "github-actions": {
      "command": "node",
      "args": ["/Users/yourname/github-actions-mcp-server/build/index.js"],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_your_token_here"
      }
    }
  }
}

Prompts to try

Natural language prompts for managing GitHub Actions workflows through the MCP server.

- "List all workflows in my-org/my-repo"
- "Show me the last 5 workflow runs for the CI workflow in my-org/my-repo"
- "Trigger the deploy.yml workflow on the main branch of my-org/my-repo"
- "Cancel the currently running workflow run #12345 in my-org/my-repo"
- "Rerun the failed workflow run #12344 in my-org/my-repo"
- "Show me the jobs and their status for workflow run #12345"

Troubleshooting GitHub Actions

403 Forbidden when triggering or canceling workflows

Your GitHub Personal Access Token must have the 'workflow' scope to trigger, cancel, or rerun workflows. Generate a new token at github.com > Settings > Developer Settings > Personal Access Tokens with the 'workflow' scope selected.

Workflows are listed but triggering returns 'workflow not found' or 422 errors

Workflow dispatch triggers only work on workflows that have 'on: workflow_dispatch' in their YAML definition. Check that the target workflow supports manual triggering. Also verify that you are using the correct workflowId — use the filename (e.g. 'ci.yml') or the numeric workflow ID.

npm run build fails on Windows

Use the Windows-specific build command: npm run build:win — or use the provided batch file run-server.bat which handles both building and running. Ensure you have a compatible Node.js version (18+) installed.

Frequently Asked Questions about GitHub Actions

What is GitHub Actions?

GitHub Actions is a Model Context Protocol (MCP) server that 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. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install GitHub Actions?

Follow the installation instructions on the GitHub Actions GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with GitHub Actions?

GitHub Actions works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is GitHub Actions free to use?

Yes, GitHub Actions is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Version Control MCP Servers

Explore all version control servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "github-actions-mcp-server": { "command": "npx", "args": ["-y", "github-actions-mcp-server"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use GitHub Actions?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides