Peekaboo captures screens, reads accessibility trees, and drives UI clicks and typing on macOS via CLI, menu-bar app, agent mode, or MCP for coding agents.
Overview
Peekaboo is a macOS automation toolkit that combines screenshots, accessibility inspection, and native UI control. Install via Homebrew or npm for CLI and MCP usage, or use the signed menu-bar app for permission onboarding and visual feedback.
Commands list windows, click elements, type text, scroll, drag, manage menus, and run multi-step agent plans with configured model providers. MCP mode exposes the same tools to Codex, Claude Code, Cursor, and other clients over stdio.
Screen Recording and Accessibility permissions gate capture and control; documentation explains foreground versus background delivery rules. Configuration lives under ~/.peekaboo with provider profiles and shell completion generators.
Recent releases integrate audited Chrome DevTools MCP for browser actions where permitted and refine embedded bridge behavior for hosts such as OpenClaw.app.
Key features
- CLI screen capture and AX maps
- Click, type, scroll automation
- Natural-language agent runs
- MCP server for IDE agents
- Menu-bar permission assistant
- Provider-configurable models
- Window- and PID-targeted actions
- Homebrew and npm installs
Use cases
- Agent-driven macOS UI testing
- MCP desktop control from IDEs
- Scripted app walkthroughs
- Capturing annotated UI state