Loading...
Loading...
Execute and monitor Harness pipeline runs via MCP tools. Find pipelines, provide runtime inputs, trigger executions, monitor progress, handle approvals, retry failures, and abort running or stuck executions. Use when asked to run a pipeline, execute a deployment, trigger a build, start a pipeline, deploy a service, check execution status, approve a pipeline, or abort/stop/interrupt executions. Trigger phrases: run pipeline, execute pipeline, deploy, start build, trigger pipeline, check execution, approve deployment, retry failed pipeline, abort execution, stop pipeline, interrupt execution, kill stuck pipeline.
npx skill4agent add harness/harness-skills run-pipelineCall MCP tool: harness_search
Parameters:
query: "<user's pipeline name or keyword>"
resource_types: ["pipeline"]
compact: trueCall MCP tool: harness_list
Parameters:
resource_type: "pipeline"
org_id: "<organization>"
project_id: "<project>"
search_term: "<optional filter>"Call MCP tool: harness_get
Parameters:
resource_type: "pipeline"
resource_id: "<pipeline_identifier>"
org_id: "<organization>"
project_id: "<project>"<+input>Call MCP tool: harness_list
Parameters:
resource_type: "input_set"
org_id: "<organization>"
project_id: "<project>"Call MCP tool: harness_execute
Parameters:
resource_type: "pipeline"
action: "run"
resource_id: "<pipeline_identifier>"
org_id: "<organization>"
project_id: "<project>"Call MCP tool: harness_get
Parameters:
resource_type: "execution"
resource_id: "<execution_id>"
org_id: "<organization>"
project_id: "<project>"Call MCP tool: harness_list
Parameters:
resource_type: "approval_instance"
org_id: "<organization>"
project_id: "<project>"Call MCP tool: harness_execute
Parameters:
resource_type: "approval_instance"
action: "approve" # or "reject"
resource_id: "<approval_id>"Pipeline: <name>
Project: <project>
Required Inputs: <list variables needing values>
Available Input Sets: <list>
Ready to execute? Confirm to proceed.Pipeline: <name>
Execution ID: <id>
Status: Running
View in Harness: <openInHarness link>Pipeline: <name>
Status: Success/Failed
Duration: <time>
Stages: <stage results table>pipelineexecutionresource_idexecution_idCall MCP tool: harness_execute
Parameters:
resource_type: "pipeline"
action: "retry"
resource_id: "<pipeline_id>"
execution_id: "<execution_id>"
org_id: "<organization>"
project_id: "<project>"Call MCP tool: harness_execute
Parameters:
resource_type: "execution"
action: "interrupt"
resource_id: "<execution_id>"
org_id: "<organization>"
project_id: "<project>"
params:
interrupt_type: "AbortAll"interrupt_typeparams| interrupt_type | Effect |
|---|---|
| Abort the entire pipeline execution |
| Mark the execution as failed by user |
harness_executeparams: {interrupt_type: "AbortAll"}params: {interrupt_type: "AbortAll"}params: {interrupt_type: "AbortAll"}harness_statusharness_executeharness_get<+input>harness_listharness_statusharness_execute