agy-external-worker
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
agy-external-worker
Antigravity 向け「DSH 優先 → OpenCode 予備」外部 Worker フォールバック・プラグイン
Antigravity を Orchestrator(設計・指示・git diff 検収・テスト実行)とし、通常時は純正 Executor(Claude / GPT)をそのまま使いつつ、クォータ上限・レート制限・明示指示のときだけローカルの外部 CLI に実作業を委譲します。
第 1 優先: DeepSeek Harness (
@deepseek-ai/dsh)(--profile headless)第 2 優先(予備): OpenCode CLI(
run --auto --agent build)ゼロ依存実行:
dist/dsh-worker.mjsとdist/opencode-worker.mjsにバンドル済みのため、利用者はプラグイン導入後にnpm install不要で即起動できます(Windows / macOS / Linux 対応)。
クイックスタート(3 ステップ)
1. プラグインをインストール
方法 A: Antigravity CLI から直接インストール(GitHub 公開後)
agy plugin install https://github.com/xianxing06-stack/agy-external-worker方法 B: クローンして 1 コマンド導入
git clone https://github.com/xianxing06-stack/agy-external-worker.git
cd agy-external-worker
node scripts/setup.mjs --install-plugin2. 外部 Worker CLI を準備(DSH / OpenCode のどちらか、または両方)
# 第 1 優先: DeepSeek Harness CLI(Node >= 24.9 推奨)
npm install -g @deepseek-ai/dsh
# 第 2 優先: OpenCode CLI(任意・予備)
# https://opencode.ai の手順で導入3. 環境診断と初期設定
# 環境のヘルスチェック(読み取り専用)
node scripts/setup.mjs --doctor
# DSH の headless プロファイルで認証情報 (~/.dsh/.credentials.yaml) を有効化
node scripts/setup.mjs --fix-dsh-profile
# 作業用一時ファイル・ログをグローバル .gitignore に追加(任意)
node scripts/setup.mjs --fix-gitignore最後に Antigravity を再起動(または Additional Options (...) > MCP Servers から再読み込み)すれば完了です。
Related MCP server: agy-mcp
使い方
通常どおり Antigravity を使ってください。純正 Executor が利用可能な間はこのプラグインは発動しません。
以下のケースで自動的に(または明示指示で)外部 Worker が使われます:
純正 Executor のクォータ上限・レート制限・利用不可エラーが発生したとき
ユーザーから「DSH を使って実装して」「Claude/GPT 枠が切れたので外部 Worker に任せて」「OpenCode を使ってテストを書いて」と指示したとき
提供される MCP ツール
バックエンド | ツール | 役割 |
DSH(第 1 優先) |
|
|
OpenCode(第 2 優先) |
|
|
環境変数(任意オーバーライド)
変数 | 説明 | 既定値 |
|
| 自動検出 |
| DSH 実行プロファイル名 |
|
|
| 自動検出 |
|
|
|
トラブルシューティング
MISSING_CREDENTIALが出る(DSH):dsh-headlessは既定で@deepseek-ai/dsh-credentials-localが無効です。node scripts/setup.mjs --fix-dsh-profileを実行してください。OpenCode Go でリージョンエラー(HTTP 400)が出る: OpenCode Console の Privacy / Regions 設定で
Globalを選択するか、dsh_dispatchのmodel引数に US ホスト対応モデル(例:opencode-go/gpt-5.6-luna)を指定してください。手動
mcp_config.jsonから移行する場合:~/.gemini/config/mcp_config.jsonに既存のdsh-worker/opencode-worker定義がある場合は重複を避けるため削除してください。
開発・ビルド・テスト
npm install
npm run build # src/*.js -> dist/*.mjs を単一バンドル
npm test # ユニット + バンドル済み MCP プロトコルテスト
npm run doctor # 環境診断Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Context, runtime and review for AI coding agents. One local install.
Hand off work between AI agents in any tool. Start Devin or Cursor cloud and share memory.
AI work orchestration for plans, tasks, teams, and coding-agent dispatch.
Your AI apps as one team: hand work to Codex or Claude Code on your Mac, with a shared logbook.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables Claude Code to delegate implementation tasks to Antigravity CLI and OpenCode, run them fully autonomously, and then review and gate the results.1MIT
- AlicenseAqualityBmaintenanceEnables Claude Code and Claude Desktop to delegate token-heavy tasks to Antigravity headless subagents, offloading file edits, test runs, and exploration while preserving Claude's context window.121MIT
- AlicenseAqualityCmaintenanceEnables Codex to delegate bounded code analysis, review, isolated edits, multimodal research, and native image generation to supervised Antigravity workers, with queued execution, retries, and inspectable patches.232MIT
- AlicenseNot gradedqualityBmaintenanceEnables Codex or Claude Code to orchestrate persistent Antigravity CLI workers as independent implementers and testers within restricted workspace roots. It supports asynchronous task dispatch, progress polling, result inspection, follow-up messages, and cancellation with bounded, audited local event logging.5MIT