ios-simulator-mcp
v1.3.0MCP server for interacting with the iOS simulator
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_booted_sim_id
Get the ID of the currently booted iOS simulator
ui_describe_all
Describes accessibility information for the entire screen in the iOS Simulator
| Parameter | Type | Description |
|---|---|---|
udid | string | Udid of target, can also be set with the IDB_UDID env var |
ui_tap
Tap on the screen in the iOS Simulator
| Parameter | Type | Description |
|---|---|---|
x * | number | The x-coordinate |
y * | number | The x-coordinate |
duration | string | Press duration |
udid | string | Udid of target, can also be set with the IDB_UDID env var |
ui_type
Input text into the iOS Simulator
| Parameter | Type | Description |
|---|---|---|
text * | string | Text to input |
udid | string | Udid of target, can also be set with the IDB_UDID env var |
ui_swipe
Swipe on the screen in the iOS Simulator
| Parameter | Type | Description |
|---|---|---|
x_end * | number | The ending x-coordinate |
x_start * | number | The starting x-coordinate |
y_end * | number | The ending y-coordinate |
y_start * | number | The starting y-coordinate |
delta | number | The size of each step in the swipe (default is 1) |
udid | string | Udid of target, can also be set with the IDB_UDID env var |
ui_describe_point
Returns the accessibility element at given co-ordinates on the iOS Simulator's screen
| Parameter | Type | Description |
|---|---|---|
x * | number | The x-coordinate |
y * | number | The y-coordinate |
udid | string | Udid of target, can also be set with the IDB_UDID env var |
screenshot
Takes a screenshot of the iOS Simulator
| Parameter | Type | Description |
|---|---|---|
output_path * | string | File path where the screenshot will be saved (if relative, ~/Downloads will be used as base directory) |
display | string | Display to capture (internal or external). Default depends on device type. |
mask | string | For non-rectangular displays, handle the mask by policy (ignored, alpha, or black) |
type | string | Image format (png, tiff, bmp, gif, or jpeg). Default is png. |
udid | string | Udid of target, can also be set with the IDB_UDID env var |
record_video
Records a video of the iOS Simulator using simctl directly
| Parameter | Type | Description |
|---|---|---|
codec | string | Specifies the codec type: "h264" or "hevc". Default is "hevc". |
display | string | Display to capture: "internal" or "external". Default depends on device type. |
force | boolean | Force the output file to be written to, even if the file already exists. |
mask | string | For non-rectangular displays, handle the mask by policy: "ignored", "alpha", or "black". |
output_path | string | Optional output path (defaults to ~/Downloads/simulator_recording_$DATE.mp4) |
stop_recording
Stops the simulator video recording using killall