github-actions-mcp-server
GitHub Actions Model Context Protocol Server
Documentation

GitHub Actions MCP Server
> ⚠️ Archive Notice: This repository will be archived soon as the official GitHub MCP server is adding Actions support. See github/github-mcp-server#491 for details on the official implementation.
MCP Server for the GitHub Actions API, enabling AI assistants to manage and operate GitHub Actions workflows. Compatible with multiple AI coding assistants including Claude Desktop, Codeium, and Windsurf.
Features
- Complete Workflow Management: List, view, trigger, cancel, and rerun workflows
- Workflow Run Analysis: Get detailed information about workflow runs and their jobs
- Comprehensive Error Handling: Clear error messages with enhanced details
- Flexible Type Validation: Robust type checking with graceful handling of API variations
- Security-Focused Design: Timeout handling, rate limiting, and strict URL validation
Tools
1. `list_workflows`
2. `get_workflow`
3. `get_workflow_usage`
4. `list_workflow_runs`
5. `get_workflow_run`
6. `get_workflow_run_jobs`
7. `trigger_workflow`
8. `cancel_workflow_run`
9. `rerun_workflow`
Usage with AI Coding Assistants
This MCP server is compatible with multiple AI coding assistants including Claude Desktop, Codeium, and Windsurf.
Claude Desktop
First, make sure you have built the project (see Build section below). Then, add the following to your `claude_desktop_config.json`:
{
"mcpServers": {
"github-actions": {
"command": "node",
"args": [
"/dist/index.js"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": ""
}
}
}
}Codeium
Add the following configuration to your Codeium MCP config file (typically at `~/.codeium/windsurf/mcp_config.json` on Unix-based systems or `%USERPROFILE%\.codeium\windsurf\mcp_config.json` on Windows):
{
"mcpServers": {
"github-actions": {
"command": "node",
"args": [
"/dist/index.js"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": ""
}
}
}
}Windsurf
Windsurf uses the same configuration format as Codeium. Add the server to your Windsurf MCP configuration as shown above for Codeium.
Build
Unix/Linux/macOS
Clone the repository and build:
git clone https://github.com/ko1ynnky/github-actions-mcp-server.git
cd github-actions-mcp-server
npm install
npm run buildWindows
For Windows systems, use the Windows-specific build command:
git clone https://github.com/ko1ynnky/github-actions-mcp-server.git
cd github-actions-mcp-server
npm install
npm run build:winAlternatively, you can use the included batch file:
run-server.bat [optional-github-token]This will create the necessary files in the `dist` directory that you'll need to run the MCP server.
Windows-Specific Instructions
Prerequisites
- Node.js (v14 or higher)
- npm (v6 or higher)
Running the Server on Windows
1. Using the batch file (simplest method):
run-server.bat [optional-github-token]This will check if the build exists, build if needed, and start the server.
2. Using npm directly:
npm run startSetting GitHub Personal Access Token on Windows
For full functionality and to avoid rate limiting, you need to set your GitHub Personal Access Token.
Options:
1. Pass it as a parameter to the batch file:
run-server.bat your_github_token_here2. Set it as an environment variable:
set GITHUB_PERSONAL_ACCESS_TOKEN=your_github_token_here
npm run startTroubleshooting Windows Issues
If you encounter issues:
1. Build errors: Make sure TypeScript is installed correctly.
npm install -g typescript2. Permission issues: Ensure you're running the commands in a command prompt with appropriate permissions.
3. Node.js errors: Verify you're using a compatible Node.js version.
node --versionUsage Examples
List workflows in a repository:
const result = await listWorkflows({
owner: "your-username",
repo: "your-repository"
});Trigger a workflow:
const result = await triggerWorkflow({
owner: "your-username",
repo: "your-repository",
workflowId: "ci.yml",
ref: "main",
inputs: {
environment: "production"
}
});Troubleshooting
Common Issues
1. Authentication Errors:
2. Rate Limiting:
3. Type Validation Errors:
License
This MCP server is licensed under the MIT License.
Frequently asked questions
What is github-actions-mcp-server?
github-actions-mcp-server is GitHub Actions Model Context Protocol Server
How do I install github-actions-mcp-server?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is github-actions-mcp-server open source?
Yes — it is hosted on GitHub at https://github.com/ko1ynnky/github-actions-mcp-server and has 40 stars.
Related MCP tools
🍒 Cherry Studio is a desktop client that supports for multiple LLM providers. Built for the Model Context Protocol to enhance AI capabilities.
Enhanced ChatGPT Clone: Features Agents, MCP, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini...
FastGPT is a knowledge-based platform built on the LLMs, offers a comprehensive suite of out-of-the-box capabilities such as data processing, RAG retrieval, ...
Composio equips your AI agents & LLMs with 100+ high-quality integrations via function calling for the Model Context Protocol. Enhance AI assistants with powerf
📦 Repomix is a powerful tool that packs your entire repository into a single, AI-friendly file. Perfect for when you need to feed your codebase to Large Lan...
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Ag...
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP