← Back to GitHub Actions
Install GitHub Actions
Pick your client, copy the command, done.
1
Add it to Claude Code
claude mcp add -e "GITHUB_TOKEN=${GITHUB_TOKEN}" github-actions -- npx -y mcp-server-github-actionsRequired:
GITHUB_TOKENEnvironment Variables
Set these before running GitHub Actions.
VariableDescriptionRequired
GITHUB_TOKENGitHub Personal Access Token with Actions permissionsYesAvailable Tools (9)
Once configured, GitHub Actions gives your AI agent access to:
list_workflowsList all workflow files in a repositorylist_runsList workflow runs (optionally filter by workflow or status)get_runGet details of a specific workflow runget_run_logsGet the logs URL for a run (zip file download)rerun_workflowRe-run an entire workflow runrerun_failed_jobsRe-run only the failed jobs from a runcancel_runCancel an in-progress or queued runlist_artifactsList artifacts produced by a workflow runtrigger_workflowTrigger a workflow via workflow_dispatchTry It Out
After setup, try these prompts with your AI agent:
→List the last 5 workflow runs for ofershap/mcp-server-docker
→Re-run the failed jobs for run 67890 in my-org/my-repo
→Cancel the currently running workflow run 11111
→Trigger the deploy.yml workflow on the staging branch for my-org/my-app
→What's the status of the most recent CI run for this project?
Prerequisites & system requirements
- An MCP-compatible client (Claude Code, Cursor, Windsurf, Claude Desktop, or Codex)
- Node.js 18+ with npm/npx installed
GITHUB_TOKEN— GitHub Personal Access Token with Actions permissions
Keep this setup from going cold
Save the docs, env vars, and workflow around GitHub Actions in Conare so Claude Code, Codex, and Cursor remember it next time.