Quick Start¶
MCP Server (AI Agents)¶
The primary use case is connecting an AI agent to your Mac via MCP.
1. Build or Install¶
2. Configure Your Agent¶
Claude Code (~/.claude/settings.json or project .mcp.json):
Codex (~/.codex/config.toml):
Cursor / Windsurf (.cursor/mcp.json):
Tip: If
axterminatoris not in your PATH, use the full path to the binary (e.g.,~/.cargo/bin/axterminatoror/usr/local/bin/axterminator).
3. Grant Permissions¶
Open System Settings > Privacy & Security > Accessibility and add your terminal app.
Your agent now has 19 core tools to control any macOS app.
CLI¶
# List apps
axterminator apps
# Find elements
axterminator find "Save" --app Safari
# Click elements
axterminator click "Save" --app Safari
# Element hierarchy
axterminator tree --app Finder
# Screenshots
axterminator screenshot --app Safari
# HTTP MCP transport
axterminator mcp serve --http 8080 --token secret