
Preflight Ios Mcp
io.github.EthanAckerman-gitPublished by GitHub account EthanAckerman-gitv1.0.1Updated Oct 27, 2026
57 tools for AI-powered iOS Simulator automation — tap, swipe, type, screenshots, and more.
The publisher's own server: Preflight
Overview
Local MCP server that lets an AI assistant drive iOS Simulators on a Mac: tap, swipe, type, read accessibility trees, inspect app data, and debug apps.
- What you can do
- Observe and inspect the simulator: screenshots, device and app listings, app info, clipboard, screen geometry, accessibility snapshots and element waits
- Interact with the UI: tap, swipe, long press, type text, press keys, navigate back
- Manage devices and apps: boot, shut down, erase, create, clone, delete, rename, open URLs, install, launch, terminate and uninstall apps
- Debug and diagnose: device logs and live log streaming, crash reports, app container files, plists and SQLite, accessibility audits, memory and CPU profiling
- Simulate system conditions: GPS location and routes, push notifications, clipboard, media, permissions, appearance, status bar, video recording, biometrics, locale…
- When to use it
- Useful for iOS developers and QA engineers who want an assistant to exercise an app in the Simulator end to end: run scripted UI flows, verify screens, reproduce crashes, read logs, or test accessibility, localization, network and StoreKit scenarios without manual clicking.
- Requirements
- macOS with Xcode and the iOS Simulator installed, plus Node.js 18 or later; runs locally over stdio via npx. Facebook idb is recommended for cursor-free touch injection and needs its location on PATH or PREFLIGHT_IDB_PATH. Optional variables LOG_LEVEL and PREFLIGHT_FILTERED_TOOLS. Accessibility permission may be needed for the terminal app.
Installation
In SourceWeft
- Open Preflight Ios Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
Preflight MCP
The most comprehensive MCP (Model Context Protocol) server for iOS Simulator automation. Gives AI agents like Claude, ChatGPT, Cursor, Windsurf, and any MCP-compatible tool full control over iOS Simulators — tap, swipe, type, read accessibility trees, inspect app data, capture screenshots, record video, manage devices, and debug apps in real time.
82 tools across 14 categories. Zero cursor interference — works silently in the background while you use your Mac.
Inspired by Playwright MCP for web automation — Preflight brings the same structured accessibility-first approach to iOS.
Why Preflight?
- No disk clutter — Screenshots and video frames return directly in chat. No folders filling up.
- AI-optimized — Images compressed for minimal token usage. Video → key frames (most AI models can't view video files).
- Accessibility-first — Like Playwright's
browser_snapshot, usesimulator_snapshotto understand the screen without vision models. - Cursor-free — Touch injection via idb (IndigoHID) — your Mac cursor stays put.
- 82 tools — From basic tap/swipe to StoreKit testing, network conditioning, memory profiling, and crash log analysis.
Quick Start
Prerequisites
- macOS with Xcode and iOS Simulator installed
- Node.js 18+
- Facebook idb (recommended for cursor-free operation)
Install idb (recommended)
Without idb, the server falls back to CGEvent mouse injection (works but briefly moves your cursor).
Install via npm (recommended)
Build from Source
Setup by IDE / AI Tool
Add your Python bin directory to
PATHif idb was installed via pip (e.g.,~/Library/Python/3.x/bin).
Claude Code
Or add to .mcp.json in your project root:
Cursor
Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per-project):
Then in Cursor: Settings → MCP — verify "preflight" shows as connected.
Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
Then in Windsurf: Settings → Cascade → MCP — verify "preflight" appears.
VS Code (Copilot / Cline / Continue)
Add to .vscode/mcp.json in your project:
For Cline (VS Code extension), add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json:
Zed
Add to ~/.config/zed/settings.json:
Any MCP-Compatible Client
Preflight uses the standard MCP stdio transport. Configure your client to run:
Set the PATH environment variable to include idb's location for cursor-free touch injection.
Tools Reference
Observation (6 tools)
User Interaction (6 tools)
Playwright-Inspired (3 tools)
Device Management (6 tools)
App Management (4 tools)
Debugging & Diagnostics (9 tools)
System Simulation (5 tools)
UI Configuration (4 tools)
Advanced Debugging & Testing (18 tools)
Accessibility Settings (4 tools)
Device Creation & Management (4 tools)
StoreKit Testing (6 tools) — Xcode 14-16
Network Testing (2 tools)
Debugging & Profiling (5 tools)
Architecture
Design Philosophy
Accessibility-first, like Playwright MCP:
- Use
simulator_snapshotto understand the screen (structured text, no vision model) - Use coordinates from the snapshot to
simulator_tap,simulator_swipe, etc. - Use
simulator_screenshotwhen you need visual verification - Use
simulator_wait_for_elementbefore interacting with elements that appear after transitions
No disk clutter:
- Screenshots return as base64 in chat — no folders filling up your Desktop
- Video recordings extract key frames as inline images on stop
- Optional
savePathparameter if you actually need files on disk
Touch Injection Pipeline
Demo App
A SwiftUI demo app is included in demo-app/ for testing all MCP features:
The demo app has 7 tabs exercising every tool category:
- Interactions: Buttons, text fields, long-press zones, navigation stack, scrollable lists
- Location: Live GPS display for testing
simulator_set_location - Notifications: Push notification display for testing
simulator_send_push - Settings: Clipboard, file I/O, accessibility toggles, UserDefaults
- StoreKit: Mock purchases and subscriptions for testing StoreKit tools
- Network: Connection monitoring and latency testing for network conditioning
- Debug: Memory/CPU stress tests, thermal state, accessibility settings observer, biometric auth
Configuration
Environment Variables
Example Prompts
QA Testing
"Boot the iPhone 16 Pro simulator, install my app at ./build/MyApp.app, launch it, and take a screenshot of the home screen. Then tap the login button, type [email protected] in the email field, and verify the form validation works."
Accessibility-First Workflow (Playwright-style)
"Take a snapshot of the current screen to see what elements are available. Then tap the button labeled 'Sign In' and wait for the email text field to appear."
Debugging
"My app is crashing on launch. Check the crash logs for MyApp, then get the last 5 minutes of device logs filtered to the MyApp process."
Dark Mode Testing
"Switch to dark mode, take a screenshot, then switch to light mode and screenshot again."
Troubleshooting
idb not detected
If tools show [CGEvent fallback] instead of [cursor-free]:
- Verify idb is installed:
which idbor check~/Library/Python/3.x/bin/idb - Add the idb path to your MCP config's
PATHenv var - Or set
PREFLIGHT_IDB_PATHdirectly
Simulator not found
- Open Simulator.app:
open -a Simulator - Boot a device: use
simulator_bootorxcrun simctl boot "iPhone 16 Pro"
Accessibility permission errors
- Go to System Settings → Privacy & Security → Accessibility
- Add your terminal app (Terminal.app, iTerm, Claude Code, Cursor, Windsurf, etc.)
Development
License
MIT License — see LICENSE for details.
Source: README.md at commit cbf72b1
Tools
0Version history
1- v1.0.1LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Other Preflight integrations
Preflight
social.preflightOfficial publisher
Hosted social media scheduling server that lets an assistant draft, rule-check, schedule and publish posts to 12 networks.

SQLite rebuild copy-map preflight
Published by GitHub account showflexinc
Remote preflight service that checks the structure of SQLite table-rebuild copy maps before a rebuild is run.

Rust MCP Preflight
Published by GitHub account Wolfe-Jam
Checks an MCP Registry listing before publishing: README mcp-name line, server.json rules, server name and namespace login.

Multipart row preflight
Published by GitHub account showflexinc
CSV row-structure inspection (inspect_parts) and manifest comparison (compare_manifest).

Tool-dialogue preflight
Published by GitHub account showflexinc
Tool-dialogue preflight's hosted MCP server; credential required; Streamable HTTP.