Skip to main content
Glama
permissions.md1.66 kB
--- summary: 'Grant required macOS permissions and understand performance trade-offs for Peekaboo.' read_when: - 'Peekaboo cannot capture screens or focus windows' - 'tuning capture performance or troubleshooting permission dialogs' --- # Permissions & Performance ## Requirements - **macOS 15.0+ (Sequoia)** – core automation APIs depend on Sequoia. - **Screen Recording (required)** – enables CGWindow capture and multi-app automation. - **Accessibility (recommended)** – improves window focus, menu interaction, and dialog control. ## Granting Permissions 1. **Screen Recording** - System Settings → Privacy & Security → Screen & System Audio Recording. - Enable Terminal, your editor, or whatever shell runs `peekaboo`. - Benefit: fast CGWindow enumeration and background captures. 2. **Accessibility** - System Settings → Privacy & Security → Accessibility. - Enable the same terminals/IDEs so Peekaboo can send clicks/keystrokes reliably. 3. **Automation Check** ```bash peekaboo permissions check peekaboo permissions request screen-recording peekaboo permissions request accessibility ``` ## Performance Tips - **Hybrid enumeration** – with Screen Recording enabled, Peekaboo prefers the CGWindowList APIs and falls back to AX only when necessary. - **Built-in timeouts** – window/menu operations have ~2 s default timeouts to avoid hangs; adjust via CLI options if needed. - **Parallel processing** – when both permissions are enabled, window queries and captures stream concurrently. If automation feels sluggish, confirm permissions, then re-run with `--verbose` to inspect timings.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/steipete/Peekaboo'

If you have feedback or need assistance with the MCP directory API, please join our Discord server