RaroCUA is a local macOS Computer Use MCP server — It gives your agent screenshots, accessibility controls, and a live window preview. Background mode keeps supported actions in the target app while you work. Connect Claude Code, Codex, Cursor, OpenCode, or another local stdio MCP client.
get_app_state returns a structured <app_state> envelope — every control numbered [N], every action addressable. Click by index, type with readback, verify with expect_* — no coordinate guessing, no replay loops.
click({ element_index: 182,
expect_label_contains: "Dashboard",
timeout_ms: 5000 })
→ { effect: "navigated", expect: "satisfied" }AX element actions + per-PID targeted events. ⌘-chords via SLPS focus lease. Background delivery depends on the target app and action.
Foreground desktop with the true pointer + pink-glow hotspot. Keeps target focused, restores your app after.
get_app_state{ app: “Opera” }
Returns pid, window_id, state_id + indexed AX tree. Screenshot attached.
get_app_instructionsper-app playbook
20 packs: Chrome, Finder, Safari, Xcode, Slack, Notion, Terminal… Opera address-bar rules included.
start_session + approvesave session_id
Background by default. approve_app({pid, allow:true}) opens the gate. System bundles stay blocked.
act → verifyclick / type / wait_for
Use observed element_index + state_id. expect_* verifies in-call. Never replay on stale observation.
Typed TS SDK with a shared runtime — concurrent actions serialize, state IDs attach automatically, aborts propagate. This is ordinary Node, not a sandbox.
import { connect } from "@mectro/raro-cua-sdk";
const computer = await connect();
const state = await computer.getAppState( { app: "Opera" });
await computer.approveApp( { pid: state.pid } );
await computer.click( { pid: state.pid, elementIndex: 182 });
await computer.setPreview(false);
computer.close();run_workflow({ steps: [
{ click: 48 }, // focus address bar
{ type: "nextali.online", replace: true, submit: true }
], expect_value_contains: "nextali" })aHash + changed regions. Unchanged frames cost one line of tokens.
since_snapshot_id → only what changed. 519 unchanged stays silent.
Bounded predicate polling. No manual retry loops, no flaky sleeps.
Live support matrix. Ask before you act — never guess delivery.
Credential fields blocked unless force:true. Destructive clicks need confirm_destructive:true.
Append-only JSONL at ~/Library/Logs/RaroCUA/. Redacted args, session attribution.
Per-PID snapshot ring (×3). Concurrent apps, serialized actions, isolated policies.
Opera, Chrome, Finder, Xcode, Terminal, Slack, Notion… address-bar & tab rules baked in.
Background-first means automation runs while the team keeps working. Local-only means logins, HR data and customer records never leave the Mac.
Drive staging in Opera/Chrome/Safari via AX, assert with expect_* in the same call, diff screenshots for regressions. File bugs with window-scoped evidence.
Fill forms across web + native apps, verify readback before Return, refuse page controls blocked by modal sheets. Deterministic, auditable.
run_workflow executes caller-planned sequences with postcondition checks — perfect for repeatable setup, provisioning, and training demos.
Reproduce customer issues in the actual client, capture AX state + screenshot + audit trail. No screen-share needed.
Per-app approval gates, destructive-action confirmations, append-only audit log, zero telemetry. Your MDM team will say yes.
Checkouts, invoices, Supabase dashboards, admin panels — background delivery keeps the operator's desktop usable while jobs run.
status / doctor / --version print npm pkg + installed app build everywhere.
Draggable, non-activating, ~2 fps window stream. Keeps last good frame + red stale dot while reconnecting.
verify_state + wait_for with bounded predicates. Screenshot diffs keep polling cheap.
npx --yes --package=https://dev.akalas.tech/downloads/mectro-raro-cua-0.3.6.tgz raro-cua-mcp install
/Applications/RaroCUA.app/Contents/MacOS/RaroCUAService doctor
In System Settings → Privacy & Security, add and enable /Applications/RaroCUA.app under Accessibility and Screen & System Audio Recording. The installer opens the relevant settings if access is missing.
This direct download is ad-hoc signed. It has no Apple notarization ticket. Installation into /Applications requires permission to write there.
Connect your MCP client and try a task in a blank TextEdit document.