cua mcp
The stdio MCP server for AI assistants.
The stdio MCP server for AI assistants.
Every command also accepts the global options.
Stdio MCP server exposing sandboxes, computer control and skills.
cua mcp [OPTIONS]Alias: cua serve-mcp.
| Flag | Type | Default | Env var | Description |
|---|---|---|---|---|
--permissions | string | CUA_MCP_PERMISSIONS | Comma-separated permissions or groups (default: all). | |
--sandbox | string | CUA_SANDBOX | Default sandbox for computer tools. |
Examples
# Serve every tool over stdio (what MCP clients launch)
cua mcp
# Read-only sandbox tools, computer tools on the sandbox dev
cua mcp --permissions sandbox:readonly,computer:all --sandbox dev| Code | Meaning |
|---|---|
0 | Success. |
1 | Failure, or cua do reported an error. |
2 | Invalid argument, or an ambiguous sandbox name (qualify it: local:NAME, cloud:NAME). |
3 | Not found: sandbox, window, skill or image (or an image not published yet). |
4 | Not supported, or not configured (for example no Fleet credentials). |
5 | No cua-spacesd answered, or a transport failure. |
6 | Unauthenticated or permission denied (by Cua, Fleet or your cloud account). |
7 | Not enough free disk space (see cua cache). |
130 | Cancelled (Ctrl-C during a create): what it made was removed. |