Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ORCA_BINNoPath of the `orca` CLI. Defaults to the CLI inside the installed Orca app, else `orca` on PATH. Looked up at `/Applications/Orca.app/Contents/Resources/bin/orca` (macOS), `~/.local/bin/orca` (Linux), `%LOCALAPPDATA%\Programs\Orca\resources\bin\orca.exe` (Windows).
ORCA_MCP_ROOTSNoDirectories repos and worktrees must lie in, separated by `:` (`;` on Windows). Paths are resolved through symlinks and `..` before the check.~/dev
ORCA_MCP_BRIDGENo`0` does not open the status socket for the companion plugin.on
ORCA_MCP_CLIENTNoThe owner tag written into worktrees this server starts (`orca-mcp:<tag>`). Defaults to the MCP client's name plus a random per-process suffix. Set a stable value (for example one per project or daemon) to find your workers again after a restart.
ORCA_MCP_TMP_PREFIXNoAlso allow scratch directories directly under the per-user temp dir whose name starts with this prefix. The directory must exist, be owned by you and be writable by nobody else.
ORCA_MCP_ENVIRONMENTNoName (or id) of a saved Orca environment (`orca environment add`). When its Orca advertises `orchestration.external-coordinator.v1`, this server coordinates Runs as that paired device. Unset, everything works as before.
ORCA_MCP_CLIENT_PROFILENoA profile directory of the coordinator's own, passed to the orca CLI as `ORCA_USER_DATA_PATH`. Needed when `ORCA_MCP_ENVIRONMENT` points at the Orca on this same computer, where the pairing cannot be saved in Orca's own profile.

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

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
orca_statusA

Orca app and runtime status: is Orca running and reachable, its version, whether orchestration and external coordinators are available.

orca_reposC

Repositories registered in Orca (name, path).

orca_repo_addA

Register an existing git repository (absolute path inside the allowed roots) with Orca.

orca_worktreesA

Worktrees with their live agents (status, agent type and state, branch, owner). Optional repo path filter; mine=true lists only worktrees this client started.

orca_worktree_createA

Create a new worktree in a repo and start a coding agent in it with the task prompt (optional model and effort). The worktree is tagged as this client's, so orca_agent_status and orca_wait find it after a restart. Returns the agent's terminal handle.

orca_terminal_readA

Read an agent terminal's output (stripped of escapes). Use cursor from the previous read to get only new output; screen=true for the rendered screen.

orca_terminal_sendB

Type text into an agent terminal (enter=true submits it) or interrupt it. For orchestration workers prefer orca_send.

orca_terminal_waitB

Block until the agent in a terminal is done with its turn (default: Orca's hook state, returns within seconds of it finishing, or at once when it waits for input), up to timeoutMs (max 600000). On "working" just wait again. for exit or tui-idle waits on the terminal itself.

orca_agent_statusA

Status of coding agents in one call: per worker its state (working, waiting, blocked, done, idle), since when, the tool it runs, what it waits on, its last message, dispatch and task ids. Default scope: workers this client started (found again after a restart through their Orca worktree tag). Name a terminal, dispatch or worktree to look at one; scope all lists every agent (without their messages).

orca_waitA

Block server-side until a worker finishes or needs a human, then return one structured event (state done, failed, waiting or blocked, plus the worker and its last message). With a run (or a dispatch, or a run this server created) it waits on the Run's worker_done and escalation mail without taking it and, at the same time, on Orca's hook state (a worker parked on a prompt never mails); otherwise on hook state alone for one terminal, one worktree, or every worker this client started. Each event is returned once, so calling orca_wait in a loop walks through them. On state working the timeout passed: wait again.

orca_run_createB

Create an Orca orchestration Run (a namespace and inbox for tasks and workers). Needs orchestration. With a paired Orca environment configured (ORCA_MCP_ENVIRONMENT) the Run is bound to that paired device as an external coordinator, so it needs no terminal pane.

orca_task_createC

Create an orchestration Task (spec) in a Run. Needs orchestration.

orca_worker_startB

Start a coding agent on a task (or a spec) in a new worktree of a repo. Uses Orca orchestration; when that is disabled it falls back to worktree create with the spec as prompt. The worktree is tagged as this client's. Then call orca_wait.

orca_checkA

With an agent's terminal: wait until that agent is done (as orca_terminal_wait), or peek at its output. With a run (orchestration): wait up to timeoutMs for unread worker messages (worker_done, questions), or with peek list them without waiting. Run mail is only ever read, never taken, so the Run's coordinator still gets it. For one event at a time prefer orca_wait.

orca_worker_readC

Read a worker's output: by dispatch id (orchestration) or by agent terminal handle.

orca_worker_stopA

Stop a worker (by dispatch id) or close an agent terminal (by handle). Never deletes the worktree.

orca_sendB

Message a worker: orchestration mail (to: run: | dispatch:) or, without orchestration, type text + Enter into its terminal.

orca_searchC

Search past agent conversations and terminal output in Orca.

orca_worktree_rmB

Remove a worktree (and its local branch when Orca can prove it is merged). Destructive.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.1/5.0

Scored across 19 tools

Disambiguation3/5

Several tools overlap heavily: orca_wait, orca_terminal_wait, and orca_check all block on agent completion; orca_terminal_read and orca_worker_read both fetch output; orca_terminal_send and orca_send both inject text; orca_agent_status and orca_worktrees both report worker state. The descriptions do explicitly steer callers ('prefer orca_send', 'for one event at a time prefer orca_wait'), which keeps the set usable, but an agent still has to read carefully to pick the right wait/read variant.

Naming Consistency3/5

A consistent orca_ prefix is used, but conventions are mixed: some tools are noun_verb (orca_worktree_create, orca_task_create, orca_worker_stop), some are bare nouns or unscoped verbs (orca_worktrees, orca_wait, orca_check, orca_send, orca_status). Entity naming also drifts between agent/worker, repo/repos, and worktree/worktrees, plus a 'rm' abbreviation.

Tool Count3/5

19 tools is at the upper edge for this scope; the workflow concepts (worktree, terminal, agent, orchestration run/task/worker) legitimately need many operations, but the count is inflated by near-duplicate wait/read/send variants that could collapse into a couple of parameterized tools.

Completeness4/5

Core lifecycle is well covered: worktree create/list/remove, terminal read/send/wait, agent status, run/task/worker orchestration, search, app status, and repo list/add. Gaps are minor—no repo removal, no run close/list, and no task update or listing—which agents can work around.