Harness MCP Server 2.0 is the official Model Context Protocol server maintained by Harness, giving AI agents full access to the Harness.io platform. Instead of mapping one tool per API endpoint, it uses a registry-based dispatch system with 11 consolidated tools (harness_list, harness_get, harness_create, etc.) that route to 224 resource types across 38 default toolsets spanning CI/CD, GitOps, Feature Flags, Cloud Cost Management, Security Testing, Chaos Engineering, Database DevOps, Internal Developer Portal, Software Supply Chain, Infrastructure as Code, Governance, and more. It supports zero-install startup via npx, global npm install, or building from source, offers both stdio (local clients) and HTTP (remote/shared) transports, and is ready for Docker and Kubernetes deployment. Only a Harness API key (PAT or SAT) is required, with account ID auto-extracted from the token. Mutating operations (create, update, delete, execute) prompt for user confirmation via elicitation by default, with a configurable risk-based auto-approval threshold.
Use cases
Let an AI agent build, deploy, and debug CI/CD pipelines, or troubleshoot failed executions across multiple projects
Trigger feature flag toggles, GitOps app syncs, or cloud cost queries via natural language
Audit access control, review DORA metrics, and plan vulnerability remediation or feature rollouts