Peekaboo MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OPENAI_API_KEY | No | Your OpenAI API key for using OpenAI models for image analysis. | |
| PEEKABOO_CLI_PATH | No | Optional override for the Swift peekaboo CLI executable path. | uses bundled CLI |
| PEEKABOO_LOG_FILE | No | Path to the server's log file. If the specified directory is not writable, falls back to the system temp directory. | ~/Library/Logs/peekaboo-mcp.log |
| PEEKABOO_LOG_LEVEL | No | Logging level (trace, debug, info, warn, error, fatal). | info |
| PEEKABOO_CLI_TIMEOUT | No | Timeout in milliseconds for Swift CLI operations. Prevents hanging processes. | 30000 |
| PEEKABOO_AI_PROVIDERS | No | JSON string defining AI providers for image analysis. Format: 'provider_name/model_identifier' using commas or semicolons as separators. | |
| PEEKABOO_CONSOLE_LOGGING | No | Boolean ("true"/"false") for development console logs. | false |
| PEEKABOO_OLLAMA_BASE_URL | No | Base URL for the Ollama API server. Only needed if Ollama is running on a non-default address. | http://localhost:11434 |
| PEEKABOO_DEFAULT_SAVE_PATH | No | Default directory for saving captured images when no path is specified. | System temp directory |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| imageA | Captures macOS screen content and optionally analyzes it. Targets can be entire screen, specific app window, or all windows of an app (via app_target). Supports foreground/background capture. Output via file path or inline Base64 data (format: "data"). If a question is provided, image is analyzed by an AI model (auto-selected from PEEKABOO_AI_PROVIDERS). Window shadows/frames excluded. Peekaboo MCP 1.1.0 using openai/gpt-4-vision, anthropic/claude-3-opus, google/gemini-pro-vision |
| analyzeA | Analyzes a pre-existing image file from the local filesystem using a configured AI model. This tool is useful when an image already exists (e.g., previously captured, downloaded, or generated) and you need to understand its content, extract text, or answer specific questions about it. Capabilities:
Example: If you have an image '/tmp/chart.png' showing a bar chart, you could ask: { "image_path": "/tmp/chart.png", "question": "Which category has the highest value in this bar chart?" } The AI will analyze the image and attempt to answer your question based on its visual content. Peekaboo MCP 1.1.0 using openai/gpt-4-vision, anthropic/claude-3-opus, google/gemini-pro-vision |
| listA | Lists various system items on macOS, providing situational awareness. Capabilities:
Use Cases:
|
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose with no overlap: 'analyze' processes existing image files, 'image' captures screen content, and 'list' provides system information. The boundaries are well-defined, making it easy for an agent to select the right tool for each task.
The naming is mixed: 'analyze' and 'list' are simple verbs, while 'image' is a noun, breaking a consistent pattern. However, the names are still readable and descriptive of their functions, though they lack a uniform verb_noun or other predictable convention.
With 3 tools, the count is well-scoped for a macOS screen capture and analysis server. Each tool serves a distinct, essential function (analysis, capture, and system listing), and there are no extraneous tools, making the set focused and efficient.
The tool set covers core workflows for screen capture and analysis on macOS, including listing apps/windows, capturing images, and analyzing them. A minor gap is the lack of tools for managing or deleting captured images, but agents can work around this using the provided tools effectively.