APPLE SILICON · macOS 14.4+what's new

Give any agent
hands for macOS.

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.

$npx --yes --package=https://dev.akalas.tech/downloads/mectro-raro-cua-0.3.6.tgz raro-cua-mcp install
Works with local stdio MCP hosts — OpenCode · Claude Code · Cursor · Kiro · Windsurf · Cline
Illustrated MCP example

One call. Indexed tree + screenshot.
Immediately actionable.

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.

raro-cua · get_app_state { app: “Opera” } → 182 elements
state_9f3a
<app_state app='Opera' pid=387 state_id='9f3a'>
[12] Window “Opera” — main, 1512×944
[27] Toolbar — Back · Forward · Reload ⟳
[48] AddressField “Search or type URL” ⋯
[81] ⏎ AddressField value=“opera.com” ← TARGET
[96] TabGroup — 4 tabs · active “aireadyhub”
[118] Button “New Tab +”
[134] Sidebar — Mail · Pins · Flow
[155] WebArea — 0 AX children (Chromium) → pixel fallback
[182] Button “Login →” [clickable] ✓ verified
</app_state> + screenshot.png (1 frame)
🔒 opera.com → aireadyhub — dashboard
AX + PIXEL
RARO PREVIEW · LIVE— ✕
2 fps · window-scoped · view-only
● agent → computer · example verification
click({ element_index: 182,
expect_label_contains: "Dashboard",
timeout_ms: 5000 })
→ { effect: "navigated", expect: "satisfied" }
● supported actions can run in the background● preview: draggable PiP, hide — / close ✕ / reopen chip● stale tokens re-resolve by identity, fail closed on ambiguity
◈ exactly two modes

Background by default.
Native only when you say so.

★ background · default

Keep your current app in focus.

AX element actions + per-PID targeted events. ⌘-chords via SLPS focus lease. Background delivery depends on the target app and action.

  • AXPress clicks, select-all, typing with selection preserved
  • Window-scoped — pin window_id for multi-doc apps
  • Paste that lands — 1.5 s clipboard hold for async ⌘V
  • Post-action observation on by default — indices stay fresh
native · explicit opt-in

Real mouse. Real keys. Visible.

Foreground desktop with the true pointer + pink-glow hotspot. Keeps target focused, restores your app after.

  • Requires { mode:'native', user_confirmed_mode:true }
  • Focus-echo restore — per-action + per-session leases
  • Physical keycodes for Simulator & emulators
  • Never auto-escalates — unsupported ≠ switch mode
MCP call order

The ritual agents actually follow.

01
get_app_state

{ app: “Opera” }

Returns pid, window_id, state_id + indexed AX tree. Screenshot attached.

02
get_app_instructions

per-app playbook

20 packs: Chrome, Finder, Safari, Xcode, Slack, Notion, Terminal… Opera address-bar rules included.

03
start_session + approve

save session_id

Background by default. approve_app({pid, allow:true}) opens the gate. System bundles stay blocked.

04
act → verify

click / type / wait_for

Use observed element_index + state_id. expect_* verifies in-call. Never replay on stale observation.

</> for developers

Script the desktop
like it's an API.

Typed TS SDK with a shared runtime — concurrent actions serialize, state IDs attach automatically, aborts propagate. This is ordinary Node, not a sandbox.

● sdk.mjs — background click + verify
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 — caller-planned, postcondition-verified
run_workflow({ steps: [
{ click: 48 }, // focus address bar
{ type: "nextali.online", replace: true, submit: true }
], expect_value_contains: "nextali" })
◔

Screenshot diffing

aHash + changed regions. Unchanged frames cost one line of tokens.

⬣

AX deltas

since_snapshot_id → only what changed. 519 unchanged stays silent.

◆ TOOL

wait_for / verify_state

Bounded predicate polling. No manual retry loops, no flaky sleeps.

◆ TOOL

control_capabilities

Live support matrix. Ask before you act — never guess delivery.

◆ TOOL

Safety rails

Credential fields blocked unless force:true. Destructive clicks need confirm_destructive:true.

◆ TOOL

Audit log

Append-only JSONL at ~/Library/Logs/RaroCUA/. Redacted args, session attribution.

◆ TOOL

Multi-session

Per-PID snapshot ring (×3). Concurrent apps, serialized actions, isolated policies.

◆ TOOL

20 instruction packs

Opera, Chrome, Finder, Xcode, Terminal, Slack, Notion… address-bar & tab rules baked in.

◍ for business & ops

Humans stay in flow.
Agents do the clicking.

Background-first means automation runs while the team keeps working. Local-only means logins, HR data and customer records never leave the Mac.

🔍

QA that watches itself

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.

📋

Ops & data entry, minus the copy-paste

Fill forms across web + native apps, verify readback before Return, refuse page controls blocked by modal sheets. Deterministic, auditable.

🎓

Onboarding & SOP walkthroughs

run_workflow executes caller-planned sequences with postcondition checks — perfect for repeatable setup, provisioning, and training demos.

🎧

Support triage on the real app

Reproduce customer issues in the actual client, capture AX state + screenshot + audit trail. No screen-share needed.

🔒

Compliance-friendly by design

Per-app approval gates, destructive-action confirmations, append-only audit log, zero telemetry. Your MDM team will say yes.

🏭

Back-office throughput

Checkouts, invoices, Supabase dashboards, admin panels — background delivery keeps the operator's desktop usable while jobs run.

Illustrated diagnostics

See what your agent sees.

$ raro-cua-mcp status
✓ Accessibility … granted
✓ Screen Recording … granted
✓ bundle dev.raro.cua
✓ server 0.3.6-b… (release)
EXAMPLE STATUS

01 — Health at a glance

status / doctor / --version print npm pkg + installed app build everywhere.

● RARO PREVIEW · TextEdit
Hello, background ✓
frontmost: Finder (untouched)

02 — Live PiP preview

Draggable, non-activating, ~2 fps window stream. Keeps last good frame + red stale dot while reconnecting.

diff:true →
ahash 9f3a…c1 · changed 2.1%
regions: [x12 y30 w40 h18]%
unchanged frames = 1 line of tokens

03 — Verify, don't loop

verify_state + wait_for with bounded predicates. Screenshot diffs keep polling cheap.

Apple silicon · macOS 14.4+ · Node.js with npm

From zero to first click.

Terminal
npx --yes --package=https://dev.akalas.tech/downloads/mectro-raro-cua-0.3.6.tgz raro-cua-mcp install
Check the installed app
/Applications/RaroCUA.app/Contents/MacOS/RaroCUAService doctor

Grant access in macOS

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.

Download packageSHA-256 checksum
≡ changelog · shipped, not promised

Fresh paint, every release.

0.3.6Latest direct release
  • Handles Codex MCP handshake capability objects and includes the background workflow, preview, and timeout fixes from 0.3.4 and 0.3.5.
0.3.32026-10-04
  • Minimized preview stays hidden until explicitly restored; restore chip survives sibling sessions.
  • Background keyboard via window focus lease — Return, Tab, arrows included. Unicode typing preserves selection.
  • Chromium address fields: click → select-all → type. Replacement readback verified before Return.
  • Modal sheets block page controls cleanly; file-picker sheets surface before large web trees.
0.3.22026-09-22
  • Signed resource bundle loads from Contents/Resources — tools launch after build caches are removed.
0.3.12026-09-22
  • Focus lease held through ⌘ chords + async paste. 32-snapshot ring with live identity checks. Paste window-targeted, no retries.
0.3.02026-09-21
  • Host-reasoned boundary: the model reasons, the native service acts. No AI API setup.
  • Background qualified end-to-end (SLPS lease + focus records). Draggable PiP preview.
  • Version everywhere: --version, status, serverInfo. window_id targeting + 1.5 s paste hold.
0.1.02026-08-24
  • Initial public npm artifact + MCP Registry registration. Native AX inspection, sessions, app guidance.
? quick answers

Asked often.

Does it steal my focus?+
Background mode never intentionally activates the controlled app or moves your pointer. Native mode does — but only after you explicitly opt in, and it restores your app afterward.
Which apps work?+
RaroCUA works with supported macOS windows. App accessibility support and the chosen mode determine which controls an agent can use.
Is my data sent anywhere?+
The RaroCUA service runs locally over stdio and has no telemetry or API keys. Your MCP client receives the tool results, which can contain screenshots or window text. Your client determines how it processes that data.
What does it cost?+
The direct RaroCUA package is free to download. Your MCP client or model provider may have separate costs.
Open source?+
The source repository is private. The app package and setup instructions are publicly available here.
✦ ready when you are

Stop describing clicks.
Start delegating them.

Connect your MCP client and try a task in a blank TextEdit document.

Install RaroCUA →
$/Applications/RaroCUA.app/Contents/MacOS/RaroCUAService mcp