iOS Simulator MCP
local-only server
The server can only run on the client’s local machine because it depends on local resources.
Integrations
Integrates with Facebook's IDB tool to communicate with and control iOS simulators, enabling the MCP server to perform UI automation tasks.
Provides tools for interacting with iOS simulators, including getting simulator information, controlling UI interactions (tapping, swiping, text input), and inspecting UI elements for accessibility testing and automation.
Enables operation on macOS systems where iOS simulators run, providing simulator access and control capabilities specific to the macOS environment.
iOS Simulator MCP Server
A Model Context Protocol (MCP) server for interacting with iOS simulators. This server allows you to interact with iOS simulators by getting information about them, controlling UI interactions, and inspecting UI elements.
https://github.com/user-attachments/assets/453ebe7b-cc93-4ac2-b08d-0f8ac8339ad3
Features
- Get the ID of the currently booted iOS simulator
- Interact with the simulator UI:
- Describe all accessibility elements on screen
- Tap on screen coordinates
- Input text
- Swipe between coordinates
- Get information about UI elements at specific coordinates
- Take screenshots of the simulator screen
💡 Use Case: QA Step in Agent Mode
This MCP can be used effectively in agent mode as a Quality Assurance step immediately after implementing features, ensuring UI consistency and correct behavior.
How to Use
After a feature implementation:
- Activate agent mode in Cursor.
- Use the prompts below to quickly validate and document UI interactions.
Example Prompts
- Verify UI Elements:Copy
- Confirm Text Input:Copy
- Check Tap Response:Copy
- Validate Swipe Action:Copy
- Detailed Element Check:Copy
- Take Screenshot:Copy
- Record Video:Copy
- Stop Recording:Copy
Prerequisites
- Node.js
- macOS (as iOS simulators are only available on macOS)
- Xcode and iOS simulators installed
- Facebook IDB tool (see install guide)
Installation
Option 1: Using NPX (Recommended)
- Edit your Cursor MCP configuration:Copy
- Add the iOS simulator server to your configuration:Copy
- Restart Cursor.
Option 2: Local Development
- Clone this repository:Copy
- Install dependencies:Copy
- Build the project:Copy
- Edit your Cursor MCP configuration:Copy
- Add the iOS simulator server to your configuration:ReplaceCopy
"/path/to/your"
with the actual path to your project directory. - Restart Cursor.
License
MIT
This server cannot be installed
Enables interaction with iOS simulators by providing tools to inspect UI elements, control UI interactions, and manage simulators through natural language commands.