# simulator-use [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/NoMac-app/simulator-use  
**GitHub Stars:** 6  
**npm Downloads (last month):** 5171  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/simulator-use

## Description
The iOS Simulator for coding agents: build Xcode projects, read the screen as text, tap by label.

## Tools
Capabilities this server exposes over MCP:

- **app_run** — Builds the Xcode project here, installs and launches it, answers with the first screen; errors as `file:line`; `--xcode 26.6` builds with another installed Xcode
- **devices** — Lists the Simulators on this Mac with their runtime, UDID and state, and its Xcodes
- **device_use** — Chooses the Simulator the other tools use, booting it (one boot at a time); dark mode, a clean status bar; `fold` (`closed`, `book`, `open`) folds an iPhone Duo and answers once that screen is in use
- **app_control** — install`, `launch` (answers with the first screen; `value` passes launch arguments), `terminate`, `uninstall`, `open_url`; `grant`, `revoke` and `reset_permissions`; `location`; `push`; the phone's `appearance`, `locale`, `timezone`, `text_size` and a clean `status_bar
- **ui_look** — Reads the screen; `find` keeps matching lines, `screenshot` adds a picture, `screenshot_file` saves a full-resolution PNG, `full` saves the whole tree; `--out file.jpg` (or `.png`) saves the screen where you say
- **ui_act** — Does steps in order and answers with what changed
- **app_logs** — The app's print output and its own system log lines; `grep`, `wait_for`, `crashes
- **tests_run** — Runs the unit and UI tests; each case as it finishes, counts, each failure as `file:line` and the slowest; "0 tests ran" is an error
- **screen_record** — Starts or stops a video of the screen; stop answers with the MP4
- **job_status** — Waits up to 40 s for a long build and answers with its result, or its progress
- **job_cancel** — Stops a job
- **cloud** — start`, `status`, `stop` a NoMac cloud phone that every tool then runs on; `run` builds, tests and stops in one call (see Cloud)

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "simulator-use": {
    "command": "npx",
    "args": ["-y","simulator-use","mcp"],
    "env": {
      "SIMULATOR_USE_WEB": "",
      "SIMULATOR_USE_KEYBOARD": ""
    }
  }
}
```

**Requires environment variables:** `SIMULATOR_USE_WEB`, `SIMULATOR_USE_KEYBOARD` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What simulator-use does

simulator-use gives an MCP client control of an iOS Simulator and the Xcode project running on it. It can build, install, launch, terminate, uninstall, and test applications, then return structured results that an agent can use in the next step. The same tool set can target a local Simulator or a NoMac cloud phone.

The server is suited to agent-driven development and verification of iPhone and iPad applications, including SwiftUI, UIKit, React Native, and supported web views. It can also handle common simulator state, such as permissions, location, push input, appearance, locale, timezone, text size, and status-bar presentation.

## How it works

Screen inspection is centered on `ui_look`. Rather than returning the entire accessibility tree, it reports usable elements as lines containing their kind, label, accessibility identifier, state, and position. Alerts, sheets, menus, and permission prompts appear in front of the underlying app. Web content from Safari and supported in-app web views can expose page text, links, fields, buttons, headings, and element IDs through the same interaction model.

`ui_act` accepts ordered actions such as tapping an identifier or label, filling a field, typing, scrolling, swiping, holding, changing a slider, pressing Back or Home, and waiting for an element to appear or disappear. Each action is checked; a failed step stops the sequence and returns the current screen. Screens that cannot be read, including maps, games, custom drawing, and some system pickers, are represented as unreadable regions so the agent can use a screenshot and coordinate-based interaction instead.

## Setup and configuration

Local operation requires a Mac with Xcode and an available iOS Simulator. The `devices` tool lists installed runtimes, device identifiers, states, and available Xcodes. Use `device_use` to select and boot the Simulator used by the other tools; only one device is booted through that selection at a time.

For machines without Xcode, including Linux and Windows systems, the `cloud` tool can start, inspect, and stop a NoMac cloud phone. Its `run` operation combines building, testing, and stopping the cloud device. The `SIMULATOR_USE_WEB=off` setting switches web-page inspection from the Simulator’s Web Inspector path to point-by-point accessibility reading. `SIMULATOR_USE_KEYBOARD=ios` preserves iOS keyboard behavior instead of the server’s default typing behavior.

## Tools and capabilities

- `app_run` builds the project in the working directory, installs it, launches it, and returns the first screen. It can select another installed Xcode.
- `app_control` manages installation and lifecycle operations, URLs, launch arguments, permissions, location, push input, appearance, locale, timezone, text size, and status-bar settings.
- `ui_look` reads matching screen elements, adds screenshots, saves full-resolution images, or exports the complete tree.
- `ui_act` performs verified interaction sequences, including text entry, scrolling, gestures, waits, and keyboard or navigation actions.
- `tests_run` runs unit and UI tests, reports cases as they finish, identifies failures by file and line, and reports the slowest test.
- `app_logs` retrieves application output, system log lines, filtered entries, waits for log text, and crash information.
- `screen_record` starts or stops screen capture and returns the resulting video when recording ends.
- `job_status` monitors long builds for up to 40 seconds at a time, while `job_cancel` stops a running job.
- `cloud` controls the remote phone and can run a combined build-and-test operation.

## Limitations and notes

Accessibility-based inspection cannot describe maps, games, custom drawing, or iOS out-of-process pickers. These surfaces return an unreadable entry and require screenshot-based or coordinate-based interaction. Elements hidden behind navigation bars, tab bars, keyboards, or covering alerts are not exposed as directly usable screen entries. A target that is off-screen generally needs an explicit scroll operation, such as scrolling until a named row appears.

Text entry is validated by reading the field after typing. The server can use the Simulator clipboard for characters not available on a US keyboard, including non-Latin text and emoji. Permission prompts must be answered before an obscured app element can be used. `screenshot_file` can save a full-resolution PNG, while ordinary screenshots are sized in points so their coordinates correspond to tap positions.

_Full upstream README: https://allmcps.com/mcp/simulator-use/readme_

