HM

harness/mcp-server

Developer tools公式

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

111 stars 92 forks 品質 90 トレンド 35MIT

harness/mcp-serverは、https://github.com/harness/mcp-server.からインポートされたMCPサーバー候補です。

概要

harness/mcp-serverは、https://github.com/harness/mcp-server.からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

ハーネス MCP Server 2.0

MCP(モデルコンテキストプロトコル)サーバーで、AIエージェントに11の統合ツールと262種類のリソースタイプを通じて Harness.io プラットフォームへの完全アクセスを提供します。

なぜこのMCPサーバーを使うのか

ほとんどのMCPサーバーはAPIエンドポイントごとに1つのツールをマッピングしています。Harnessのように幅広いプラットフォームでは、240+ツールが存在し、ツール選択が増えるにつれてLLMは難しくなっています。コンテキストウィンドウはスキーマで埋め尽くされ、新しいエンドポイントごとに新しいコードが生まれます。

このサーバーは異なる構造になっています:

  • **11のツール、262種類のリソースタイプ。※ レジストリベースのディスパッチシステムは、harness_list、harness_get、harness_createなど、パイプライン、サービス、環境、組織、プロジェクト、機能フラグ、コストデータなど、あらゆるハーネスリソースにルーティングします。LLMは数百のツールではなく11の中から選択します。
  • プラットフォーム全体カバレッジ。 CI/CD、GitOps、機能フラグ、クラウドコスト管理、セキュリティテスト、カオスエンジニアリング、データベースDevOps、社内開発者ポータル、ソフトウェアサプライチェーン、コードとしてのインフラストラクチャ管理、リリース管理、ガバナンス、サービスオーバーライド、ナレッジグラフなどを含む42のデフォルトツールセット。必要に応じてAnsibleおよびオブザーバビリティ評価カバレッジも提供されます。

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

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

GitHub で README 全文を見る

インストール

npx harness-mcp-v2
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

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