Skip to content

harness-mcp-v2

Give AI agents full access to the Harness.io platform — manage pipelines, deployments, cloud costs, chaos engineering, feature flags, SEI, and 125+ resource types through 11 MCP tools

5,009
Weekly Downloads
build.protocol_tooling.mcp#mcp#harness#harness-io#ci-cd#model-context-protocol#ai-agent#devops

Install harness-mcp-v2 in your MCP client

harness-mcp-v2 is a Model Context Protocol server. Add it to your MCP client config once, restart, and the server's tools become available to your AI assistant. The same JSON snippet below works across all four major clients — only the config file path differs.

  1. Locate your client's MCP config file.
    • Cursor: ~/.cursor/mcp.json
    • Claude Desktop (macOS): ~/Library/Application Support/Claude/claude_desktop_config.json
    • Claude Desktop (Windows): %APPDATA%\Claude\claude_desktop_config.json
    • VS Code: Settings → Extensions → MCP
    • Windsurf: Settings → MCP Servers
  2. Add harness-mcp-v2 to the mcpServers map — paste the snippet below into your config file. If you already have other MCP servers, merge the entry into the existing mcpServers object.
  3. Restart your client so it picks up the new server.
  4. Verify — ask the assistant to list available tools; harness-mcp-v2's tools should appear.
{
  "mcpServers": {
    "harness-mcp-v2": {
      "command": "npx",
      "args": [
        "-y",
        "harness-mcp-v2"
      ]
    }
  }
}

Install harness-mcp-v2 in Cursor

Open ~/.cursor/mcp.json in your editor, paste the snippet above into mcpServers, save, and restart Cursor. harness-mcp-v2 will show up in the assistant's tool list on next launch.

Install harness-mcp-v2 in Claude Desktop (macOS)

Open ~/Library/Application Support/Claude/claude_desktop_config.json in your editor, paste the snippet above into mcpServers, save, and restart Claude Desktop (macOS). harness-mcp-v2 will show up in the assistant's tool list on next launch.

Install harness-mcp-v2 in Claude Desktop (Windows)

Open %APPDATA%\Claude\claude_desktop_config.json in your editor, paste the snippet above into mcpServers, save, and restart Claude Desktop (Windows). harness-mcp-v2 will show up in the assistant's tool list on next launch.

Install harness-mcp-v2 in VS Code

Open Settings → Extensions → MCP in your editor, paste the snippet above into mcpServers, save, and restart VS Code. harness-mcp-v2 will show up in the assistant's tool list on next launch.

npm package: harness-mcp-v2

Transport

harness-mcp-v2 supports the following MCP transports. Most AI clients use stdio by default for locally-installed servers.

stdio

From the harness-mcp-v2 README

## Harness MCP Server 2.0 An MCP (Model Context Protocol) server that gives AI agents full access to the Harness.io platform through 11 consolidated tools and 208 resource types. ## Why Use This MCP Server Most MCP servers map one tool per API endpoint. For a platform as broad as Harness, that means 240+ tools — and LLMs get worse at tool selection as the count grows. Context windows fill up with schemas, and every new endpoint means new code. This server is built differently: - **11 tools, 208 resource types.** A registry-based dispatch system routes `harness_list`, `harness_get`, `harness_create`, etc. to any Harness resource — pipelines, services, environments, orgs, projects, feature flags, cost data, and more. The LLM picks from 11 tools instead of hundreds. - **Full platform cov

Other Model Context Protocol servers in the same space as harness-mcp-v2. Each one adds different capabilities to your AI assistant — pick based on the data sources or workflows you need.

Browse the full MCP server directory or use Stork's one-line install to let your agent pick the right server automatically.