Skip to content
Actionforge
Sign up
Docs
Orchestrator

Orchestrator MCP

The Orchestrator MCP server gives AI agents full CI/CD control — trigger runs, monitor agents, manage pipelines, inspect logs, and control the job queue. All operations require authentication.

Every request must include an Authorization header with a valid Personal Access Token (PAT). Create one at 🔑 Settings → Personal Access Tokens.

PAT tokens have scopes that control access:

ScopePermissions
readList and view projects, runs, agents, queue, artifacts, pipelines
triggerTrigger new runs
repo:writeCancel runs, rerun, reorder queue, upload/delete pipeline files
pipeline:writeManage pipelines, trigger configs, create projects
secret:writeList secret keys (values are never exposed)
Terminal window
claude mcp add --transport http actionforge-orch \
--header "Authorization: Bearer YOUR_PAT_TOKEN" \
https://app.actionforge.dev/api/v2/mcp/orch
ToolDescription
list_projectsList CI/CD projects accessible to the authenticated user
get_projectGet detailed info about a specific project
list_runsList runs with filters by project, status, and pipeline
get_runGet detailed run info including status, timing, jobs, trigger metadata
get_run_logsGet log output for a run or specific job (supports pagination)
list_jobsList all jobs for a specific run with matrix values and status
list_agentsList registered agents with status, labels, and last heartbeat
get_agent_metricsGet CPU, memory, and network metrics for an agent
get_queueGet the current job queue in priority order
list_artifactsList build artifacts, optionally filtered by run ID
list_pipelinesList pipeline scripts across projects
get_pipeline_contentGet contents of a specific pipeline script
list_trigger_configsList trigger configurations with versions and matrix definitions
list_organizationsList organizations the user belongs to
list_commitsList recent git commits for orchestrator-managed projects
get_commit_diffGet the diff for a specific commit
ToolScopeDescription
trigger_runtriggerTrigger a new CI/CD run for a project
trigger_run_by_configtriggerTrigger a run using a named trigger config with matrix subsetting
cancel_runsrepo:writeCancel one or more pending/running runs
rerunrepo:writeRe-run a completed run with same configuration
reorder_queuerepo:writeReorder the job queue by priority
upload_pipeline_filerepo:writeCreate or update a pipeline script in an orchestrator-managed project
delete_pipeline_filerepo:writeDelete a pipeline script file
create_projectpipeline:writeCreate a new CI/CD project
create_trigger_configpipeline:writeCreate a named trigger configuration
create_trigger_config_versionpipeline:writeAdd an immutable version to a trigger config
toggle_trigger_config_versionpipeline:writeEnable or disable a trigger config version
  1. list_projects to find the project
  2. trigger_run to start a new run
  3. get_run to check status
  4. get_run_logs to see output
  1. list_runs with status filter to find failed runs
  2. get_run_logs to read the failure output
  3. list_artifacts to check build artifacts
  4. rerun to retry after fixing the issue
  1. list_agents to check agent health
  2. get_agent_metrics for CPU/memory details
  3. get_queue to see pending work
  4. cancel_runs to clear stuck runs