Aller au contenu
Actionforge
Sign up
Docs
Orchestrator

Orchestrator MCP

Ce contenu n’est pas encore disponible dans votre langue.

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, dashboard
triggerTrigger new runs
repo:writeCancel runs, rerun, reorder queue, upload/delete pipeline files, manage projects and agents
pipeline:writeManage pipelines, trigger configs, create projects
token:adminCreate and delete trigger tokens
Terminal window
claude mcp add --transport http --header "Authorization: Bearer YOUR_PAT_TOKEN" actionforge-orch https://orch.actionforge.dev/api/v2/mcp
Terminal window
claude mcp add -s user --transport http --header "Authorization: Bearer YOUR_PAT_TOKEN" actionforge-orch https://orch.actionforge.dev/api/v2/mcp
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_by_numberGet a run by its human-readable run number (e.g. #7) instead of hex ID
list_attemptsList all attempts (re-runs) for a given run number
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
get_dashboardGet a dashboard overview: projects with latest run status, recent runs, and agent statuses
list_agentsList registered agents with status, labels, and last heartbeat
list_agent_instancesList runner instances (processes) registered under an agent pool
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
browse_treeBrowse the directory tree of an orchestrator-managed project
get_file_contentGet the content of any file in an orchestrator-managed project
list_trigger_configsList trigger configurations with versions and matrix definitions
list_trigger_tokensList trigger tokens for a project (token values are not returned)
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
update_projectrepo:writeUpdate project settings: visibility, VCS type, URL, or default ref
delete_projectrepo:writeDelete a project and all its data (irreversible)
update_agent_labelsrepo:writeUpdate the labels on an agent
delete_agentrepo:writeDelete (unregister) an agent
restart_agent_instancerepo:writeRestart a runner instance by removing its registration
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
delete_trigger_configpipeline:writeDelete a trigger config and all its versions
create_trigger_tokentoken:adminCreate a trigger token for a project (label is applied as required label on jobs)
delete_trigger_tokentoken:adminDelete (revoke) a trigger token
  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. list_agent_instances to see individual runner processes
  3. get_agent_metrics for CPU/memory details
  4. get_queue to see pending work
  5. cancel_runs to clear stuck runs
  1. list_agents to see current labels
  2. update_agent_labels to change which jobs an agent can claim
  3. restart_agent_instance to kick a stuck runner process
  4. delete_agent to unregister an agent entirely
  1. get_dashboard for a snapshot of all projects, recent runs, and agent statuses
  2. get_run_by_number to look up a specific run (e.g. “what happened in run #7?”)