List workflows in a GitHub repository
Get details of a specific workflow
Get usage statistics of a workflow
List all workflow runs for a repository or a specific workflow
Get details of a specific workflow run
Get jobs for a specific workflow run
Trigger a workflow run
Cancel a workflow run
Re-run a workflow run
GitHub Actions MCP Server provides a comprehensive interface for AI assistants to interact with GitHub Actions workflows. It enables complete workflow management including listing, viewing, triggering, canceling, and rerunning workflows, as well as detailed analysis of workflow runs and their jobs. The server features robust error handling, flexible type validation, and security-focused design with timeout handling, rate limiting, and strict URL validation.
GitHub Actions MCP Server enables AI assistants to manage and operate GitHub Actions workflows through a standardized interface. This server bridges the gap between AI coding assistants and GitHub's CI/CD platform, allowing for seamless workflow automation and management.
Clone the repository:
git clone https://github.com/ko1ynnky/github-actions-mcp-server.git
cd github-actions-mcp-server
Install dependencies:
npm install
Build the project:
npm run build
Configure your GitHub Personal Access Token:
You'll need to create a GitHub Personal Access Token with the appropriate permissions for GitHub Actions. The token should have at minimum the workflow
scope.
Add the following to your claude_desktop_config.json
:
{
"mcpServers": {
"github-actions": {
"command": "node",
"args": [
"/path/to/github-actions-mcp-server/dist/index.js"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "YOUR_GITHUB_TOKEN"
}
}
}
}
Add the following to your Codeium MCP configuration file:
{
"github-actions": {
"command": "node",
"args": [
"/path/to/github-actions-mcp-server/dist/index.js"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "YOUR_GITHUB_TOKEN"
}
}
}
Configure the server in your Windsurf settings:
{
"mcpServers": {
"github-actions": {
"command": "node",
"args": [
"/path/to/github-actions-mcp-server/dist/index.js"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "YOUR_GITHUB_TOKEN"
}
}
}
}
The server can also be run as a Docker container:
Build the Docker image:
docker build -t github-actions-mcp-server .
Run the container:
docker run -e GITHUB_PERSONAL_ACCESS_TOKEN=YOUR_GITHUB_TOKEN github-actions-mcp-server
Once configured, you can ask your AI assistant to perform GitHub Actions operations. Here are some example prompts:
If you encounter issues:
For Windows users, use the provided run-server.bat
script for easier execution.