iOS Simulator MCP Server
MCP server for interacting with the iOS simulator
Overview
The iOS Simulator MCP Tool is a Model Context Protocol (MCP) tool designed for interacting with iOS simulators, allowing users to control UI interactions and inspect UI elements.
To use the iOS Simulator MCP Tool, you need to install it via NPX or clone the repository for local development. After installation, configure your Cursor MCP settings to include the iOS simulator server.
- Retrieve the ID of the currently booted iOS simulator. - Interact with the simulator UI by describing accessibility elements, tapping on screen coordinates, inputting text, swiping, and getting information about UI elements.
- Automating UI testing for iOS applications.
- Inspecting UI elements for accessibility compliance.
- Simulating user interactions in iOS applications during development.
Add to your AI client
Use these steps to connect iOS Simulator MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"ios-simulator-mcp-joshuayoes": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ios-simulator-mcp-joshuayoes"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"ios-simulator-mcp-joshuayoes": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ios-simulator-mcp-joshuayoes"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"ios-simulator-mcp-joshuayoes": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ios-simulator-mcp-joshuayoes"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"ios-simulator-mcp-joshuayoes": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ios-simulator-mcp-joshuayoes"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"ios-simulator-mcp-joshuayoes": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ios-simulator-mcp-joshuayoes"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"ios-simulator-mcp-joshuayoes": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ios-simulator-mcp-joshuayoes"
]
}
}
}FAQ
What are the prerequisites for using this tool?
You need Node.js, macOS, Xcode, and the Facebook IDB tool installed.
Is this tool compatible with all versions of iOS?
The tool is designed to work with the iOS simulators available in Xcode.
Can I use this tool for automated testing?
Yes! The tool is ideal for automating UI interactions and testing in iOS applications.