iOS Simulator MCP Tool provides a bridge between Claude and iOS simulators, enabling interaction with virtual iOS devices through a set of specialized tools. Built by Joshua Yoes, it leverages Facebook's IDB tool to allow users to get information about simulators, control UI interactions (tapping, swiping, typing), and inspect UI elements on screen. The implementation is packaged as an NPM module that can be easily integrated with Cursor via MCP configuration, making it valuable for developers who need to test, debug, or demonstrate iOS applications without manually operating the simulator.
暂无评论. 成为第一个评论的人!
登录以参与讨论
Get the ID of the currently booted iOS simulator. Parameters: No Parameters
Opens the iOS Simulator application. Parameters: No Parameters
Describes accessibility information for the entire screen in the iOS Simulator. Parameters: udid (optional string, Format: UUID)
Tap on the screen in the iOS Simulator. Parameters: x (number), y (number), duration (optional string, Press duration in seconds), udid (optional string, Format: UUID)
Input text into the iOS Simulator. Parameters: text (string, Text to input), udid (optional string, Format: UUID)
Swipe on the screen in the iOS Simulator. Parameters: x_start (number), y_start (number), x_end (number), y_end (number), duration (optional string), delta (optional number), udid (optional string, Format: UUID)
Returns the accessibility element at given co-ordinates on the iOS Simulator's screen. Parameters: x (number), y (number), udid (optional string, Format: UUID)
Searches the accessibility tree and returns elements matching the given criteria. Parameters: search (array of strings), type (optional string), matchMode (optional string, 'substring' or 'exact'), caseSensitive (optional boolean, default: false), udid (optional string, Format: UUID)
Get the image content of a compressed screenshot of the current simulator view. Parameters: udid (optional string, Format: UUID)
Takes a screenshot of the iOS Simulator. Parameters: output_path (string, File path where the screenshot will be saved), type (optional string, Image format), display (optional string, Display to capture), mask (optional string, Handle the mask by policy), udid (optional string, Format: UUID)
Records a video of the iOS Simulator using simctl directly. Parameters: output_path (optional string), codec (optional string, 'h264' or 'hevc'), display (optional string), mask (optional string), force (optional boolean), udid (optional string, Format: UUID)
Stops the simulator video recording using killall. Parameters: No Parameters
Installs an app bundle (.app or .ipa) on the iOS Simulator. Parameters: app_path (string, Path to the app bundle), udid (optional string, Format: UUID)
Launches an app on the iOS Simulator by bundle identifier. Parameters: bundle_id (string, Bundle identifier of the app), terminate_running (optional boolean), env (optional object, environment variables), udid (optional string, Format: UUID)