openmausbot-cua-mcp
Local macOS MCP server that connects clients to OpenMausBot’s CUA driver and local Admin API for inspection, status checks, and guarded administration.
Discover the live CUA connection and report daemon status.
List, describe, and invoke cua-driver tools; calls may control apps or modify local state.
Read and atomically update OpenMausBot companion settings.
Check CUA skill-pack installation, macOS Accessibility/Screen Recording permissions, and cua-driver updates.
Read Admin API health, bots, routines/runs, redacted webhooks, usage/billing, models, decisions, and export team data.
Plan desired-state files and perform guarded writes: update bots, set bot models, upsert/enable/run/delete routines, and cancel runs.
Writes are dry-run by default, require token/origin plus explicit env gates for MCP, and are verified via read-back.
Provides the
omb-ctlCLI for the same Admin API views and apply workflow.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@openmausbot-cua-mcp Check if OpenMausBot is connected and list its available CUA tools."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
OpenMausBot CUA MCP
A local Model Context Protocol server that
connects Claude, MiniMax, Codex, and other MCP clients to the cua-driver
bundled with OpenMausBot.
The server discovers OpenMausBot's current embedded socket on every CUA call. It never listens on a TCP port or installs a background daemon. Admin tools connect outward to OpenMausBot's loopback API, and all tools preserve OpenMausBot's permission model.
Requirements
macOS
OpenMausBot running with Computer enabled
Python 3.11–3.13
uvrecommended foruvx
Related MCP server: AKIMCP
Install in Claude Desktop
Add this server to claude_desktop_config.json:
{
"mcpServers": {
"openmausbot-cua": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/thestandard-production/openmausbot-cua-mcp.git",
"openmausbot-cua-mcp"
]
}
}
}Restart Claude Desktop after saving the configuration.
Install in Claude Code
Put the same mcpServers block in your project .mcp.json, or run:
claude mcp add --transport stdio openmausbot-cua -- \
uvx --from git+https://github.com/thestandard-production/openmausbot-cua-mcp.git \
openmausbot-cua-mcpInstall in MiniMax
Merge examples/minimax.json into your MiniMax MCP
configuration, then start a new session.
Install in Codex
Copy examples/codex.toml into your Codex configuration.
Tools
Tool | Effect |
| Resolve the live connection and report daemon status |
| List tools exposed by the installed cua-driver |
| Show one tool's description and input schema |
| Invoke a cua-driver tool; may control apps or modify state |
| Read companion settings |
| Atomically update one existing companion setting |
| Check agent skill-pack installation |
| Check Accessibility and Screen Recording status |
| Check for cua-driver updates without installing |
Typical sequence:
Call
openmausbot_status.Call
openmausbot_list_cua_tools.Call
openmausbot_describe_cua_toolfor the chosen tool.Call
openmausbot_call_cua_toolwith anargumentsobject matching that schema.
Admin API (read-only)
The server also exposes bounded administration views from OpenMausBot's local API. Sensitive webhook values and provider account emails are removed before results reach the MCP client.
Tool | Result |
| API health, installed app version, and compatibility findings |
| Bots, omitting soul text by default |
| Routines and runs, optionally within a millisecond range |
| Webhooks and attempts with sensitive values redacted |
| Usage and billing summaries for a date range of up to one year |
| Provider instances, model options, and effort levels |
| Recent decisions, with a limit from 1 to 500 |
| Team export in manifest, package, or backup format |
openmausbot_export_team calls OpenMausBot's export endpoint, which is a POST
route and therefore requires a paired-device session token. Pairing is always
completed through the OpenMausBot app; this package does not create sessions. See docs/PAIRING.md for the step-by-step guide
(and what an AI assistant should and should not do when it needs a token).
The same views are available from omb-ctl. JSON is the default output. Bots
and routines also support a compact text table.
omb-ctl status
omb-ctl bots --text
omb-ctl bots --include-soul
omb-ctl routines --since-hours 24 --text
omb-ctl webhooks
omb-ctl usage --from 2026-01-01 --to 2026-01-31 --group-by model
omb-ctl models
omb-ctl decisions --limit 100
omb-ctl export --format manifestThe Admin API client checks 127.0.0.1 ports 8799, 18799, and 28799 when no
origin or port override is configured. The following environment variables
control this client:
Variable | Purpose |
| API origin override; HTTP is restricted to loopback hosts |
| Loopback API port override used when no URL override is set |
| Paired-device session token |
| macOS Keychain service containing the token |
| Optional Keychain account used with the service |
| API request timeout in seconds; default 10 |
| App |
| Set to |
| Optional comma-separated MCP server names allowed on bots |
Port discovery never sends the token, and a token is only ever sent to an origin
you named explicitly with OPENMAUSBOT_URL or OMB_PORT (the same rule as
OpenMausBot's own MCP client): a port found by probing could belong to another
local process. Reads against a discovered port work without the token; requests
that need it fail with a message asking you to set the origin. No request sends
a browser Origin header. Server error messages are passed through (bounded).
Admin API (writes)
Administration writes use two independent gates:
Every mutation requires a paired-device session token and an explicit API origin through
OPENMAUSBOT_URLorOMB_PORT.MCP write tools are disabled unless
OPENMAUSBOT_ENABLE_ADMIN_WRITES=1. Theomb-ctlCLI does not use that environment gate; it requires--applyfor each mutation.
All write tools and CLI commands are dry runs by default. An applied PATCH or POST is followed by a
fresh GET and field-by-field verification. If the read-back does not match, the result has
"ok": false, "status": "unknown", and lists the mismatched fields. Routine creation is
idempotent by exact routine name because the public create endpoint has no idempotency key;
duplicate names must be resolved in the app first.
MCP write tools include guarded bot updates and model selection, routine upsert/enable/run/delete,
and run cancellation. openmausbot_plan is read-only and plans a desired-state file; applying a
desired-state item is intentionally CLI-only.
# Dry run (no mutation)
omb-ctl bot-update research-bot --json '{"title":"Research"}'
omb-ctl routine-enable daily-summary
# Apply and verify
omb-ctl bot-update research-bot --json '{"title":"Research"}' --apply
omb-ctl routine-enable daily-summary --applyDesired-state files are JSON, with YAML available through the optional yaml extra. Referenced
files must be relative to the desired file and stay within its directory. Only fields present in a
bot entry are managed.
{
"version": 1,
"bots": [
{
"name": "research-bot",
"title": "Research",
"soul_file": "souls/research.md",
"soul_append_files": ["souls/common.md"],
"computer": "off",
"browser": false,
"composio": false,
"mcpServers": [],
"approvalMode": "ask",
"allow_loosen": false
}
],
"routines": [
{
"name": "daily-summary",
"bot": "research-bot",
"prompt_file": "prompts/daily-summary.md",
"schedule": {"type": "daily", "time": "09:00", "weekdays": [1, 2, 3, 4, 5]},
"enabled": true,
"runOn": "maus",
"durationMinutes": 30,
"overlap": "skip"
}
]
}Bot computer accepts off, browser, cloud, vm, local, or null. OpenMausBot omits unset
fields from bot objects: an unset computer means Auto (it may resolve to the local computer) and an
unset mcpServers means every configured MCP server. The loosening guard ranks reach as
off < browser < cloud = vm < local = Auto, and treats resetting mcpServers to null as widening.
composio (connected apps) and browser (built-in browser) are booleans that OpenMausBot treats as
on unless explicitly false. Connected apps are one switch per bot: a bot with composio on can
use every connected account, not a chosen subset. Turning either on needs allow_loosen.
cwd sets the bot's working folder (an absolute path, or null to clear it). OpenMausBot pins a
thread's folder on its first turn, so a new cwd applies to new threads only. Any change needs
allow_loosen, because it changes which files the bot works on.
approvalMode can only be set to ask. Loosen approvals in the OpenMausBot app, where a person sees
each change.
Routine schedules are validated against, and normalized to, the shape OpenMausBot stores, so an unchanged desired state plans as a no-op and a read-back compares equal:
| Fields | Notes |
|
| Epoch milliseconds or RFC3339 with an offset (converted to epoch ms) |
|
|
|
|
| 5-1440 minutes; |
|
| Five fields; an IANA |
Routine name and prompt are trimmed the same way the app trims them.
Plan the entire file, then select exactly one item to apply:
omb-ctl plan examples/desired.example.json
omb-ctl apply examples/desired.example.json --only bot:research-bot
omb-ctl apply examples/desired.example.json --only bot:research-bot --applyCLI exit codes are 0 for success or no change, 10 when a plan or dry run contains a change, and
2 for an error, unknown write status, or verification mismatch.
Configuration
The defaults work with a normal OpenMausBot installation. These environment variables are available for custom installations and testing:
Variable | Purpose |
| Override the OpenMausBot data directory |
| Override |
| Override the |
| Override the live Unix socket |
| Override companion settings JSON |
| Override the OpenMausBot bundle identifier |
| Bound stdout and stderr returned to the client |
Security
The generic call tool can perform actions on the local computer. Its MCP annotations mark it as state-changing and potentially destructive. Keep your MCP client's approval controls enabled and review requested tool calls.
The server only forwards CUA_DRIVER_* keys from OpenMausBot's connection file.
It never reads or stores API keys.
See SECURITY.md for the permission boundary and reporting process.
Development
python3 -m venv .venv
.venv/bin/python -m pip install -e '.[dev]'
.venv/bin/ruff check .
.venv/bin/pytest -q
.venv/bin/python -m buildScope
The initial release targets macOS because OpenMausBot currently exposes its embedded connection through the macOS application data directory. Contributions for verified installations on other platforms are welcome.
OpenMausBot and cua-driver are separate third-party projects. This repository is an independent integration maintained by Production Craft.
Available Tools
25 toolsopenmausbot_api_healthARead-onlyIdempotent
Return local API health, app version, and compatibility findings.
Inputs: no named parameters. Returns: object
openmausbot_call_cua_toolADestructive
Invoke one cua-driver tool; some tools can control apps or modify local state.
The connected OpenMausBot daemon applies its own permission mode. Call openmausbot_describe_cua_tool first when the input schema is not known.
Inputs: name (required), arguments. Returns: object
openmausbot_cancel_runCDestructive
Plan or cancel one routine run.
Inputs: run_id (required), dry_run. Returns: object
openmausbot_cua_check_updateARead-onlyIdempotent
Check the configured cua-driver release channel without installing anything.
Inputs: no named parameters. Returns: object
openmausbot_cua_permissions_statusARead-onlyIdempotent
Report Accessibility and Screen Recording permission status.
Inputs: no named parameters. Returns: object
openmausbot_cua_skills_statusARead-onlyIdempotent
Report cua-driver skill pack installation status for supported agents.
Inputs: no named parameters. Returns: object
openmausbot_delete_routineCDestructive
Plan or delete one exactly confirmed routine.
Inputs: routine (required), confirm_name (required), dry_run. Returns: object
openmausbot_describe_cua_toolARead-onlyIdempotent
Return the description and JSON input schema for one cua-driver tool.
Inputs: name (required). Returns: object
openmausbot_export_teamBRead-onlyIdempotent
Export team data using a paired-device session token.
Inputs: format. Returns: object
openmausbot_get_companion_settingsARead-onlyIdempotent
Read OpenMausBot's companion settings JSON file.
Inputs: no named parameters. Returns: object
openmausbot_list_botsARead-onlyIdempotent
List bots without long soul text unless explicitly requested.
Inputs: include_soul. Returns: object
openmausbot_list_cua_toolsARead-onlyIdempotent
List every tool exposed by the cua-driver bundled with OpenMausBot.
Inputs: no named parameters. Returns: object
openmausbot_list_decisionsBRead-onlyIdempotent
List recent decisions.
Inputs: limit. Returns: object
openmausbot_list_modelsARead-onlyIdempotent
List provider instances and models without account details.
Inputs: no named parameters. Returns: object
openmausbot_list_routinesARead-onlyIdempotent
List routines and runs, optionally within a millisecond range.
Inputs: to_ms, from_ms. Returns: object
openmausbot_list_webhooksARead-onlyIdempotent
List webhooks and attempts with secret material redacted.
Inputs: no named parameters. Returns: object
openmausbot_planARead-onlyIdempotent
Plan desired-state changes without sending any mutation.
Inputs: path (required). Returns: object
openmausbot_run_routine_nowC
Plan or start one routine immediately.
Inputs: routine (required), dry_run. Returns: object
openmausbot_set_bot_modelCIdempotent
Plan or apply a validated model selection.
Inputs: bot (required), model (required), instance_id (required), effort, +1 more. Returns: object
openmausbot_set_companion_settingAIdempotent
Atomically update one existing key in OpenMausBot's companion settings.
Inputs: key (required), value (required). Returns: object
openmausbot_set_routine_enabledBIdempotent
Plan or apply one routine's enabled state.
Inputs: enabled (required), routine (required), dry_run. Returns: object
openmausbot_statusARead-onlyIdempotent
Check discovery and the live cua-driver daemon without changing state.
Inputs: no named parameters. Returns: object
openmausbot_update_botCIdempotent
Plan or apply a guarded bot update.
Inputs: bot (required), patch (required), dry_run, allow_loosen. Returns: object
openmausbot_upsert_routineCIdempotent
Plan or apply a name-idempotent routine upsert.
Inputs: spec (required), dry_run. Returns: object
openmausbot_usageARead-onlyIdempotent
Read usage for a date range of no more than one year.
Inputs: to_date (required), from_date (required), group_by. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 25 tools
Most tools target distinct resources and actions, with clear separation between listing, mutating, and CUA-driver operations. Minor confusion is possible between openmausbot_api_health and openmausbot_status, and between the generic openmausbot_plan and the per-resource 'plan or apply' mutation tools, but descriptions mostly mitigate this.
All tools share the openmausbot_ prefix, which helps, but verb patterns are mixed: list_bots vs get_companion_settings vs usage vs status, and cua_skills_status/cua_permissions_status/cua_check_update deviate from the list_/set_ convention. The naming is readable but not uniformly predictable.
At 25 tools, this sits at the heavy end of the acceptable range. The count is somewhat justified by covering bot management, routines, webhooks, usage, companion settings, and the CUA-driver surface, but it feels like several smaller logical servers have been merged into one.
Routine lifecycle is well covered with upsert, enable/disable, run, and delete, and companion settings have get/set. However, webhooks are list-only with no create/update/delete, bots lack create/delete, and the CUA-driver tools only inspect and invoke rather than manage the driver itself, leaving notable gaps.
Maintenance
Related MCP Connectors
Connect ChatGPT and Claude to your Mac, Windows or Linux with secure MCP remote access.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
Use a person's computer after they approve it there: files, Terminal, browser, local MCP.
Related MCP Servers
- FlicenseNot gradedqualityBmaintenanceEnables MCP-compatible AI clients to invoke CLI-driven agent tools over Streamable HTTP, including shell execution, file operations, patching, image viewing, web search, and nested agent tasks, with permission modes and real-time progress streaming.-
- FlicenseNot gradedqualityAmaintenanceExposes a governed suite of 38 tools over a single OAuth-gated MCP endpoint, letting web AI chat clients such as Claude, ChatGPT, and Grok operate on a local machine — reading and editing files, running whitelisted shell commands, searching, querying SQLite, driving browsers and DevTools, managing background jobs, ports, and clipboard. Local IDEs and Postman can also connect directly over localhost for offline, low-latency access.-
- FlicenseNot gradedqualityAmaintenanceExposes 38 OAuth-gated tools over one MCP endpoint so web-based AI clients like Claude, ChatGPT, and Grok can read and edit local files, run whitelisted shell commands, search content, use Git, SQLite, browser automation, DevTools, clipboard, notifications, ports, and background jobs on your own machine. A strict command whitelist and folder restrictions keep the local operating surface governable and safe by default.-
- AlicenseNot gradedqualityAmaintenanceEnables web-based AI clients such as Claude, ChatGPT, Grok, and Postman to securely operate a local machine through a single OAuth-gated MCP endpoint exposing 38 governed tools. Covers file read/write/edit, whitelisted shell commands, search, Git, SQLite, browser automation, DevTools, background tasks, localhost fetching, clipboard, notifications, port management, and Postman control.MIT