ios-agent

io.github.emazaheri/ios-agent

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "ios-agent": {
      "command": "uvx",
      "args": [
        "ios-mcp"
      ],
      "env": {
        "IOS_MCP_POLICY__CONFIRM_DESTRUCTIVE": "true",
        "IOS_MCP_POLICY__ENABLED": "true",
        "IOS_MCP_WDA__BUNDLE_ID": "com.facebook.WebDriverAgentRunner.xctrunner",
        "IOS_MCP_SIMULATOR__SHOW_WINDOW": "true"
      }
    }
  }
}
Environment variables
  • IOS_MCP_POLICY__CONFIRM_DESTRUCTIVEAsk before an action that sends, deletes, or pays. Leave it on for a device carrying real accounts.
  • IOS_MCP_POLICY__ENABLEDThe policy gate as a whole: approval, app blocklist, redaction, audit.
  • IOS_MCP_WDA__BUNDLE_IDBundle id of the WebDriverAgent runner. Free Apple IDs cannot sign com.facebook.*, so device builds need their own.
  • IOS_MCP_SIMULATOR__SHOW_WINDOWBring Simulator.app to the front when booting, so a person can watch the agent drive. Set false in CI.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.6.0
Registry
active
Published
10/7/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that ios-agent is listed here — it’s also the link we check for a free listing.

ios-agent — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-emazaheri-ios-agent?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="ios-agent — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![ios-agent — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-emazaheri-ios-agent?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.