GitHub Actions
Manage GitHub Actions workflows from your AI assistant. List runs, read logs, re-run failed jobs, cancel builds, and trigger deployments. Complements the official GitHub MCP which does not cover Actions.
Installation path
Choose Add Server, select Local MCP, use npx as the command, pass -y mcp-server-github-actions as arguments, and set GITHUB_TOKEN.
Setup steps
- 01
Create a GitHub token
Settings → Developer settings → Personal access tokens. Fine-grained: select your repos, enable Actions: Read and Write. Classic: enable the repo scope.
- 02
Open Add Server
Configuration → MCP Registry → Add Server in Cosmos.
- 03
Pick the Local MCP tab
- 04
Set the command
Command
npx - 05
Add the arguments
Args
-y mcp-server-github-actions - 06
Set environment variables
GITHUB_TOKEN
GITHUB_TOKEN=ghp_xxxxxxxxxxxx - 07
Click Add, then enable
Toggle on Cosmos Agent or CLI.
Local command
Suggested name: github-actions
npx -y mcp-server-github-actionsRequires Node.js. Needs a GitHub token with Actions permissions. Works alongside the official GitHub MCP server.
Authentication
GitHub Personal Access Token with Actions: Read and Write permissions.
| Variable | Example | Required |
|---|---|---|
| GITHUB_TOKEN | ghp_xxxxxxxxxxxx | Yes |