HM

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

111 stars 92 forks Качество 90 Тренд 35MIT

harness/mcp-server — это кандидат MCP-сервера, импортированный из https://github.com/harness/mcp-server.

Обзор

harness/mcp-server — это кандидат MCP-сервера, импортированный из https://github.com/harness/mcp-server.

Обзор (машинный перевод)

Использовать сервер MCP 2.0

Сервер MCP (Model Context Protocol), который предоставляет агентам ИИ полный доступ к платформе Harness.io через 11 консолидированных инструментов и 262 типа ресурсов.

Зачем использовать этот сервер MCP

Большинство MCP-серверов отображают по одному инструменту на каждую API-конечную точку. Для такой широкой платформы, как Harness, это означает 240+ инструментов — а LLM становятся всё хуже при выборе инструментов по мере роста их числа. Контекстные окна заполняются схемами, и каждая новая конечная точка означает новый код.

Этот сервер построен иначе:

  • 11 инструментов, 262 типа ресурсов. Система диспетчеризации на основе реестра маршрутизирует harness_list, harness_get, harness_create и т.д. к любому ресурсу Harness — конвейерам, сервисам, средам, организациям, проектам, флагам особенностей, данным о стоимости и другим. LLM выбирает из 11 инструментов вместо сотен.
  • Полное покрытие платформы. 42 набора инструментов по умолчанию, охватывающих CI/CD, GitOps, флаги функций, управление затратами на облако, тестирование безопасности, инженерию хаоса, Database DevOps, внутренний портал разработчиков, цепочку поставок программного обеспечения, управление инфраструктурой как кодом, управление релизами, управление, переопределения сервисов, граф знаний и многое другое. При необходимости доступно покрытие Opt-in Ansible и оценки наблюдаемости.

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального 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 263 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, 263 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 coverage. 42 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 Management, Release Management, Governance, Service Overrides, Knowledge Graph, and more. Opt-in Ansible and observability-evaluation coverage is available when needed.
  • Multi-project workflows out of the box. Agents discover organizations and projects dynamically — no hardcoded env vars needed. Ask “show failed executions across all projects” and the agent can navigate the full account hierarchy.
  • 35 prompt templates. Pre-built prompts for common workflows: build & deploy apps end-to-end, debug failed pipelines, review DORA metrics, triage vulnerabilities, optimize cloud costs, audit access control, plan feature flag rollouts, review pull requests, approve pending pipelines, and more.
  • Works everywhere. Stdio transport for local clients (Claude Desktop, Cursor, Devin Desktop), HTTP transport for remote/shared deployments, Docker and Kubernetes ready.
  • Zero-config start. Just provide a Harness API key. Account ID is auto-extracted from PAT and SAT tokens, org/project defaults are optional, and toolset filtering lets you expose only what you need.
  • Extensible by design. Adding a new Harness resource means adding a declarative data file — no new tool registration, no schema changes, no prompt updates.

Prerequisites

Before installing or running the server, you need a Harness API key:

  1. Log in to your Harness account
  2. Go to My Profile → API Keys → + New API Key
  3. Create a new Token under the API key — this generates a PAT or SAT in the format ...
  4. Save the token somewhere secure — you’ll need it in the next step

For detailed instructions, see the Harness API Quickstart.

Quick Start

Option 0: Hosted Harness MCP

Открыть полный README на GitHub

Установка

npx harness-mcp-v2
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "harness": { "url": "https://mcp.harness.io/mcp" } } }