iOS Simulator MCP (IDB)

Simulator MCP server built on Facebook IDB and simctl, for screenshots, UI trees, taps, swipes, typing and GPS.

View on GitHub ↗
Stars
★ 17
Last commit
3 Feb 2026
Maintenance
Slowing
Licence
MIT
Category
MCP Servers
GitHub
whitesmith/ios-simulator-mcp

Overview

An MCP server from Whitesmith that gives AI assistants tools to control the iOS Simulator, written in Python. It uses Apple's simctl for simulator management and Facebook's IDB for UI interaction. A typical use is letting Claude Code check a feature visually after implementing it.

Features

  • Lists and manages simulators
  • Takes screenshots and inspects the UI hierarchy
  • Taps, long presses, swipes, types text and presses hardware buttons
  • Triggers a shake gesture
  • Launches apps by bundle ID and sets the GPS location

Requirements

  • macOS with Xcode Command Line Tools
  • Facebook IDB (idb-companion and the fb-idb Python package, using Python 3.11 or 3.12)
  • uv and pipx

Install

  1. Install the prerequisites

    xcode-select --install
    brew tap facebook/fb
    brew install idb-companion uv pipx
    pipx ensurepath
    pipx install fb-idb --python python3.11
  2. Clone, install and add to Claude Code, then restart Claude Code

    git clone https://github.com/whitesmith/ios-simulator-mcp.git ~/ios-simulator-mcp
    cd ~/ios-simulator-mcp
    uv sync
    claude mcp add ios-simulator \
      -- uv run --directory ~/ios-simulator-mcp ios-simulator-mcp

Example

After implementing a screen, ask Claude Code to take a screenshot in the simulator and check the layout looks right.

Works with

Claude CodeAny MCP client

Listed in

swiftskills.dev

Read the code before you install anything. SwiftAgents doesn't review or endorse the tools listed here. Active: a commit in the last 90 days. Slowing: last commit within the past year. Stale: older than a year, or archived.

More in this category