orca-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ORCA_BIN | No | Path to the orca CLI binary. If omitted, orca must be available on PATH. | |
| ORCA_MCP_HTTP_HOST | No | Host to listen on when ORCA_MCP_TRANSPORT is http. Use ::1 for IPv6 loopback. | 127.0.0.1 |
| ORCA_MCP_HTTP_PORT | No | Port to listen on when ORCA_MCP_TRANSPORT is http. Use 0 for an available port. | 8765 |
| ORCA_MCP_TRANSPORT | No | MCP transport to use. Valid values are stdio or http. | stdio |
| ORCA_MCP_AUTH_TOKEN | No | Bearer token for HTTP transport. If set, Authorization: Bearer is validated. Required when binding ORCA_MCP_HTTP_HOST to a non-loopback address. | |
| ORCA_TERMINAL_HANDLE | No | Handle of the dedicated Orca terminal pane. Required when launching the MCP server outside that pane; inherited automatically when launched inside it. | |
| ORCA_MCP_ALLOWED_HOSTS | No | Comma-separated allowed Host headers for HTTP transport. | localhost,127.0.0.1,[::1] |
| ORCA_MCP_ALLOWED_ORIGINS | No | Comma-separated allowed Origin headers for HTTP transport. | localhost,127.0.0.1,[::1] |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| orca_delegate_taskA | ゴールを Commander Agent に委譲する(非同期 submit / Commander API)。内部で run-create(run 未指定時) → task-create(固定の Commander 指示 + goal + repo + constraints を spec に書き込み) → worker-start --worktree new-child --agent (既定 codex) を行い、commanderModel / commanderEffort を渡せば worker-start --model / --effort に載せる(effort だけの指定は effort_requires_model。実際に使われた値は応答の launch.effective)。Commander の完了を待たずに { taskId, state: "running", commander: true } を返す。新規 worktree には名前が必須なので、title があればそれを、無ければ spec とタスク ID から自動生成した名前を渡す(title は省略できる)。Commander がゴールを分解して supervised worker へ差配するので、利用者が個々のワーカーやターミナルを直接指定することはない(terminal / worktree は受け付けない)。worker-start だけ失敗してもタスクは生き、warnings 付きで返す: 起動前の失敗(agent_unconfigured など)は state: "queued"(放置しても進まない)、エージェントが readiness を通れなかった場合は Orca がタスクを failed にするので state: "failed" + startOutcome: "failed"(タスクを実行していない pane が残る。workerReportPending を poll で確認し、false なら orca_release_task で閉じて起動設定を直し delegate し直す)。repo は repo セレクタで渡すこと — id: / path: は解決できるが、worktree の displayName や worktree path は repo_not_found になる(現在の worktree の repoId は orca worktree current --json の result.worktree.repoId)。 |
| orca_get_task_statusA | 委譲したタスクの現在状態を正規化して返す(非同期 poll)。内部で task-list / dispatch-show / worker-list / gate-list / run-list / check(呼び出し Run の受信箱の pending ask を peek)/ inbox(ask の asker の dispatch 受信箱。回答の配達確認)を読むだけで、何も変更しない — このターミナルが Run の担当でなければ run-use で担当を奪わず、ask を読まずに warnings に理由を残す。state は queued / running / blocked / completed / failed / cancelled、phase は queued / starting / implementation / decision_gate / settling / finished。commander は Commander 自身の worker、children は Commander が task-create で分解した直接の子タスク(direct children、 |
| orca_get_task_resultA | タスクの成果とワーカー出力を読む(非同期 result)。内部で task-list / dispatch-show / worker-read / run-list を読むだけで、何も変更しない。worker 出力は 1 件あたり既定 40 行・最大 4000 文字に切り詰める。既定では Commander 自身の成果と出力だけを返し、includeChildren: true で直接の子タスク(direct children)の result と出力(子 10 件・worker-read 8 件まで)を集約する。孫以降は集約しない(その子自身の result で見る)。Commander が sub-run を作っていた場合、includeChildren: true(既定 includeSubRuns: true)はその sub-run の子タスクも sourceRunId 付きで集約する — 呼び出し元 Run だけの result は sub-run の成果を丸ごと見落とす(実測)。集約の完全性は poll と同じ応答フィールドで出す: subRunScanComplete / subRunsTruncated / subRunOwnershipComplete / subRunWorkerScanComplete(打ち切りのときは warnings に理由が出る)。 |
| orca_send_messageA | 委譲したジョブのエージェントへメッセージを送る(指示の補足・質問・エスカレーション・完了報告)。内部で |
| orca_cancel_taskA | 委譲ジョブをキャンセルする。内部では orca CLI の手順どおり、対象タスクの dispatch を worker-stop(または mode=abandon なら worker-abandon)で fence してから |
| orca_release_taskA | 終わったジョブの後片付け: settled(succeeded / failed)な worker の agent terminal を |
| orca_resolve_gateA | pending の判断ゲート(Decision Gate)を承認/却下して Commander を進める。内部で gate-list から対象を読み、 |
| orca_reply_messageA | pending の ask(質問メッセージ)に回答して asker のブロックを解く(Human-in-the-loop)。asker は |
| orca_statusA | Orca のアプリ/ランタイム/グラフの準備状態を JSON で返す。内部で |
| orca_readinessA | 委譲の前に、Orca ランタイムが起動しているか / orchestration が有効か / orchestration skill がインストール済みかを機械的に確認する。commanderAgent を指定すると、そのエージェントが orchestration skill を読めるか(skills installed の providers)まで見る。内部で |
| orca_list_worktreesA | Orca 管理のワークツリー一覧を JSON で返す。内部で |
| orca_get_worktreeB | 1 件のワークツリー詳細を JSON で返す。内部で |
| orca_list_agentsA | 起動中のエージェント(dsh / codex / claude など)を worktree 横断で一覧化する。内部で |
| orca_list_runsA | orchestration Run を列挙する(read-only 観測)。内部で |
| orca_get_runA | 1 件の Run 詳細を読む(read-only 観測)。内部で |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 15 tools
Most tools target clearly distinct resources/actions (delegate, poll, result, cancel, release, resolve gate, list runs). The only adjacent pairs are orca_status vs orca_readiness and orca_send_message vs orca_reply_message, but the descriptions draw usable boundaries between them. An agent can generally pick the right tool without much risk of misselection.
All names share the orca_ prefix and snake_case, with a mostly predictable verb_noun pattern (list_worktrees, get_task_status, cancel_task, resolve_gate). The noun-only orca_status and orca_readiness are minor deviations but remain readable and consistent in style.
15 tools sits at the top of the well-scoped range and each maps to a distinct orchestration concern rather than redundant wrappers. Given the complexity of delegation, polling, gates, messaging, cancellation, release, and observability, the count is justified.
The core lifecycle is covered end-to-end: readiness, delegate, poll status, read results, reply/send messages, resolve gates, cancel, and release, plus worktree/run/agent observability. Minor gaps remain, such as worktree mutation operations, explicit skills installation, and a run-use tool referenced in descriptions but not exposed. These are workable but could force agents into manual CLI fallbacks.