Peter Adams/GithubWorkflowMCP
Built by Metorial, the integration platform for agentic AI.
Peter Adams/GithubWorkflowMCP
Server Summary
Fetch recent failed workflow runs
Analyze workflow run jobs and steps
Identify common failure patterns
Suggest specific fixes for common issues
View workflow files
Update workflow files
A Multi-Choice Prompt (MCP) utility for diagnosing and fixing GitHub Actions workflow failures using the GitHub API.
This tool helps users diagnose and fix GitHub Actions workflow failures through a structured decision tree. It uses the GitHub API to fetch workflow run information, analyze failures, and provide actionable solutions.
To install githubworkflowmcp for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @Maxteabag/githubworkflowmcp --client claude
# Clone the repository
git clone https://github.com/yourusername/github-workflow-debugger-mcp.git
cd github-workflow-debugger-mcp
# Install dependencies
npm install
# Build the project
npm run build
# Link the binary for local use
npm link
The GitHub Workflow Debugger MCP is designed to be used with AI assistants that support the Model Context Protocol (MCP). It provides several tools that can be used to diagnose and fix GitHub Actions workflow failures.
To use this tool, you'll need a GitHub Personal Access Token (PAT) with the following permissions:
repo
- Full control of private repositoriesworkflow
- Update GitHub Action workflowsYou must set this token as an environment variable named GITHUB_PERSONAL_ACCESS_TOKEN
.
When using this tool with an MCP-compatible client, you can configure it as follows:
{
"mcpServers": {
"github": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-github"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": ""
}
}
}
}
Replace `` with your GitHub Personal Access Token.
Here's an example of how to use the GitHub Workflow Debugger MCP with an AI assistant:
First, get recent failed workflow runs:
I need to check recent failed workflow runs for my repository "username/repo".
Analyze a specific failed run:
Can you analyze workflow run #123456 and suggest fixes?
View the workflow file:
Show me the content of the workflow file at .github/workflows/main.yml
Update the workflow file with fixes:
Update the workflow file with the suggested fixes.
# Install dependencies
npm install
# Build the project
npm run build
src/index.ts
- Main entry point for the MCP serverbuild/
- Compiled JavaScript filesISC