BC

bestagentkits/cloud-harness-mcp

Developer tools

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

111 stars 41 forks 品質 87 トレンド 22MIT

セキュアなストリーミング可能な HTTP MCP サーバーとして公開されたリモート・コーディング・ハーネス

概要

Cloud Harness MCP は、認証された Streamable HTTP MCP で公開された MIT ライセンスのリモート・コーディング・ハーネスです。 TTL-limited Docker executor で隔離されたクローンを開き、信頼できる所有者または名前を付けられた相互に信頼されるオペレータは、ワークスペース、ファイル、コード・インテリジェンス、コマンド、シェル、セッション、依存性タスク、Git、ワークツリー、スキル、ホック、メモリ、およびリポジトリ定義されたデプロイメントツールを構成しました。 1つのセキュリティドメインのプライベートサービスです。 その演算子は、共有カーネルの実行中に任意のコマンド実行を意図的に可能であるため、互いに信頼しなければなりません。 プリンシパル分離は、敵対的なマルチテナントサンドボックスではありません。 操作する前にセキュリティモデルをお読みください。 静的ヘッダーのクライアントは、別のゲートウェイでダッシュボード管理APIキーを使用します。 MCP は北方制御プロトコルです。ハーネスは実行ランタイムです。 スプリットは、Docker の権限から取り扱われるインターネット インターフェイスを保ち、リポジトリの資格情報を長生きした実行者に保ちます.

概要(AI 翻訳)

クラウドハーネスMCPは、MITライセンスのリモートコーディングハーネスです。 認証されたストリーム可能なHTTP MCP。 孤立したクローンを1つで開く TTL-limited Docker は、信頼される所有者または相互に信頼される所有者を与えます オペレータはワークスペースを構成しました、 file, code-intelligence, コマンド, シェル, セッション, dependency-task, Git, ワークツリー、スキル、ホック、メモリ、およびリポジトリ定義のデプロイメントツール。

[!警告] 1つのセキュリティドメインのプライベートサービスです。 そのオペレータは信頼しなければなりません 任意のコマンドを意図的に実行できるので、もう1つ 共有カーネルの実行中。 プリンシパルの分離はない 敵対マルチテナントサンドボックス。 セキュリティモデルを読む 操作の前に。

マネージド OAuth MCP URL は以下のとおりです。

静的ヘッダーのクライアントは、別のゲートウェイでダッシュボード管理APIキーを使用します。

アーキテクチャ

MCP は北方制御プロトコルです。ハーネスは実行ランタイムです。 スプリットは、ドッカーの権限からインターネットの要求を処理し、 リポジトリの資格情報を長生きした実行子から保持します。

これらの境界の真実の源は [compose.yaml], apps/runner/src/workspace-service.ts, セキュリティモデル.

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

README

以下は原文 README の抜粋です。原文を見る。

Cloud Harness MCP

Cloud Harness MCP is an MIT-licensed remote coding harness exposed through authenticated Streamable HTTP MCP. It opens an isolated clone in a TTL-limited Docker executor and gives a trusted owner or named mutually trusted operators structured workspace, file, code-intelligence, command, shell, session, dependency-task, Git, worktree, skill, hook, memory, and repository-defined deployment tools.

[!WARNING] This is a private service for one security domain. Its operators must trust one another because it is intentionally capable of arbitrary command execution inside a shared-kernel executor. Principal isolation is not a hostile multi-tenant sandbox. Read the security model before operating it.

The Managed OAuth MCP URL is:

https://harness.zuey.me/mcp

Static-header clients use dashboard-managed API keys at the separate gateway:

https://api.harness.zuey.me/mcp

Architecture

MCP is the northbound control protocol; the harness is the execution runtime. The split keeps Internet-facing request handling away from Docker authority and keeps repository credentials out of long-lived executors.

flowchart LR
  OAuthClient["Managed OAuth client"] -->|"Access OAuth"| Nginx["nginx + loopback ingress"]
  StaticClient["Static-header client"] -->|"managed API key"| Gateway["Cloudflare Worker gateway"]
  Gateway -->|"Access service assertion + API key"| Nginx

  subgraph Control["Trusted control plane"]
    Nginx --> API["Stateless MCP API"]
    API -->|"private authenticated RPC"| Runner["Runner · policy · lifecycle"]
    Runner --> Store[("SQLite workspace state")]
    Runner --> Docker["Docker authority"]
    Runner --> Broker["GitHub App broker"]
  end

  subgraph Execution["TTL-bound execution plane"]
    Docker --> Executor["Non-root workspace executor"]
    Docker --> GitHelper["Ephemeral Git transfer helper"]
    Executor --> Repo[("Isolated repository clone")]
  end

  Broker -->|"short-lived token over stdin"| GitHelper
  GitHelper -->|"validated HTTPS origin"| GitHub["GitHub repository"]
  Executor -.->|"no control-plane credential"| GitHub

The source of truth for these boundaries is compose.yaml, apps/runner/src/workspace-service.ts, and the security model.

Coding workflow

sequenceDiagram
  participant C as AI client
  participant A as MCP API
  participant R as Runner
  participant E as Isolated executor
  participant G as Ephemeral Git helper
  participant H as GitHub

  C->>A: workspace_open(repositoryUrl, idempotencyKey)
  A->>R: authenticated operation
  R->>G: constrained clone + optional short-lived token
  G->>H: credential-free or GitHub App HTTPS clone
GitHub で README 全文を見る

インストール

npx skills add bestagentkits/cloud-harness-mcp --skill cloudharness
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "cloud-harness-local": { "command": "node", "args": [ "/path/to/cloud-harness-mcp/apps/api/dist/index.js", "--transport", "stdio", "--workspace", "/path/to/my-project" ] } } }