shotter
by nathanstitt
Overview
Automating iOS Simulator interactions and screenshot capture for AI assistants via the Model Context Protocol.
Installation
npx shotter-mcpEnvironment Variables
- ANTHROPIC_API_KEY
Security Notes
The server allows execution of arbitrary shell commands via the 'runBefore' field in workflow YAML files (src/workflow/runner.ts). The 'runBefore' script is spawned with `shell: /bin/bash` and directly uses the provided string from the workflow configuration. This is a critical remote code execution vulnerability if a malicious or untrusted workflow file is ever processed. Additionally, `xcrun simctl` commands are executed using `execSync` (src/utils/simulator.ts), though input for these is less directly user-controlled.
Similar Servers
XcodeBuildMCP
Provides an MCP (Model Context Protocol) server for AI agents and other clients to programmatically build, test, run, and debug iOS and macOS applications, manage simulators/devices, and capture logs.
Peekaboo
macOS automation server that integrates AI for screen capture analysis, UI interaction, and agentic workflows.
MCPControl
A Windows control server for the Model Context Protocol, enabling AI models to programmatically control system operations such as mouse, keyboard, window management, and screen capture.
xc-mcp
Provides an intelligent MCP server for Xcode and iOS simulator workflows, optimized for AI agents to automate iOS development and testing tasks efficiently.