プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

ios-agent

作者:emazaheriバージョン 0.6.0i★ –iパソコンで動く
レジストリ名io.github.emazaheri/ios-agent

インストール

概要

作者による説明(英語の原文)

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

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: 開発者ツール

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: IOS_MCP_POLICY__CONFIRM_DESTRUCTIVE, IOS_MCP_POLICY__ENABLED, IOS_MCP_WDA__BUNDLE_ID, IOS_MCP_SIMULATOR__SHOW_WINDOW

必要なもの

  • PyPIPythonのuvのインストール(uvxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、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"
      }
    }
  }
}

ターミナルでこれを実行します

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

動かす前に、空欄の値を入力してください。

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.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"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "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"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • 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.

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント emazaheri で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

開発者ツールのほかのサーバーとの比較i

  • このカテゴリのほかの4904件のうち0%よりスターが多い
  • このカテゴリのほかの4904件のうち57%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの4904件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

ios-agentは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(0.6.0)がレジストリに届いたのは31 日前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。

代わりに使えるものは?

同じカテゴリには:GitHub, Desktop Commander, Cloudflare MCP

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

GitHub

作者:github

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

パソコンでもクラウドでも★ 34,245MIT4 日前更新
インストール

Desktop Commander

作者:wonderwhy-er

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

パソコンで動く★ 10,225MIT16 日前更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

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

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く