macOS screen capture and UI automation
## Peekaboo MCP Server: macOS System Control The **Peekaboo MCP Server** provides deep macOS integration for Google Antigravity, enabling developers to access system information, control applications, and automate macOS-specific tasks. ### Why Peekaboo MCP? - **System access** - Access macOS system information - **App control** - Control macOS applications - **File operations** - macOS-native file management - **Clipboard** - Read and write clipboard contents - **Notifications** - Send native macOS notifications ### Key Features #### 1. System Information ```python # Get system info info = await mcp.call("peekaboo", "get_system_info", {}) print(f"macOS: {info[\"os_version\"]}") print(f"Model: {info[\"model\"]}") print(f"Memory: {info[\"memory_gb\"]}GB") print(f"CPU: {info[\"cpu\"]}") # Get disk usage disks = await mcp.call("peekaboo", "get_disk_usage", {}) for disk in disks: print(f"{disk[\"name\"]}: {disk[\"used_percent\"]}% used") ``` #### 2. Application Control ```python # List running applications apps = await mcp.call("peekaboo", "list_applications", { "running_only": True }) for app in apps: print(f"{app[\"name\"]}: PID {app[\"pid\"]}") # Launch application await mcp.call("peekaboo", "launch_app", { "app_name": "Safari" }) # Focus application await mcp.call("peekaboo", "focus_app", { "app_name": "Visual Studio Code" }) ``` #### 3. Clipboard Operations ```python # Get clipboard content clipboard = await mcp.call("peekaboo", "get_clipboard", {}) print(f"Text: {clipboard[\"text\"]}") # Set clipboard await mcp.call("peekaboo", "set_clipboard", { "text": "Copied from Antigravity" }) ``` #### 4. Notifications ```python # Send notification await mcp.call("peekaboo", "send_notification", { "title": "Build Complete", "message": "Your project has finished building", "sound": "default" }) ``` ### Configuration ```json { "mcpServers": { "peekaboo": { "command": "npx", "args": ["-y", "@anthropic/mcp-peekaboo"] } } } ``` ### Use Cases **System Monitoring**: Access real-time system metrics. **App Automation**: Control macOS applications programmatically. **Clipboard Integration**: Share data via clipboard. **Development Alerts**: Native notifications for build events. The Peekaboo MCP Server enables deep macOS integration.
{
"mcpServers": {
"peekaboo": {
"mcpServers": {
"peekaboo": {
"args": [
"-y",
"peekaboo-mcp"
],
"command": "npx"
}
}
}
}
}