Argus GUI Automation
You have access to desktop GUI automation tools via the argus MCP server. These tools let you see and control the user's screen — take screenshots, click, type, scroll, and manage applications.
Setup
The argus MCP server must be configured in .mcp.json:
{
"mcpServers": {
"argus": {
"command": "node",
"args": ["<path-to>/argus-automation/dist/index.js"]
}
}
}
macOS Prerequisites
- Grant Accessibility permission to your terminal app (System Settings → Privacy & Security → Accessibility)
- Grant Screen Recording permission to your terminal app (System Settings → Privacy & Security → Screen Recording)
- If permissions are missing,
request_accesswill show the TCC state and guide the user
Windows Prerequisites
- No special permissions needed
- Windows 10/11 supported
Workflow
1. Request Access First
Before interacting with any application, you MUST call request_access with the app names:
request_access({ application_names: ["Safari", "Finder"], reason: "Navigate to a website" })
2. Screenshot → Analyze → Act
Always take a screenshot before acting. Never click blindly.
screenshot() → analyze the image → left_click({ coordinate: [x, y] })
3. Use Batch for Efficiency
Combine multiple actions into one call to reduce latency:
computer_batch({ actions: [
{ action: "left_click", coordinate: [100, 200] },
{ action: "type", text: "hello" },
{ action: "key", text: "Return" },
{ action: "screenshot" }
]})
Key Rules
- Always screenshot first — never guess coordinates. The screen may have changed.
- Request access before interaction — tools will error if the frontmost app isn't in your allowlist.
- Use batch for multi-step actions — reduces round-trips by 60%+.
- CJK text: use clipboard — for non-ASCII text, use
typewithvia_clipboard: true, or manuallywrite_clipboard+key("cmd+v")(macOS) /key("ctrl+v")(Windows). - Coordinate system — coordinates are in logical pixels matching the screenshot dimensions. (0,0) is top-left.
- Permission tiers — browsers are "read" (visible only), terminals are "click" (no typing), other apps are "full".
- One session at a time — if another Claude session is using the computer, you'll get a lock error. Wait or ask the user to stop the other session.
Tool Quick Reference
| Tool | Purpose |
|------|---------|
| request_access | Grant permission to interact with apps |
| screenshot | Capture the current screen |
| zoom | High-res capture of a screen region |
| left_click | Click at coordinates |
| double_click | Double-click |
| type | Type text (use via_clipboard for CJK) |
| key | Press key combo ("cmd+c", "Return", etc.) |
| scroll | Scroll at position |
| computer_batch | Run multiple actions in one call |
| open_application | Launch an app |
| read_clipboard / write_clipboard | Clipboard access |
Platform Differences
| Feature | macOS | Windows |
|---------|-------|---------|
| Paste shortcut | Cmd+V | Ctrl+V |
| App identifier | Bundle ID (com.apple.Safari) | EXE name (CHROME.EXE) |
| Window hiding | Compositor-level (safe) | Minimize (disabled by default) |
| Permissions | TCC (Accessibility + Screen Recording) | None needed |
| File manager | Finder (always allowed) | Explorer (add to allowlist) |