joshuayoes_ios-simulator-mcp

v1.5.3
@iflow-mcp/joshuayoes_ios-simulator-mcp Checked 3 days ago Published 10 months ago

MCP 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

open_simulator

Opens the iOS Simulator application

ui_describe_all

Describes accessibility information for the entire screen in the iOS Simulator

ParameterTypeDescription
udidstringUdid of target, can also be set with the IDB_UDID env var

ui_tap

Tap on the screen in the iOS Simulator

ParameterTypeDescription
x *numberThe x-coordinate
y *numberThe x-coordinate
durationstringPress duration
udidstringUdid of target, can also be set with the IDB_UDID env var

ui_type

Input text into the iOS Simulator

ParameterTypeDescription
text *stringText to input
udidstringUdid of target, can also be set with the IDB_UDID env var

ui_swipe

Swipe on the screen in the iOS Simulator

ParameterTypeDescription
x_end *numberThe ending x-coordinate
x_start *numberThe starting x-coordinate
y_end *numberThe ending y-coordinate
y_start *numberThe starting y-coordinate
deltanumberThe size of each step in the swipe (default is 1)
durationstringSwipe duration in seconds (e.g., 0.1)
udidstringUdid 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

ParameterTypeDescription
x *numberThe x-coordinate
y *numberThe y-coordinate
udidstringUdid of target, can also be set with the IDB_UDID env var

ui_view

Get the image content of a compressed screenshot of the current simulator view

ParameterTypeDescription
udidstringUdid of target, can also be set with the IDB_UDID env var

screenshot

Takes a screenshot of the iOS Simulator

ParameterTypeDescription
output_path *stringFile path where the screenshot will be saved. If relative, it uses the directory specified by the `IOS_SIMULATOR_MCP_DEFAULT_OUTPUT_DIR` env var, or `~/Downloads` if not set.
displaystringDisplay to capture (internal or external). Default depends on device type.
maskstringFor non-rectangular displays, handle the mask by policy (ignored, alpha, or black)
typestringImage format (png, tiff, bmp, gif, or jpeg). Default is png.
udidstringUdid of target, can also be set with the IDB_UDID env var

record_video

Records a video of the iOS Simulator using simctl directly

ParameterTypeDescription
codecstringSpecifies the codec type: "h264" or "hevc". Default is "hevc".
displaystringDisplay to capture: "internal" or "external". Default depends on device type.
forcebooleanForce the output file to be written to, even if the file already exists.
maskstringFor non-rectangular displays, handle the mask by policy: "ignored", "alpha", or "black".
output_pathstringOptional output path. If not provided, a default name will be used. The file will be saved in the directory specified by `IOS_SIMULATOR_MCP_DEFAULT_OUTPUT_DIR` or in `~/Downloads` if the environment v…

stop_recording

Stops the simulator video recording using killall

install_app

Installs an app bundle (.app or .ipa) on the iOS Simulator

ParameterTypeDescription
app_path *stringPath to the app bundle (.app directory or .ipa file) to install
udidstringUdid of target, can also be set with the IDB_UDID env var

launch_app

Launches an app on the iOS Simulator by bundle identifier

ParameterTypeDescription
bundle_id *stringBundle identifier of the app to launch (e.g., com.apple.mobilesafari)
terminate_runningbooleanTerminate the app if it is already running before launching
udidstringUdid of target, can also be set with the IDB_UDID env var