MCP Server
未认领Harness’ official MCP Server
安装
claude mcp add harness -- npx harness-mcp-v2更多Developer Tools服务器
浏览完整目录安全概况
已认领和已认证的服务器每周接受一次静态扫描,显示代码能触及的范围(外部服务、环境变量、shell 命令、代理配置目录)以及带有已知公告的依赖。认领此列表即可获得。 安全概况的工作原理
22 个工具中显示 22 个
文档中列出的工具 (22)
内容来自项目文档。服务器握手不会验证每个工具的说明或行为。
body
must be an object with a yaml field. Raw string bodies are rejected by the public harnessexecute schema.
branch
build.type=branch, build.spec.branch=<value>
commit_sha
build.type=commitSha, build.spec.commitSha=<value>
executionId
the plan execution ID from resourceid.
harness_create
Create a new resource. Supports inline and remote (Git-backed) pipelines. Prompts for user confirmation via elicitation.
harness_delete
Delete a resource. Prompts for user confirmation via elicitation. Destructive.
harness_describe
Discover available resource types, operations, and fields. No API call — returns local registry metadata.
harness_diagnose
Diagnose pipeline, connector, delegate, and gitopsapplication resources (aliases: execution -> pipeline, gitopsapp -> gitopsapplication). For pipelines, returns stage/step timing and failure details; for connectors/delegates/GitOps apps, returns targeted health and troubleshooting signals.
harness_execute
Execute an action on a resource (run/retry pipeline, import pipeline from Git, toggle flag, sync app). Prompts for user confirmation via elicitation. For pipeline runs, use the runtime-input workflow below (supports branch/tag/prnumber/commitsha shorthand expansion).
harness_get
Get a single resource by its identifier.
harness_list
List resources of a given type with filtering, search, and pagination.
harness_schema
Fetch exact YAML/JSON Schema definitions and examples for creating/updating resources. Pipeline/template schemas are bundled; connector, environment, service, secret, and infrastructure schemas are scope-aware entity schemas fetched from bundled snapshots or NG /yaml-schema. Supports deep drilling v
harness_search
Search across Harness resource types with a single query. Uses semantic routing (local all-MiniLM-L6-v2 ONNX embeddings, 384-dim) to predict relevant resource types from a knowledge corpus indexed at startup — typically narrowing from ~163 types to 1–8 before scatter-gather. Falls back to full keywo
harness_status
Get a real-time project health dashboard — recent executions, failure rates, and deep links.
harness_update
Update an existing resource. Supports inline and remote (Git-backed) pipelines. Prompts for user confirmation via elicitation.
inputSetBranchName
source branch for Git-backed input sets, or null.
inputSetDetails
contributing saved input sets as { identifier, name } pairs.
inputSetTemplateYaml
input template at execution time, or null.
inputSetYaml
merged runtime input YAML used for the run, or null.
pr_number
build.type=PR, build.spec.number=<value>
resolvedYaml
expression-resolved YAML when resolveexpressions=true, otherwise usually null.
tag
build.type=tag, build.spec.tag=<value>