Prototype · Preview: every server in the official registry, synced every 30 minutes. Reviews and accounts come in a later step.
PopNx MCPMCP servers for people who use AI · explained in plain words

ios-agent

by emazaheriversion 0.6.0i★ –iRuns on your computer
Registry nameio.github.emazaheri/ios-agent

Install

Overview

Description from the maker (original English)

Drive a real iPhone or an iOS Simulator with an AI agent, through XCUIAutomation.

PopNx MCP’s three pillars

These three are never merged into one score: opinions, measurements and popularity are different things.

What you can do with it

We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.

  • Connection: Runs on your computer
  • Transport: stdio
  • Category: Developer tools

Install

Pick the AI app you use, then copy the settings.

Before you install

  • Basic checks: 1 of 1 passed
  • Runs on your computer with your user’s permissions (files, network, apps).
  • You fill in yourself: IOS_MCP_POLICY__CONFIRM_DESTRUCTIVE, IOS_MCP_POLICY__ENABLED, IOS_MCP_WDA__BUNDLE_ID, IOS_MCP_SIMULATOR__SHOW_WINDOW

You need

  • PyPIPython’s uv installed (for the uvx command)

Which app do you use?

Pick your app above. We remember it, so next time the button says “Install in …”.

Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json

{
  "mcpServers": {
    "ios-agent": {
      "command": "uvx",
      "args": [
        "ios-mcp"
      ],
      "env": {
        "IOS_MCP_POLICY__CONFIRM_DESTRUCTIVE": "your-value",
        "IOS_MCP_POLICY__ENABLED": "your-value",
        "IOS_MCP_WDA__BUNDLE_ID": "your-value",
        "IOS_MCP_SIMULATOR__SHOW_WINDOW": "your-value"
      }
    }
  }
}

Run this in your terminal

claude mcp add ios-agent --env IOS_MCP_POLICY__CONFIRM_DESTRUCTIVE=your-value --env IOS_MCP_POLICY__ENABLED=your-value --env IOS_MCP_WDA__BUNDLE_ID=your-value --env IOS_MCP_SIMULATOR__SHOW_WINDOW=your-value -- uvx ios-mcp

Fill in the empty values before running it.

Open in Cursor

Or copy the settings yourself

Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json

{
  "mcpServers": {
    "ios-agent": {
      "command": "uvx",
      "args": [
        "ios-mcp"
      ],
      "env": {
        "IOS_MCP_POLICY__CONFIRM_DESTRUCTIVE": "your-value",
        "IOS_MCP_POLICY__ENABLED": "your-value",
        "IOS_MCP_WDA__BUNDLE_ID": "your-value",
        "IOS_MCP_SIMULATOR__SHOW_WINDOW": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

Open in VS Code

Or copy the settings yourself

Paste into .vscode/mcp.json in your project

{
  "servers": {
    "ios-agent": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "ios-mcp"
      ],
      "env": {
        "IOS_MCP_POLICY__CONFIRM_DESTRUCTIVE": "your-value",
        "IOS_MCP_POLICY__ENABLED": "your-value",
        "IOS_MCP_WDA__BUNDLE_ID": "your-value",
        "IOS_MCP_SIMULATOR__SHOW_WINDOW": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.

Your choice stays on this device in a cookie; no account needed.

Values you fill in

  • IOS_MCP_POLICY__CONFIRM_DESTRUCTIVE env
    Ask before an action that sends, deletes, or pays. Leave it on for a device carrying real accounts.
  • IOS_MCP_POLICY__ENABLED env
    The policy gate as a whole: approval, app blocklist, redaction, audit.
  • IOS_MCP_WDA__BUNDLE_ID env
    Bundle id of the WebDriverAgent runner. Free Apple IDs cannot sign com.facebook.*, so device builds need their own.
  • IOS_MCP_SIMULATOR__SHOW_WINDOW env
    Bring Simulator.app to the front when booting, so a person can watch the agent drive. Set false in CI.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 8, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account emazaheri, which owns the repo

  • … Not checked yet

    Still maintained

    We have not read this repo from GitHub yet

  • … Not checked yet

    Has a licence

    We have not read this repo from GitHub yet

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Compared with others in Developer toolsi

  • More stars than 0% of the other 4920 servers in this category
  • Published to the registry more recently than 57% of the other 4920 servers in this category
  • Basic checks equal to or better than 100% of the other 4920 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is ios-agent safe?

It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed –, and the latest version (0.6.0) reached the registry 32 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.

What can I use instead?

In the same category: GitHub, Desktop Commander, Cloudflare MCP

Alternatives

Servers in the same category from other makers, sorted by stars.

Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

GitHub

by github

GitHub’s official server lets AI read and manage code, issues and pull requests in your account. Use GitHub’s hosted version or run it locally with Docker.

Computer or cloud★ 34,245MITUpdated 4 days ago
Install

Desktop Commander

by wonderwhy-er

MCP server for terminal commands, file operations, and process management

Runs on your computer★ 10,225MITUpdated 17 days ago
Install

Cloudflare MCP

by cloudflare

Cloudflare MCP servers

Runs in the cloud★ 4,446Apache-2.0Updated 14 months ago
Install

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

ios-agent

Give an AI agent an iPhone. It checks every step it takes.

ios-agent lets an AI agent use an iOS Simulator or a real iPhone, over a cable or Wi-Fi. Every action returns the screen it produced, so the agent can tell when a tap did nothing or typed text did not land. Screens arrive as a few hundred tokens rather than tens of thousands. Anything that sends, pays, deletes or reaches another person asks first. It uses only Apple's public APIs, so an Xcode update does not break it. Use it from the terminal, from Claude Code or any MCP client, or as a Python library.

One goal, start to finish, at 2.5x. The agent deep-links into Maps for the driving time, then taps through to walking and transit and scrolls to read the detail: 4 actions, 1 observation, 2,767 device tokens, 49.8s of real time. The terminal is the agent's own transcript; the phone is an iOS Simulator being driven by it.

uv sync && uv run ios-agent quickstart

quickstart checks the toolchain, offers the repairs that are cheap enough to be worth offering, builds WebDriverAgent if it is missing (about 20 seconds, once), and drops you into manual mode, which drives the device by hand and needs no API key. When you want the agent itself:

uv run ios-agent "turn on bold text"

Contents

  • What you can do with it · Features · Who it is for
  • Requirements · Setup
  • The terminal app · Connecting your own agent over MCP
  • What the model sees · Safety
  • Measured on real hardware
  • Why it is built this way · Why only public APIs
  • Tracing · Development · Contributing

What you can do with it

You want toStart with
Hand an agent a goal and watch it workuv run ios-agent "turn on bold text", walked through in the quickstart
Check that a change to your own app worksdocs/check-your-app.md
Give Claude Code, Cursor or any MCP client hands on a deviceios-mcp serve, one entry in .mcp.json
Run it against your own iPhone, over a cable or Wi-Fidocs/real-device-setup.md, then uv run ios-agent --pick "..."
Drive a device by hand, with no API key, to see what an agent would seeuv run ios-agent manual
Build your own agent on top, without the protocol in betweenawait run_goal(session, "...") or IosSession directly, see docs/library.md

Typical goals: check that a change you just made works in the running app, change a setting, read an answer out of an app that has no API, or walk a flow on a phone you cannot hand to a test suite. docs/use-cases.md lists what works today, with the evidence for each and what is not supported yet.

Features

It knows when an action did not work

The most common complaint about agent tools for phones is an action that reports success while nothing happened. Here:

  • Every action returns the screen it produced, with screen_changed, so a tap that did nothing is visible at once. A real no-op reports screen_changed=False on a physical iPhone too, not only on a simulator.
  • Typed text is read back from the field. Text that did not land returns ok: false with what the field shows, rather than being reported as typed.
  • The agent names elements, never coordinates. It passes a ref like e2; if the screen moved, the host re-finds the same element by identity through six tiers, and refuses when a ref now points at something else.
  • Switches are set, not toggled. Asking for on when a switch is already on does nothing, instead of turning it off.
  • Retries are safe. Idempotency keys mean an agent framework that replays a step does not tap Send twice.
It works on a real iPhone, over a cable or Wi-Fi
  • Verified on an iPhone 17 Pro Max on iOS 26.6, over USB and over Wi-Fi, at the same action count as the simulator.
  • ios-agent doctor checks the toolchain, the runtimes, the tunnel and the runner's signing expiry, and gives a remedy for each failure.
  • The device runner stops with the process that started it, a SIGKILL included, so a crashed run does not hold the phone. ios-mcp reset clears anything else.
  • The device picker never pre-selects a physical phone, and /device switches devices mid-session.
It is cheap on tokens
  • Screens arrive as a compact digest, not accessibility XML: 251 raw nodes to 12 elements on a real third-party screen, 50 to 474 tokens per step across thirteen golden flows.
  • When the next screen is similar, an action returns only what changed.
  • A 300-row Contacts list comes back in one observation of 438 tokens.
  • ios_find searches the full tree for anything the digest left out, so compaction never hides a control for good.
  • The bundled agent looks at the screen once per run, because every action already hands back the screen it produced.
It asks before anything risky
  • Send, Pay, Buy, Delete, Confirm, Sign Out, and anything that reaches another person (Like, Follow, Share, Message) need approval before they happen. With no one to ask, they are refused.
  • Passwords come from the Mac's keychain and go straight to the device. They never enter a prompt or the audit trail, and once typed, every screen the session returns shows [secret] in their place.
  • Card numbers and email addresses are redacted before any client sees the screen, and every action is recorded in an exportable audit trail.
It keeps working when Xcode updates

Everything goes through XCTest, the framework Apple ships for UI testing. Faster routes through private frameworks were measured and turned down, and Xcode 27 broke several tools that took them. See Why only Apple's public APIs.

Three ways in, and any model
  • A terminal app that streams the model's reasoning beside the screen it is reading, with actions, tokens and cost on screen as they climb.
  • An MCP server: 31 tools, 5 resources and an ios_operator prompt, over stdio or HTTP. See the tool reference.
  • A Python library, IosSession, that the server and the agent both sit on, so your own agent can skip the protocol.
  • Anthropic, OpenAI, Azure OpenAI, Gemini, Vertex AI, Bedrock, Groq, Mistral or a local Ollama model, switched by two environment variables.
It is measured, and you can rerun the numbers

39 of 39 agent runs succeeded at 1.14x the actions a hand-written oracle needs, for $1.50 in total. Golden flows track tokens, time and how each element was found, and CI fails if the free series moves without a recorded reason. See Measured on real hardware.

What it does not do
  • No Android, no other platforms, no builds or profiling.
  • Flutter canvases and WebViews have no tree to read. The digest says so and points at a screenshot, rather than returning a screen that looks empty. See ADR 0007.
  • The approval gate is not a defence against instructions planted in a screen. See ADR 0013.
  • A physical iPhone needs a signed runner, and a free Apple ID's profile lasts seven days.

Who it is for

  • People building agents that need iOS hands, from Claude Code, Cursor or any MCP client.
  • iOS developers who want their coding agent to check a change on a simulator or on their own phone.
  • Anyone studying agent engineering. The eval harness and the decision records show what was measured, and what was turned down because the numbers said no.

If you need Android, React Native profiling, Xcode builds, or many devices in parallel, another tool will suit you better. The documentation site has an honest comparison.

Requirements

ForYou need
SimulatormacOS, Xcode 16.3+, an iOS runtime, Python 3.12+
Physical iPhonethe above plus go-ios, Developer Mode, and a signing identity. Follow docs/real-device-setup.md, which is a longer road than the simulator and has a few steps that look like bugs but are not

Xcode ships without a simulator runtime. If xcrun simctl list runtimes is empty, xcodebuild -downloadPlatform iOS fetches one (around 8 GB). If a runtime is installed but no simulator has been created, ios-agent offers to create one for you: that part takes about a second.

Setup

uv sync

./scripts/prepare_wda.sh simulator # builds WebDriverAgent, once uv run ios-agent doctor # says exactly what is still missing

doctor is the first thing to run whenever anything misbehaves. It checks the toolchain, the simulator runtimes, the tunnel, WebDriverAgent's signing expiry and the model, and returns a remedy for each failure rather than letting it surface later as a connection error.

The app runs those same checks before it touches a device, so a machine that is not set up is told so in about a second rather than after a simulator has booted.

The terminal app

uv run ios-agent                             # open it, decide later

uv run ios-agent "turn on bold text" # give it a goal uv run ios-agent --pick "turn wi-fi off" # choose the device from a list uv run ios-agent manual # drive it by hand, no model needed uv run ios-agent devices # what is reachable

It streams the model's reasoning as it arrives, shows the digest the model is reading beside it, and keeps the numbers on screen while they climb: actions, observations, device tokens, cost.

/command menu, filtered as you type
/device · ctrl+oswitch phone or simulator mid-session
escstop at the next step, with a complete report; again to abort
ctrl+r · ctrl+sre-read the screen · save the audit trail
drag to selectcopies the selection to the clipboard, no keystroke needed
--inlinerun in a short region under the prompt
--no-tuiplain lines, for a pipe

`manual` mode needs no API key. It drives the agent's nine verbs by hand, which is the fastest way to debug perception on an app nobody has pointed this at before.

The front end is held to one rule, asserted rather than argued: watching a run may not change what it costs. tests/tui/test_cost.py runs the same task wrapped and unwrapped and compares every counter by equality.

Choosing a model

The provider is configuration, not a dependency. The loop builds through LangChain's init_chat_model, so switching is two environment variables and an extra:

uv sync --extra openai

I

Only the beginning is shown; read the rest in the repo

Ask PopNx