github-actions-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@github-actions-mcpAnalyze the latest failed run in owner/repo"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
GitHub Actions MCP Server
An MCP (Model Context Protocol) server for analyzing GitHub Actions workflows and performance. This tool helps identify bottlenecks, failures, and optimization opportunities in your CI/CD pipelines.
Features
Workflow Discovery: List all workflows in a repository
Run Analysis: Get detailed information about workflow runs with filtering
Performance Analysis: Analyze workflow runs to identify slow jobs and failures
Timing Details: Get detailed timing information for jobs and steps
Related MCP server: GitHub Actions MCP
Installation
Clone this repository
Install dependencies:
bun installSet up your GitHub token:
cp .env.example .env # Edit .env and add your GitHub tokenBuild the project:
bun run build
Usage
Running the MCP Server
bun run startThe server communicates via stdio and can be integrated with MCP-compatible clients.
Development
The MCP Inspector provides a web-based interface to test your server:
# First, install dependencies
bun install
bun run devThis will open a web interface where you can:
View available tools
Test tool calls interactively
See request/response data
Debug tool schemas
Using with Claude Desktop
To use this MCP server with Claude Desktop, add the following configuration to your Claude Desktop settings:
{
"mcpServers": {
"github-actions": {
"command": "bun",
"args": ["run", "start"],
"cwd": "/path/to/your/github-actions-mcp",
"env": {
"GITHUB_TOKEN": "your_github_token_here"
}
}
}
}Important Notes:
Replace
/path/to/your/github-actions-mcpwith the actual path to your project directoryReplace
your_github_token_herewith your actual GitHub personal access tokenMake sure Bun is installed and available in your system PATH
Restart Claude Desktop after making configuration changes
After configuration, Claude Desktop will automatically connect to your MCP server and you'll be able to use commands like:
"List workflows in my repository owner/repo-name"
"Analyze the latest failed workflow run for owner/repo-name"
"Show me timing details for workflow run 123456"
GitHub Token Setup
Go to GitHub Settings > Developer settings > Personal access tokens
Generate a new token with the following permissions:
repo(Full control of private repositories)actions:read(Read access to actions and workflows)
Add the token to your
.envfile
This server cannot be deployed
Maintenance
Related MCP Connectors
Triage failing GitHub Actions jobs and see what self-heal repaired, in natural language.
Finds the GitHub Actions workflow eating your CI bill and suggests fix diffs, verified against runs.
Screens public GitHub repos and PRs to generate risk maps, findings, and merge-readiness signals.
GitHub Actions workflow security audit - 21 checks: pinning, permissions, secrets, injection.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceA utility that helps diagnose and fix GitHub Actions workflow failures by analyzing run logs, identifying common failure patterns, and suggesting specific fixes through a structured decision tree.1-
- AlicenseAqualityNot gradedmaintenanceConnects AI assistants to GitHub Actions workflows to monitor CI/CD pipelines, view run logs, diagnose failures, and optionally trigger or manage workflows with granular permission controls.101-
- AlicenseNot gradedqualityDmaintenanceReal-time GitHub Actions observability through VS Code with GitHub Copilot, providing DevOps metrics and interactive dashboards.3MIT
- AlicenseAqualityCmaintenanceProvides tools to analyze and debug GitHub Actions CI failures, including summarizing failures, detecting flaky tests, and suggesting fixes.102 npm1ISC