simulator-use

An MCP server and CLI that lets your agent build and run an Xcode project, read the iOS Simulator screen as short lines of text, tap and type by label, run tests case by case, and read logs and crashes.

View on GitHub ↗
Stars
★ 7
Last commit
3 Dec 2026
Maintenance
Active
Licence
MIT
Category
MCP Servers
GitHub
NoMac-app/simulator-use

Overview

simulator-use gives your agent a phone. It builds, runs and tests Xcode projects, reads and uses the screen of any app (SwiftUI, UIKit or React Native), answers iOS permission prompts, reads the app's logs and crashes, and records video.

Each screen comes back as one line per element the agent can use, with its kind, label, accessibility identifier, state and position. Steps such as taps and typing are checked, so a step that does nothing is reported rather than passing silently.

The local tools send nothing anywhere and have no telemetry. On a machine that can't run the Simulator, such as Linux, Windows or a cloud agent, the same tools can run on a cloud iPhone Simulator from NoMac, the company behind the project.

simulator-use is licensed under the MIT licence.

Features

  • 12 tools, the same in the MCP server and the CLI:
  • app_run finds the project, builds it for the Simulator, installs it, launches it and returns the first screen. Build errors come back as file and line.
  • devices and device_use list Simulators and choose the one to use.
  • app_control installs, launches and removes apps, sets permissions, location, appearance, locale, text size and a clean status bar, and applies a .storekit file so in-app purchases complete in the Simulator.
  • ui_look reads the screen, and can add a screenshot or save one as a full-resolution PNG.
  • ui_act runs steps in order, such as tap, fill, type, scroll, swipe, hold and wait, and returns what changed.
  • app_logs shows the app's own output and log lines, and lists crash reports.
  • tests_run runs XCTest, XCUITest and Swift Testing, reporting each case and each failure as file and line. "0 tests ran" counts as an error.
  • screen_record, job_status, job_cancel and cloud.
  • Several agents can share one Mac, each with its own Simulator, without their taps getting mixed up.
  • iPhone apps on an iPad, with positions given in the iPad's screen points.
  • A GitHub Action that runs builds and tests on a cloud phone and posts the result on each pull request.
  • It can't yet build Expo, React Native, Flutter or Capacitor apps, read some web views and game canvases, or use real devices, Android, landscape or multi-touch.

Requirements

  • macOS with Xcode and a Simulator runtime.
  • Node 20 or later. The cloud tunnel needs Node 22 or later.
  • A NoMac account, only for cloud mode.

Install

  1. Any MCP client. Add a server called simulator-use to your client's MCP config, with the command npx and the arguments -y, simulator-use and mcp. Or run npx -y simulator-use mcp as a stdio server. The README also lists one-line add commands and plugin installs for several clients.

  2. From a shell. Agents that work from a shell can use the CLI instead, such as npx simulator-use look. The package's skill/SKILL.md teaches it.

  3. Cloud. Run simulator-use cloud start, which signs you in through a link the first time, or uses NOMAC_API_KEY.

Example

Ask your agent:

"Build and run the app, sign in with a test account, then run the UI tests and tell me what fails."

Behind that, the agent calls app_run, then ui_act with steps such as fill #email gary@example.com, fill #password secret1, tap #signIn and wait "Welcome", then tests_run.

Works with

Any MCP client

Listed in

Read the code before you install anything. SwiftAgents doesn't review or endorse the tools listed here. Active: a commit in the last 90 days. Slowing: last commit within the past year. Stale: older than a year, or archived.

Report a correction

More in this category