axterminator
MCP server for macOS desktop automation. Background GUI testing, 30 tools, audio capture, camera, virtual desktops. Built in Rust.
Install / Use
claude mcp add MikkoParkkola -- npx -y github:MikkoParkkola/axterminatorIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
AutomationSupported Platforms
Our assessment of axterminator
axterminator scores 74/100 on our quality scale, 2501st of 2,728 Automation skills we index.
Its MCP Server is 18 KB long, well organised into 29 sections with 7 code examples: a thorough specification that gives an agent plenty to work with.
It has 3 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated 4 days ago, so axterminator is actively maintained.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 80/100, with 2 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
axterminator compared with similar skills
All 4 of these similar skills score higher than axterminator; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| axterminator (this skill)by MikkoParkkola | 74 | 3 | 4d ago | MCP Server |
| Agent-Reachby Panniantong | 100 | 115.5k | 3d ago | CLAUDE.md |
| hyperframesby heygen-com | 100 | 91.7k | today | CLAUDE.md |
| rufloby ruvnet | 100 | 82.6k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 81.0k | today | CLAUDE.md |
Frequently asked questions
- How do I install axterminator?
- Run
claude mcp add MikkoParkkola -- npx -y github:MikkoParkkola/axterminator. The install tabs above show the steps for each supported agent. - Which AI agents does axterminator work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is axterminator safe to use?
- It declares no license and scores 80/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is axterminator still maintained?
- The repository was last updated 4 days ago, so axterminator is actively maintained.
Skill content
View source on GitHubAXTerminator
<div align="center">MCP server that gives AI agents the ability to see and control macOS applications.
Deploy · MCP Tools · CLI · Query Syntax · AX-first vs Vision-first · FAQ · Troubleshooting · Wiki · Known Limitations
</div>62 MCP tools with default features, 84 with the optional audio, camera, spaces, watch, context, docker and HTTP-transport flags. Background interaction via the macOS Accessibility API. 379us per element access. Audio capture, camera input, virtual desktop isolation. Your AI agent connects and your Mac becomes an extension of it.
Not only the UI: the default build also exposes a shell (ax_exec), file read/write/delete, PTY terminal sessions and outbound HTTP GET. See Beyond the UI.
Platform scope. AX-first-with-vision-fallback is macOS-only. iOS/iPadOS support is tracked in #43 as a future capability and, when shipped, will be screenshot + vision only — the idevice/RPPairing surface does not expose AX trees for third-party apps, and UIAutomation would require an on-device test runner (breaks the "mac-only agent, no on-device prereqs" contract). Reported screenshot latency via CoreDeviceProxy: ~350ms USB, ~700ms WiFi (credit @m13v). tvOS is unverified — the RSD surface is narrower than idevice's tvOS target suggests; please open an issue with device evidence if you've tested. See #42 for the AX-first-vs-vision-first positioning rationale.
Deploy
Tell your AI assistant (recommended):
Read https://github.com/MikkoParkkola/axterminator and install axterminator as my macOS GUI automation MCP server
Your agent will install the binary, wire itself up, and request accessibility permissions. Works in Claude Code, Cursor, Windsurf, and any AI with terminal access.
Or install manually:
brew trust --tap MikkoParkkola/tap # Homebrew 6.0+
brew install MikkoParkkola/tap/axterminator
Grant accessibility permissions: System Settings > Privacy & Security > Accessibility (add your terminal app).
axterminator mcp install auto-detects your AI client. Specify one with --client:
axterminator mcp install # Claude Desktop (default)
axterminator mcp install --client claude-code # Claude Code
axterminator mcp install --client cursor # Cursor
axterminator mcp install --client windsurf # Windsurf
axterminator mcp install --client codex # OpenAI Codex CLI
axterminator mcp install --client vscode # VS Code Copilot
axterminator mcp install --client zed # Zed
axterminator mcp install --dry-run # Preview without writing
Also supported: gemini, amazon-q, lm-studio.
# From crates.io
cargo install axterminator --features cli
# Build from source
git clone https://github.com/MikkoParkkola/axterminator
cd axterminator
cargo build --release --features cli
# Manual JSON (Claude Desktop, Cursor, Windsurf, etc.)
# { "mcpServers": { "axterminator": { "command": "axterminator", "args": ["mcp", "serve"] } } }
</details>
<details>
<summary>Codex config</summary>
For Codex (~/.codex/config.toml):
[mcp_servers.axterminator]
command = "axterminator"
args = ["mcp", "serve"]
</details>
Done. Your agent has 62 tools (84 with all feature flags) to control any macOS app.
MCP Tools
| Category | Tools | What the agent can do |
|----------|-------|----------------------|
| GUI | ax_connect, ax_find, ax_click, ax_click_at, ax_type, ax_set_value, ax_get_value, ax_scroll, ax_drag, ax_key_press | Connect to apps, find elements, interact |
| Observe | ax_is_accessible, ax_screenshot, ax_get_tree, ax_get_attributes, ax_list_windows, ax_list_apps, ax_wait_idle | Check permissions, see UI state, screenshots |
| Verify | ax_assert, ax_find_visual, ax_visual_diff, ax_a11y_audit | Assert element state, AI vision fallback, visual regression, WCAG audit |
| System | ax_clipboard, ax_run_script, ax_undo, ax_session_info, ax_analyze, ax_system_context, ax_system_memory, ax_system_disk, ax_system_network, ax_system_power, ax_system_launchd, ax_process_list | Clipboard, AppleScript/JXA, undo actions, session state, UI analysis, machine state |
| Windows | ax_window_list, ax_window_focus, ax_window_move, ax_window_resize, ax_window_minimize, ax_window_tile | Move, resize, tile, focus windows |
| Shell & files | ax_exec, ax_fs_read, ax_fs_write, ax_fs_edit, ax_fs_search, ax_fs_delete, ax_fs_list, ax_term_start, ax_term_send, ax_term_read, ax_term_close, ax_term_list, ax_http_get, ax_app_launch, ax_notify | Run shell commands, read/write/delete files, drive interactive terminal sessions, fetch a URL, launch or quit apps |
| Audio | ax_listen, ax_speak, ax_audio_voices, ax_audio_devices | Capture mic/system audio, text-to-speech, inspect installed macOS voices; optional Kokoro/Piper TTS via enhanced-tts |
| Camera | ax_camera_capture, ax_gesture_detect, ax_gesture_listen | Camera frames, gesture recognition |
| Spaces | ax_list_spaces, ax_create_space, ax_move_to_space, ax_switch_space, ax_destroy_space | Virtual desktop isolation |
Resources
Agents can browse app state without tool calls:
| Resource | What |
|----------|------|
| axterminator://apps | Running applications |
| axterminator://app/{name}/tree | Live element hierarchy |
| axterminator://app/{name}/screenshot | Current screenshot |
| axterminator://app/{name}/state | Focused element, window title |
| axterminator://system/displays | Monitor layout |
Beyond the UI
The default build is not limited to the app you connect to. ax_exec runs any
command through /bin/sh -c as the user who started the server. ax_fs_read,
ax_fs_write, ax_fs_edit and ax_fs_delete use the path you give them, with
~/ expanded and no project sandbox. ax_term_start opens a PTY session that
persists across calls. ax_http_get fetches any URL. All of these are on by
default and are not covered by the accessibility permission.
To narrow that: AXTERMINATOR_SECURITY_MODE=safe blocks ax_exec and
ax_run_script, sandboxed allows read-only tools only, and
~/.config/axterminator/security.toml restricts which apps can be connected.
See Configuration.
Security
ax_click refuses to click an element whose label reads destructive (delete,
remove, quit, and similar) unless the call sets confirm=true. That flag is a
tool argument the calling agent sets itself, not a prompt to you, and no other
tool has such a gate. Every mutating call is appended to
~/.local/share/axterminator/audit.jsonl. HTTP transport binds 127.0.0.1 and
requires a bearer token unless started with --localhost-only.
CLI
axterminator apps # List accessible apps
axterminator find "Save" --app Safari # Find element
axterminator click "Save" --app Safari # Click it
axterminator screenshot --app Safari # Capture screenshot
axterminator tree --app Finder # Element hierarchy
axterminator mcp serve --http 8080 --token secret # HTTP transport
Query Syntax
# Simple text — matches ANY of: title, description, value, label, identifier
axterminator find "Save" --app Safari
# By role
axterminator find "role:AXButton" --app Safari
# Combined role + attribute (AND)
axterminator find "role:AXButton title:Save" --app Safari
# By description (useful for apps like Calculator)
axterminator find "description:equals" --app Calculator
# By value
axterminator find "value:42" --app Calculator
# XPath-like
axterminator find "//AXButton[@AXTitle='Save']" --app Safari
How It Works
AXTerminator uses an undocumented behavior of Apple's Accessibility API: AXUIElementPerformAction() works on unfocused windows. Your agent clicks buttons in one app while you work in another. Neither notices.
379us per element access (Criterion, M1 MacBook Pro). Appium needs 500ms for the same thing.
ax_find parses the query into search criteria and runs a cached breadth-first search of the accessibility tree, with fuzzy scene-graph matching as a fallback. The 7-strategy self-healing chain (data_testid, aria_label, identifier, title, xpath, position, visual_vlm) is a library API, axterminator::find_with_healing, and is not on the ax_find path.
AX-first vs Vision-first
OpenAI Codex computer use, Anthropic Claude Computer Use, Google Gemini Operator, and Perplexity Personal Computer all use the same paradigm: screenshot → vision LLM → pixel coordinates → cursor click. The vendor changes; the paradigm does not.
axterminator uses the opposite default: AX semantic tree → element reference → action. Vision is a fallback for the rare surfaces the AX tree cannot reach (canvas apps, games, OpenGL/Metal renderers).
| Dimension | Vision-first (Codex CU / Claude CU / Gemini / …) | AX-first (axterminator) |
|-----------|---------------------------------------------------|-------------------------|
| Speed | seconds per action (vision round-trip + LLM) | ~379 µs per action (measured, Criterion) |
| Cost | vision tokens on every action | ~free (AX API call) |
| Reliability | pixel-brittle — breaks on theme, font, layout changes | element-stable — semantic addressing survives UI changes |
| Background | visible cursor movement | truly background — no visible cursor |
| Dense / labeled UIs | struggles with small targets | reads labels directly from the AX tree |
| Canvas / games / OpenGL | works (universal fallback) | needs vision fallback (ax_find_visual) |
| Cross-platform | anywhere a screenshot works | macOS only (see #43 for iOS roadmap) |
The key insight: axterminator is not a competitor to those agents — it is a layer underneath them. Any agent that can call an MCP tool (Claude Code
Truncated for display — read the full file on GitHub.
Related Skills
Agent-Reach
115.5kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
hyperframes
91.7kOpen-source AI video editor: edit your own footage, or create and remake any video with Claude Code, Codex or the free Studio app. Write HTML, render MP4. By HeyGen.
ruflo
82.6k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
headroom
81.0kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
