@mgcrea/mcp-ios-simulator
A Model Context Protocol server that lets a model see, drive, and stage an iOS Simulator with no Apple account, no code signing, and no WebDriverAgent for most of it — 25 tools, 17 of which disappear with IOS_SIMULATOR_ALLOW_WRITES=0.
Look around —
listsimulators (optionally including unusable orphans),list_appswith each app's host-path data container, anddiagnosticsreporting the simctl lane, the WDA lane, the resolved device and its geometry.See the screen —
screenshotcaptures viasimctl, scaled to point size so image positions are tap coordinates;ui_treereturns a flattened, filtered accessibility tree with precomputed tap points;wait_for_elementpolls until something appears or goes away.Drive the screen —
tapby point,tap_elementby identifier/label/predicate,swipe,typeinto a field,press_button(Home); each returns the resulting screenshot by default.Stage the device —
set_environmentfor dark mode, Dynamic Type, increase contrast, a frozen 9:41 status bar, a simulated location, and app permissions granted/revoked/reset — none of which is possible on real hardware.Manage the app —
installa.appbundle,launchwith fixture arguments and optional log capture,terminate,uninstall(confirm),open_urlfor deep links.Read logs and crashes —
read_logsfollows acapture_logslaunch with a cursor and regex filter;list_crash_logsandget_crash_logsurface simulator reports with the exception and faulting thread.Everything else —
add_mediato seed the photo library (the missing camera),pusha real remote notification without APNs,powerto boot/shutdown,eraseto factory (confirm),restart_wdato start a detached runner.Zero-setup — 18 of the 25 tools work with nothing installed; only
ui_tree,wait_for_elementand the five input tools need a WebDriverAgent runner.
Provides tools for driving an iOS Simulator, including screen capture, accessibility tree inspection, touch input (tap, swipe, type), app management, device staging (appearance, permissions, location), and push notification delivery.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@mgcrea/mcp-ios-simulator take a screenshot and read the accessibility tree of the current app"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@mgcrea/mcp-ios-simulator
Model Context Protocol server for driving an iOS Simulator from a model: screenshot the screen, read its accessibility tree, tap, swipe, type, manage the app under test — and stage the device itself, which is the part no physical device can do.
No Apple Developer team. No code signing. No device trust. No tunnel. Nothing to unlock. And screenshots work with nothing installed at all.
Features
See the screen, with zero setup.
simctlcaptures it directly, scaled to exactly the device's point size, so a position read off the image is a tap coordinate with no conversion. No WebDriverAgent needed for this.Read the screen. A flattened, pruned accessibility tree — type, label, identifier and the precomputed tap point per element — instead of the tens of KB of nested JSON WebDriverAgent actually returns.
Drive the screen. Tap by coordinate or by accessibility label, swipe, type, press Home. Every action returns the resulting screen by default, so a mis-aimed tap is visible on the call that made it.
Stage the device. Dark mode, Dynamic Type size, increased contrast, a frozen 9:41 status bar, a simulated location, and app permissions granted or denied without a prompt anyone has to tap. None of this is possible on real hardware.
Push without APNs. Deliver a real remote notification with no certificate and no server.
Manage the app. Install a build, launch it with fixture arguments, terminate it, uninstall it, open a deep link. An app's data container is an ordinary path on this Mac, so its database or logs are read directly — there is nothing to copy off a device.
Read its logs.
launchwithcapture_logs: truewrites the app's stdout, stderr and everyLogger/os_logmessage into one file, andread_logsfollows it with a cursor, a regex filter and Xcode's thirty-character line prefix cut down to the time.Read its crashes. Simulator crash reports land among this Mac's own in
~/Library/Logs/DiagnosticReports;list_crash_logskeeps only the simulators', says which simulator each came from, andget_crash_logreturns the exception and the faulting thread with library names resolved.
Related MCP server: Shotter
Security
Writes are on by default, and that is deliberate. The rest of the fleet is
read-only until a flag is set because a mutating tool acts on someone's real
account or someone's real phone. A simulator is neither: it holds no person's
data, and ios_simulator_erase puts it back to factory in seconds.
What that still costs you, stated honestly:
installandlaunchrun code on your Mac. A simulated process is a host process.The app's data container is a plain host path, readable by anything.
eraseanduninstallare irreversible — they are the two tools behind an explicitconfirm.list_crash_logsreads this Mac's DiagnosticReports folder. It keeps only simulator reports andget_crash_logrefuses a Mac app's, but the folder is yours and the server reads it as you.IOS_SIMULATOR_ALLOW_WRITES=0restores the device server's posture in one variable, and then the seventeen driving tools are absent fromtools/listrather than refused, because a refusal still lets a model try, retry and reason about a way around it.
Your credentials. There are none. The server holds no tokens and talks to no
vendor API. Everything goes through xcrun simctl and a loopback HTTP server.
Supply chain. Three runtime dependencies: @modelcontextprotocol/server,
zod, and @mgcrea/mcp-ios-core — our own, and itself
dependent on only the first two. Scaling images uses sips and reading property
lists uses plutil, both of which ship with macOS, specifically so neither an
image library nor a plist parser has to be installed.
How it reaches the simulator
Lane | Carries | Needs |
| simulators, apps, install, launch, deep links, the screenshot, appearance, status bar, location, permissions, push, boot/shutdown/erase | Xcode. Nothing else. |
WebDriverAgent over HTTP | the accessibility tree, tap, swipe, type, buttons | a runner started once with |
The asymmetry with mcp-ios-device is worth stating plainly: there, every
pixel comes through WebDriverAgent, so nothing about the screen works until a
signed runner is installed and trusted on the phone. Here simctl captures the
screen itself, so eighteen of the twenty-five tools work with no runner at all
— only ios_simulator_ui_tree, ios_simulator_wait_for_element and the five
input tools need one, and building it
takes about two minutes with no Apple account.
ios_simulator_diagnostics reports both lanes separately, so "the simulator is
fine but the runner is not up" is a distinguishable answer rather than a generic
failure.
Configure
Variable | Default | What it does |
| the only booted simulator | UDID, name, or |
| on |
|
| none | Launch arguments applied when |
|
| Where |
| none | Pins every simulator to one runner URL; rarely needed. |
|
| Byte cap on a |
|
| Budget for one |
|
| Budget for one WebDriverAgent call. |
|
| Screenshots, launch logs, the runner log. |
|
| Where |
| off | Log every |
The same keys in camelCase can go in ~/.config/ios-simulator-mcp/config.json
(IOS_SIMULATOR_CONFIG to move it). The environment wins per field, so a
one-off IOS_SIMULATOR_ALLOW_WRITES=0 beats a file that says true. Unknown keys
in the file are an error rather than silently ignored — a typo that looks like
"that setting had no effect" is the worst way to learn where your configuration
came from.
See .env.example for the annotated version.
Quick start
Requires macOS with Xcode and a booted simulator.
A. Everything except the tree and the taps, with no setup
npx -y @mgcrea/mcp-ios-simulatorlist, list_apps, screenshot, diagnostics, power, install, launch,
open_url, set_environment, push and erase all work immediately.
B. The input lane
ui_tree, tap, tap_element, swipe, type and press_button need a
WebDriverAgent runner. Build and start it — no team id, no signing, no prompt:
scripts/wda.sh setup # ~2 minutes
scripts/wda.sh run # leave this running
scripts/wda.sh status # is it answering?Several simulators can be driven at once, each with its own runner. The server
finds a simulator's runner by its port's owner, so no port needs configuring:
ios_simulator_restart_wda {"device":"…"} starts one on the first free port, and
from a shell IOS_SIMULATOR_ID=<udid> USE_PORT=8101 scripts/wda.sh run does the
same by hand. A call for a simulator whose runner is not up is refused rather
than sent to another simulator's.
Installed from npm, the same script is the ios-simulator-wda binary:
npx -p @mgcrea/mcp-ios-simulator ios-simulator-wda setup
npx -p @mgcrea/mcp-ios-simulator ios-simulator-wda runC. Wired into a client
See .mcp.json.example.
Tools
Twenty-five. Eight are read-only; the other seventeen disappear with
IOS_SIMULATOR_ALLOW_WRITES=0. read_logs is among those seventeen although it
changes nothing: it only reads what launch started capturing, so it goes where
launch goes.
Tool | Writes? | What it does |
| Every simulator, with state and whether its runtime is installed | |
| Both lanes, the resolved target, the geometry, and who owns the WDA port | |
| Installed apps, with bundle id and host-path data container | |
| The screen, in point space — no runner needed | |
| Addressable elements with precomputed tap points | |
| Poll until something appears, or goes away | |
| Simulator crash reports, newest first, by simulator and process | |
| One report: exception, termination, faulting thread | |
| ✓ | Tap a point |
| ✓ | Tap by identifier, label or predicate |
| ✓ | Drag between two points |
| ✓ | Type into the focused field, or a named one |
| ✓ | Home |
| ✓ | Boot or shut down; never implicit |
| ✓ confirm | Wipe to factory |
| ✓ | Install a simulator |
| ✓ | Launch, with fixture arguments and captured output |
| ✓ (gate only) | Follow a |
| ✓ confirm | Remove one app and its data |
| ✓ | Kill a running app |
| ✓ | Deep links and universal links |
| ✓ | Appearance, Dynamic Type, contrast, status bar, location, permissions |
| ✓ | Seed the photo library — the way around the missing camera |
| ✓ | A remote notification, with no APNs certificate |
| ✓ | Start or restart the runner, detached |
Deliberately absent: create, clone, delete, rename, upgrade and pair
(fleet management, not driving, and delete all is a footgun with no upside);
get_app_container (list_apps already returns the path); keychain,
pbcopy, spawn, diagnose and recordVideo (real capabilities that an agent
would use approximately never, and every tool costs listing bytes on every
connect).
addmedia was on that list until 0.2.0, and it was the wrong call. A simulator
has no camera, so seeding the photo library is not a nice-to-have — it is the
only way an app whose first step is "choose a photo" can be driven here at all.
Anyone hitting that had to drop out to a shell, which is exactly what these
tools exist to avoid.
uninstall was on it too, on the grounds that install overwrites and erase
covers a first run. But erase takes every other app's data and a reboot with
it, and "this app's first launch, everything else as it was" is the ordinary
case. It sits behind confirm like erase.
Traps worth knowing
Measured on Xcode 26.6 (17F113) unless marked Xcode 27, which was checked on Xcode 27.0 (27A266a) with an iOS 27.0 runtime.
simctl io … screenshot -does not write to stdout. The help text says it does. It creates a file literally named-in the current working directory and printsWrote screenshot to: …to stderr, exit 0. This server always passes a real path.simctl ioon a simulator whose runtime is missing aborts — SIGABRT, exit 134, an uncaughtNSInternalInconsistencyExceptionand a thirty-line stack trace, not an error message. Availability is checked in the resolver, before the call. On a typical machine a large fraction of simulators are in this state.erase,deleteandshutdownall accept the literalall. A target of"all"reachingsimctl erasewipes every simulator on the machine. Refused in the resolver and again in the adapter.bootedis a coin flip. simctl's own help: "If multiple devices are booted … simctl will choose one of them." Resolved to a concrete UDID here first.WebDriverAgent scans ports 8100-8199 when
USE_PORTis unset. With two booted simulators, the second runner comes up healthy on 8101 and a server pointed at 8100 drives the first one while every call reports success.scripts/wda.shalways pinsUSE_PORT, and every UI call looks up the runner it needs by its owner —SIMULATOR_UDIDfromps -Ewwon each listenerlsoffinds in 8100-8199 — rather than trusting a fixed port.listappsreturns an old-style NeXTSTEP plist, not JSON.--jsonis a flag onlistand nothing else.A status bar override survives a reboot. Clear it or it quietly pollutes every later screenshot.
simctl launchenvironment variables need aSIMCTL_CHILD_prefix on the calling process, not a flag.An app's
Loggeroutput reaches no file unlessOS_ACTIVITY_DT_MODEis set (Xcode 27). Settings launched plainly wrote 8 lines to stderr; launched withSIMCTL_CHILD_OS_ACTIVITY_DT_MODE=YESit wrote 77 in the same eight seconds, the unified log mirrored with Xcode's prefix.capture_logssets it.--stdoutand--stderrmay be the same file (Xcode 27). A probe app alternatingprint, stderr andLoggerproduced one file with all fifteen lines in order and nothing overwritten. The redirect appends, so a relaunch into the same path keeps the previous run's lines — everycapture_logslaunch gets a fresh file.A launch log under
/tmpor$TMPDIRis not where you asked (Xcode 27). The simulator opens the redirect itself, and it has its own/tmpand/var/folders:--stdout=/tmp/x/a.outcreated<device>/data/tmp/x/a.out, and the path given never existed — which is where this server's default output directory is.launchnow looks in both places and returns the real one. A path under/Usersis written as given.A simulator crash report says it is one in
platform, notis_simulated(Xcode 27). Of 593 reports on one Mac, the 464 from simulators all had headerplatform: 7(PLATFORM_IOSSIMULATOR), the Mac's all had 1, andis_simulated: 1was on 13 Mac reports — Safari, Mail and two helpers.procPathis anonymised, so the simulator's UDID comes from the body'scoalitionName(com.apple.CoreSimulator.SimDevice.<UDID>), which sat in the first 1.8 KB of every one.A Swift
fatalErrormessage is in the log, not the crash report (Xcode 27). The probe's report had the_assertionFailureframe and no application-specific text; the message was on stderr.get_crash_logsays so when it happens.simctl uninstallof an app that is not installed succeeds (Xcode 27), silently, exit 0. Success does not prove it was there.Launching an app that is not installed fails as "The request to open … failed" (Xcode 27),
FBSOpenApplicationServiceErrorDomaincode 4, with nothing about installation. The error now carries that remedy.A label belongs to the control and to every container around it. WebDriverAgent answers depth-first, so an unqualified label match lands on the navigation bar as readily as on the button — and a tap on a container does nothing while reporting success.
tap_elementnarrows a label to the interactive types first, and sayspreferredControlwhen it did.isVisibleis not always truthful. APHPickerpresented over Safari reports all nine of its asset cellsisVisible: "0"while they are on screen and tappable — a synthesised tap on one opens the preview. The defaultui_treefilter drops them, which is why the result carries afilteredtally: a short list that has been filtered and a screen that is genuinely bare are otherwise the same answer.simctl installwants a.appbundle directory built for the simulator — an.ipaor a device build fails with "No such file or directory", which reads like a path typo.simctl bootgives you no window. It runs headless, which is what an agent wants and confusing the first time;poweropens a window by default.Xcode 27 ships no Simulator.app. The simulator's window belongs to DeviceHub (
com.apple.dt.Devices), andopen -a Simulatorfails.powertries Simulator.app first and falls back to opening DeviceHub by bundle id; a window that still will not open is awarningon a boot that worked, never an error.DeviceHub cannot be told which device to show. It keeps one device per window, on whatever was last picked in its sidebar. No
devices://URL switches it —device/<UDID>, a bare UDID andsimulator/<UDID>were all ignored — and a query-string form it did not recognise made it quit, taking every booted simulator down with it.powertherefore opens it by bundle id and says in itsnoteto select the device. Screenshots and the WDA lane do not care which device the window shows.Quitting DeviceHub shuts every booted simulator down. Unlike Simulator.app, whose window could close with the device left running, a plain Quit takes the simulators with it; DeviceHub's separate "Quit and Keep Simulators Running" does not. Since
poweropens DeviceHub by default, a device that vanishes mid-session usually means someone quit that window. Passopen_window: falseto boot headless when nobody needs to watch.Xcode 27 moved the screen geometry out of
profile.plist. No device type's profile carriesmainScreen*any more, old types included; the same numbers are undercapabilities.ScreenDimensionsCapabilityincapabilities.plist. Reading only the profile defaults the scale to 1 and labels a 1206×2622 pixel capture as points, with nothing looking wrong.Two runtimes can share one identifier, so the key of
list devicesis not a primary key.
Develop
pnpm install
pnpm lint && pnpm format:check && pnpm typecheck && pnpm test && pnpm buildLicense
MIT — see LICENSE.
Available Tools
25 toolsios_simulator_add_mediaiOS Simulator: Add MediaA
Put photos or videos into the simulator's photo library. A simulator has no camera, and this is how you get around that: seed the library first, then drive the app's picker as normal. Without it, every flow that starts with an image is untestable here. Files are copied in, so the originals are untouched and the simulator keeps them until it is erased. Pair it with permission on ios_simulator_set_environment to skip the access prompt entirely.
Inputs: paths (required), device.
ios_simulator_diagnosticsiOS Simulator: DiagnosticsBRead-only
Report both lanes separately and never fail: which simulators exist and which are usable, which one this server would drive, its screen geometry, and whether WebDriverAgent is answering — including every simulator's runner and its port, and which one the target's taps would reach. Start here when anything else misbehaves.
Inputs: device.
ios_simulator_eraseiOS Simulator: EraseADestructive
Wipe a simulator back to a factory state: installed apps, their data, the keychain and every granted permission. Irreversible, hence confirm; ios_simulator_uninstall is the narrower way to a first launch of one app. A booted simulator is shut down first and booted again afterwards, because simctl refuses to erase a running one.
Inputs: confirm (required), device.
ios_simulator_get_crash_logiOS Simulator: Get Crash LogARead-only
Read one simulator crash report and return what matters in it: the exception, why the process was terminated, any application-specific message, and the faulting thread's top frames with library names resolved. The full report's path is returned too; it is often tens of kilobytes, so read it only when the summary is not enough. A Swift fatalError's message may not be in the report at all — on a simulator it goes to the app's stderr.
Inputs: name (required).
ios_simulator_installiOS Simulator: InstallAIdempotent
Install a build. The path must be a .app bundle directory built for the simulator — not an .ipa, and not a device build, both of which fail with a bare "No such file or directory" that reads like a typo. Installing over an existing copy replaces it and keeps its data.
Inputs: path (required), device.
ios_simulator_launchiOS Simulator: LaunchA
Launch an installed app. Pass arguments to put it into a fixture or demo mode — that is what IOS_SIMULATOR_LAUNCH_ARGS sets as the default for every launch that does not override it. Standard output and error are captured to files under the output directory, so an app that dies on launch leaves something readable behind. Pass capture_logs: true to also get its Logger/os_log output, in one file read with ios_simulator_read_logs.
Inputs: bundle_id (required), device, arguments, capture_logs, +1 more.
ios_simulator_listiOS Simulator: ListARead-only
List the simulators on this machine, with the UDID every other tool takes. Shows the usable ones: a typical machine carries thirty-odd simulators and a good fraction of them are orphans whose runtime is no longer installed, which cannot be booted, driven or screenshotted at all. The result still says how many were left out and how to delete them, and include_unavailable brings them back with available: false and the reason, so "why can't I use that one" is still answerable here.
Inputs: booted_only, name_contains, include_unavailable.
ios_simulator_list_appsiOS Simulator: List AppsARead-only
List the apps installed on a simulator, with the bundle id every other tool takes. Defaults to your own apps: a stock simulator carries about thirty, and twenty-five of them are Apple's. Each entry also carries dataContainer — an ordinary path on this Mac, so an app's database or logs can be read directly with no copy step.
Inputs: device, include_all.
ios_simulator_list_crash_logsiOS Simulator: List Crash LogsARead-only
List crash reports from simulator processes, newest first. A simulator app's crash is written by this Mac into ~/Library/Logs/DiagnosticReports alongside the Mac's own crashes; this keeps only the simulators' and says which simulator each came from. Most of them are the simulators' own system daemons, so pass process to find your app's. Read one with ios_simulator_get_crash_log. Nothing needs to be booted.
Inputs: kinds, limit, device, process.
ios_simulator_open_urliOS Simulator: Open URLA
Open a URL on the simulator, which is how you exercise a deep link or a universal link without finding a way to tap one. An https:// link opens in Safari unless the app claims it; a custom scheme goes straight to whichever app registered it.
Inputs: url (required), device.
ios_simulator_poweriOS Simulator: PowerAIdempotent
Boot or shut down a simulator. Booting is the one thing this server will not do for you implicitly — a cold boot takes tens of seconds and puts a window on the user's screen, and it changes which simulator an unqualified call resolves to afterwards. Both directions are idempotent: booting a booted simulator succeeds.
Inputs: state (required), device, wait_ms, open_window.
ios_simulator_press_buttoniOS Simulator: Press ButtonA
Press a hardware button. home is the way back to the home screen and the reliable way to background the app under test without terminating it.
Inputs: name (required), device, settle_ms, screenshot.
ios_simulator_pushiOS Simulator: PushA
Deliver a push notification, with no APNs certificate and no server. The payload is a normal remote-notification body and must contain an aps key. Only remote pushes are simulated — not VoIP, complications or file-provider. The app must be installed; it does not have to be running.
Inputs: payload (required), bundle_id (required), device.
ios_simulator_read_logsiOS Simulator: Read LogsARead-only
Read an app's log output: stdout, stderr and every Logger/os_log message the process emits, interleaved in one file. Only available for an app started with ios_simulator_launch capture_logs: true. Returns the newest limit lines plus a next cursor; pass it back to get only what arrived since, which is how to see what one tap logged. capturing turns false once the app's process has exited, and what it wrote stays readable. A crash's backtrace is not in here — see ios_simulator_list_crash_logs — but its fatalError message is.
Inputs: limit, cursor, device, filter, +1 more.
ios_simulator_restart_wdaiOS Simulator: Restart WebDriverAgentA
Start the WebDriverAgent runner, or restart it after it has died. Only the UI tree and the input tools need it — screenshots and everything simctl does keep working without it. Each simulator gets its own runner on its own port, so several can be driven at once. The runner is started detached so it outlives this conversation, and its output goes to a log file rather than to you. It does not wait: give it fifteen seconds or so, then check ios_simulator_diagnostics.
Inputs: port, device.
ios_simulator_screenshotiOS Simulator: ScreenshotARead-only
Capture the screen and return it as an image. By default it is scaled to exactly the device's point size, which means a position read off this image can be passed straight to ios_simulator_tap with no conversion — the returned metadata says coordinateSpace: "points" when that holds. Pair it with ios_simulator_ui_tree rather than choosing between them: the image shows you what the screen looks like, the tree gives you exact labels and identifiers. Re-screenshot after every action rather than chaining blind taps.
Inputs: device, quality, save_path, max_dimension.
ios_simulator_set_environmentiOS Simulator: Set EnvironmentAIdempotent
Stage the simulator before a screenshot or a test: dark mode, Dynamic Type size, increased contrast, a frozen status bar, a simulated location, and app permissions. None of this is possible on a physical device, and it is most of the reason to prefer a simulator for UI work. Every field is optional; those given are applied in order and the result reports the state afterwards. A status bar override survives a reboot, so clear it when you are done or it quietly pollutes later screenshots.
Inputs: device, location, appearance, permission, +5 more.
ios_simulator_swipeiOS Simulator: SwipeA
Drag from one point to another, in points — how you scroll a list, pull to refresh, or swipe a row open. To scroll down a page, swipe from low on the screen to high on it. duration_ms is what separates a scroll from a fling: a short one throws the list past where you aimed.
Inputs: to_x (required), to_y (required), from_x (required), from_y (required), +4 more.
ios_simulator_tapiOS Simulator: TapA
Tap a position on screen, in points. Prefer ios_simulator_tap_element when the target has a label or an accessibility identifier — a position stops being right the moment the layout shifts, and nothing about a wrong tap looks wrong. Coordinates come from a default ios_simulator_screenshot image or from a tap field in ios_simulator_ui_tree, which are the same space.
Inputs: x (required), y (required), device, hold_ms, +2 more.
ios_simulator_tap_elementiOS Simulator: Tap ElementA
Tap the element with this accessibility identifier or label, letting the device resolve its position. This is the tool to reach for: it survives the screen scrolling, the layout changing and the copy being reworded, none of which a coordinate does. Give exactly one of id, label or predicate; identifiers from ios_simulator_ui_tree.
Inputs: id, index, label, device, +3 more.
ios_simulator_terminateiOS Simulator: TerminateAIdempotent
Kill a running app. The app is not uninstalled and its data is untouched — this is how you get back to a cold start without erasing anything.
Inputs: bundle_id (required), device.
ios_simulator_typeiOS Simulator: TypeA
Type text into whatever currently has keyboard focus, or into a named field. Focus is the trap: with nothing focused the keystrokes go nowhere and the call still succeeds, so pass id or label to have the field tapped first unless you know a field is already active.
Inputs: text (required), id, label, device, +3 more.
ios_simulator_ui_treeiOS Simulator: UI TreeARead-only
List the addressable elements on screen — type, label, accessibility identifier, and the exact point to tap — flattened rather than nested. Prefer this over reading coordinates off a screenshot whenever you can: a label or identifier survives the screen moving, and a pixel position does not. The raw hierarchy is tens of KB, so this returns controls only by default; use contains or types to narrow further and detail to widen. A short answer is not proof the screen is bare — check the filtered field, which counts what the filters left out and names the argument that brings it back. Coordinates are in points, the same space ios_simulator_tap takes.
Inputs: types, detail, device, contains, +1 more.
ios_simulator_uninstalliOS Simulator: UninstallADestructiveIdempotent
Remove an app from the simulator, with its data container — documents, databases and preferences all go, and nothing brings them back. To get back to a cold start while keeping the data, use ios_simulator_terminate. To test a genuine first launch of one app, this is narrower than ios_simulator_erase, which wipes every app on the simulator. Uninstalling an app that is not installed also succeeds, so success does not prove it was there.
Inputs: confirm (required), bundle_id (required), device.
ios_simulator_wait_for_elementiOS Simulator: Wait For ElementARead-only
Poll until an element appears, or until it goes away. This is the tool for a screen that loads: a generation step, a network round trip, a long import. settle_ms on the action tools is a pause for an animation and caps at ten seconds — it is not a wait, and using it as one is how you end up verifying a server instead of the screen. Give exactly one of id, label or predicate, the same way ios_simulator_tap_element takes them. Your MCP client may have a request timeout of its own, commonly 60 seconds, and it will cut this call off before timeout_ms does — for a longer wait, raise it there too or call this twice.
Inputs: id, label, absent, device, +4 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 25 tools
Boundaries are explicitly documented: tap vs tap_element, screenshot vs ui_tree, terminate vs uninstall vs erase, list_crash_logs vs get_crash_log are all distinguished in their descriptions with guidance on when to use each. Pairs like diagnostics/list and wait_for_element/settle_ms are clarified rather than overlapping. No two tools appear to do the same thing.
Every tool uses the ios_simulator_ prefix and snake_case, which is highly predictable. The verb/noun pattern is slightly mixed (list_apps, tap_element vs ui_tree, diagnostics, screenshot), so it is not a single uniform verb_noun convention, but it remains readable and consistent in style.
25 tools sits at the heavy end of the scale, but each maps to a distinct simulator capability (lifecycle, input, UI inspection, logs, media, environment) with no filler. Slightly over the ideal range but well justified for a full simulator automation surface.
Covers device lifecycle (boot/erase/install/launch/terminate/uninstall), full UI driving (tree/screenshot/tap/swipe/type/button), logs, crash logs, push, deep links and media. Minor gaps remain: no delete-simulator tool despite list mentioning deletion, and gestures like long-press, pinch/zoom and orientation rotation are absent.
Maintenance
Related MCP Connectors
Build, run, and inspect iOS apps in disposable hosted Simulators from cloud coding agents.
Drive real devices from your AI Coding tool. Embed a client SDK (Unity, Godot, Flutter, iOS/macOS, Android, React Native, Web) in your app, then capture screenshots, traverse the UI tree, inject taps and key events, and run automated test tasks on the physical device over a secure relay.
Cloud iPhone Simulators for AI agents: build the Xcode project, read the screen, tap by label, test.
Open a React Native app in a simulated phone: read the screen, tap, type, set device state.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables interaction with iOS simulators by providing tools to inspect UI elements, control UI interactions, and manage simulators through natural language commands.1710,395 npm2,231MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to automate iOS Simulator interactions including device management, UI element interaction (tap, swipe, type), screenshot capture, and execution of YAML-defined navigation workflows.ISC
- FlicenseNot gradedqualityDmaintenanceEnables AI to control iOS simulators through the MCP protocol. Supports device management, UI automation, and network interception including screenshot capture, text input, and HTTP request mocking.-
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to drive iOS Simulators on macOS by listing devices, launching apps, tapping, typing, swiping, inspecting the UI tree, and taking screenshots.MIT