MCP Hub
Back to servers

Shotter

Shotter is an MCP server for automating iOS Simulator interactions, allowing AI agents to perform UI actions like tapping and typing, manage device states, and execute complex YAML-defined navigation workflows.

Tools
11
Updated
Dec 15, 2025

Shotter

MCP (Model Context Protocol) server for iOS Simulator automation. Provides tools for AI assistants to navigate iOS apps, interact with UI elements, and capture screenshots.

Features

  • MCP Integration: Works with Claude Desktop, Claude Code, and other MCP-compatible clients
  • Device Management: List, select, and boot iOS Simulator devices
  • UI Automation: Tap, swipe, type, and navigate iOS apps
  • Screenshot Capture: Visual analysis and high-quality screenshot saving
  • Workflow Support: Load and execute YAML-defined navigation workflows

Installation

npm install
npm run build

Configuration

Claude Desktop

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "shotter": {
      "command": "node",
      "args": ["/path/to/shotter/dist/server.js"]
    }
  }
}

Claude Code

Add to your project's .mcp.json or global settings:

{
  "mcpServers": {
    "shotter": {
      "command": "node",
      "args": ["/path/to/shotter/dist/server.js"]
    }
  }
}

Available Tools

Device Management

ToolDescription
list_devicesList available iOS simulators with names, UDIDs, and states
select_deviceBoot a simulator and set it as active (fuzzy name matching)
launch_appLaunch an app by bundle ID on the active device

UI Interaction

ToolDescription
ui_viewCapture screenshot for visual analysis
ui_describe_allGet accessibility info with coordinates for all UI elements
ui_tapTap at specific coordinates
ui_swipeSwipe gesture (for scrolling and navigation)
ui_typeType text into focused field
screenshotSave high-quality screenshot to a file

Workflow

ToolDescription
load_workflowLoad and parse a workflow YAML file
list_workflowsList available workflow files in a directory

Available Prompts

PromptDescription
navigateSystem prompt with iOS Simulator navigation strategies
workflow-stepFormat a workflow step with goal and hints for execution

Usage Examples

Once configured, ask your AI assistant to:

"Select iPhone 16 Pro and launch the Settings app"

"Take a screenshot of the current screen"

"Tap on the Wi-Fi option in Settings"

"Navigate to Privacy settings and take a screenshot"

Workflow Format

Workflows define multi-step navigation sequences:

name: "My App Screenshots"
description: "Capture key screens from my app"

bundleId: "com.example.myapp"

devices:
  - "iPhone 16 Pro"
  - "iPad Pro"

maxIterations: 20
outputDir: "./screenshots"

steps:
  - goal: "Navigate to settings"
    hints:
      - "Look for a gear icon or Settings tab"
    screenshot: "settings.png"

  - goal: "Open the profile screen"
    screenshot: "profile.png"

YAML Fields

FieldRequiredDescription
nameYesWorkflow name
descriptionNoWorkflow description
bundleIdYesApp bundle identifier
devicesYesList of simulator device names (fuzzy matched)
runBeforeNoScript to run before steps for each device
maxIterationsNoMax iterations per step (default: 20)
outputDirNoScreenshot output directory (default: ./screenshots)
stepsYesList of navigation steps

Step Fields

FieldRequiredDescription
goalYesWhat to accomplish
hintsNoHints to help navigate
screenshotNoFilename to save screenshot after step completes

Requirements

  • macOS with Xcode installed
  • iOS Simulator
  • Node.js 18+
  • Facebook IDB (brew install idb-companion)

Development

npm run dev    # Watch mode
npm run build  # Compile TypeScript

How It Works

Shotter acts as an MCP server that:

  1. Manages iOS Simulator device lifecycle (boot, select)
  2. Proxies UI commands to ios-simulator-mcp for screen interaction
  3. Provides navigation prompts optimized for AI assistants
  4. Supports workflow files for repeatable multi-step automation

The AI assistant uses ui_view to see the screen, makes decisions about what to tap or type, and verifies actions succeeded before continuing.

License

ISC

Reviews

No reviews yet

Sign in to write a review