github-actions

v1.0.1
io.github.ofershap/github-actions Checked 2 days ago Published 8 months ago

GitHub Actions MCP — view runs, read logs, re-run jobs, and manage CI/CD.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_workflows

List all workflow files in a GitHub repository.

ParameterTypeDescription
owner *stringRepository owner (username or org)
repo *stringRepository name

list_runs

List workflow runs for a repository. Optionally filter by workflow or status.

ParameterTypeDescription
owner *stringRepository owner (username or org)
repo *stringRepository name
per_pagenumberNumber of runs to return (default 10)
statusstringFilter by status: completed, in_progress, queued, etc.
workflow_idnumberWorkflow ID to filter runs (from list_workflows)

get_run

Get details of a specific workflow run.

ParameterTypeDescription
owner *stringRepository owner (username or org)
repo *stringRepository name
run_id *numberWorkflow run ID

get_run_logs

Get logs URL for a workflow run. GitHub returns a redirect to a zip file.

ParameterTypeDescription
owner *stringRepository owner (username or org)
repo *stringRepository name
run_id *numberWorkflow run ID

rerun_workflow

Re-run a complete workflow run.

ParameterTypeDescription
owner *stringRepository owner (username or org)
repo *stringRepository name
run_id *numberWorkflow run ID

rerun_failed_jobs

Re-run only the failed jobs from a workflow run.

ParameterTypeDescription
owner *stringRepository owner (username or org)
repo *stringRepository name
run_id *numberWorkflow run ID

cancel_run

Cancel a workflow run that is in progress or queued.

ParameterTypeDescription
owner *stringRepository owner (username or org)
repo *stringRepository name
run_id *numberWorkflow run ID

list_artifacts

List artifacts produced by a workflow run.

ParameterTypeDescription
owner *stringRepository owner (username or org)
repo *stringRepository name
run_id *numberWorkflow run ID

trigger_workflow

Trigger a workflow run via workflow_dispatch. Requires a workflow with workflow_dispatch enabled.

ParameterTypeDescription
owner *stringRepository owner (username or org)
repo *stringRepository name
workflow_id *stringWorkflow ID or filename (e.g. ci.yml)
inputsobjectOptional workflow inputs as key-value pairs
refstringBranch or tag to run on (default: main)