★ 4476 Swift MIT sse 更新 2小时前

Peekaboo

Peekaboo is a macOS CLI & optional MCP server that enables AI agents to capture screenshots of applications, or the entire system, with optional visual question answering through local or remote AI models.

安装配置

npx -y @steipete/peekaboo

README 摘要

# Peekaboo 🫣 - Mac automation that sees the screen and does the clicks. ![Peekaboo Banner](assets/peekaboo.png) [![npm package](https://img.shields.io/badge/npm_package-3.2.3-brightgreen?logo=npm&logoColor=white&style=flat-square)](https://www.npmjs.com/package/@steipete/peekaboo) [![License: MIT](https://img.shields.io/badge/License-MIT-ffd60a?style=flat-square)](https://opensource.org/licenses/MIT) [![macOS 15.0+ (Sequoia)](https://img.shields.io/badge/macOS-15.0%2B_(Sequoia)-0078d7?logo=apple&logoColor=white&style=flat-square)](https://www.apple.com/macos/) [![Swift 6.2](https://img.shields.io/badge/Swift-6.2-F05138?logo=swift&logoColor=white&style=flat-square)](https://swift.org/) [![node >=22](https://img.shields.io/badge/node-%3E%3D22.0.0-2ea44f?logo=node.js&logoColor=white&style=flat-square)](https://nodejs.org/) [![Download macOS](https://img.shields.io/badge/Download-macOS-000000?logo=apple&logoColor=white&style=flat-square)](https://github.com/steipete/peekaboo/releases/latest) [![Homebrew](https://img.shields.io/badge/Homebrew-steipete%2Ftap-b28f62?logo=homebrew&logoColor=white&style=flat-square)](https://github.com/steipete/homebrew-tap) [![Ask DeepWiki](https://img.shields.io/badge/Ask-DeepWiki-0088cc?style=flat-square)](https://deepwiki.com/steipete/peekaboo) Peekaboo brings high-fidelity screen capture, AI analysis, and complete GUI automation to macOS. Version 3 adds native agent flows and multi-screen automation across the CLI and MCP server. ## What you get - Pixel-accurate captures (windows, screens, menu bar) with optional Retina 2x scaling. - Natural-language agent that chains Peekaboo tools (see, click, type, scroll, hotkey, menu, window, app, dock, space). - Action-first UI automation for routine clicks/scrolls, with synthetic input fallback for apps that need it. - Direct accessibility tools for settable values and named actions (`set-value`, `perform-action`). - Menu and menubar discovery with structured JSON; no clicks required. - Multi-provider AI through Tachikoma, including hosted, local, and OpenAI-/Anthropic-compatible providers. - MCP server for Codex, Claude Code, and Cursor plus a native CLI; the same tools in both. - Configurable, testable workflows with reproducible sessions and strict typing. - Requires macOS Screen Recording + Accessibility permissions (see [docs/permissions.md](docs/permissions.md)). ## Install - macOS app + CLI (Homebrew): ```bash brew install steipete/tap/peekaboo ``` - MCP server (Node 22+, no global install needed): ```bash npx -y @steipete/peekaboo ``` ## Quick start ```bash # Capture full screen at Retina scale and save to Desktop peekaboo image --mode screen --retina --path ~/Desktop/screen.png # Click a button by label (captures, resolves, and clicks in one go) peekaboo see --app Safari --json | jq -r '.data.snapshot_id' | read SNAPSHOT peekaboo click --on "Reload this page" --snapshot "$SNAPSHOT" # Directly set a text field value when the accessibility value is settable peekaboo set-value --on T1 --value "hello" --snapshot "$SNAPSHOT" # Invoke a named accessibility action on an element peekaboo perform-action --on B1 --action AXPress --snapshot "$SNAPSHOT" # Run a natural-language automation peekaboo agent "Open Notes and create a TODO list with three items" # Run as an MCP server (Codex, Claude Code, Cursor) npx -y @steipete/peekaboo # Minimal MCP client config snippet: # { # "mcpServers": { # "peekaboo": { # "command": "npx", #...

相关 MCP

Github

GitHub's official MCP Server

★ 30131 Go sse 待补充
mcp sse Go

Fast

🚀 The fast, Pythonic way to build MCP servers and clients.

★ 25289 Python sse 待补充
mcp Python sse

Activepieces

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI W...

★ 22382 TypeScript sse 待补充
mcp sse TypeScript

Toolbox

MCP Toolbox for Databases is an open source MCP server for databases.

★ 15325 Go sse 有配置
mcp sse Go