M

MCP Ios

by dockndevai · io.github.dockndevai/mcp-ios

Drives a physical iPhone or iPad over Appium and WebDriverAgent (XCUITest) from a Mac, letting an agent inspect the screen, tap, type, swipe, launch apps, and run Shortcuts. Safe-by-default access modes, app allowlists, and elicitation-gated destructive operations keep admin actions behind explicit approval.

npm Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-dockndevai-mcp-ios": {
      "command": "npx",
      "args": [
        "-y",
        "@dockndevai/mcp-ios"
      ],
      "env": {
        "IOS_APPIUM_URL": "http://127.0.0.1:4723",
        "IOS_UDID": "<VALUE>",
        "IOS_MODE": "read-only",
        "IOS_DRY_RUN": "false",
        "IOS_AUDIT_LOG": "true",
        "IOS_BUNDLE_ID": "<VALUE>",
        "IOS_ALLOW_MANAGE": "false",
        "IOS_APP_ALLOWLIST": "",
        "IOS_PROTECTED_APPS": "com.apple.Preferences,com.apple.springboard"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-dockndevai-mcp-ios": {
      "command": "npx",
      "args": [
        "-y",
        "@dockndevai/mcp-ios"
      ],
      "env": {
        "IOS_APPIUM_URL": "http://127.0.0.1:4723",
        "IOS_UDID": "<VALUE>",
        "IOS_MODE": "read-only",
        "IOS_DRY_RUN": "false",
        "IOS_AUDIT_LOG": "true",
        "IOS_BUNDLE_ID": "<VALUE>",
        "IOS_ALLOW_MANAGE": "false",
        "IOS_APP_ALLOWLIST": "",
        "IOS_PROTECTED_APPS": "com.apple.Preferences,com.apple.springboard"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-dockndevai-mcp-ios": {
      "command": "npx",
      "args": [
        "-y",
        "@dockndevai/mcp-ios"
      ],
      "env": {
        "IOS_APPIUM_URL": "http://127.0.0.1:4723",
        "IOS_UDID": "<VALUE>",
        "IOS_MODE": "read-only",
        "IOS_DRY_RUN": "false",
        "IOS_AUDIT_LOG": "true",
        "IOS_BUNDLE_ID": "<VALUE>",
        "IOS_ALLOW_MANAGE": "false",
        "IOS_APP_ALLOWLIST": "",
        "IOS_PROTECTED_APPS": "com.apple.Preferences,com.apple.springboard"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-dockndevai-mcp-ios": {
      "command": "npx",
      "args": [
        "-y",
        "@dockndevai/mcp-ios"
      ],
      "env": {
        "IOS_APPIUM_URL": "http://127.0.0.1:4723",
        "IOS_UDID": "<VALUE>",
        "IOS_MODE": "read-only",
        "IOS_DRY_RUN": "false",
        "IOS_AUDIT_LOG": "true",
        "IOS_BUNDLE_ID": "<VALUE>",
        "IOS_ALLOW_MANAGE": "false",
        "IOS_APP_ALLOWLIST": "",
        "IOS_PROTECTED_APPS": "com.apple.Preferences,com.apple.springboard"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-dockndevai-mcp-ios": {
      "command": "npx",
      "args": [
        "-y",
        "@dockndevai/mcp-ios"
      ],
      "env": {
        "IOS_APPIUM_URL": "http://127.0.0.1:4723",
        "IOS_UDID": "<VALUE>",
        "IOS_MODE": "read-only",
        "IOS_DRY_RUN": "false",
        "IOS_AUDIT_LOG": "true",
        "IOS_BUNDLE_ID": "<VALUE>",
        "IOS_ALLOW_MANAGE": "false",
        "IOS_APP_ALLOWLIST": "",
        "IOS_PROTECTED_APPS": "com.apple.Preferences,com.apple.springboard"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-dockndevai-mcp-ios": {
      "command": "npx",
      "args": [
        "-y",
        "@dockndevai/mcp-ios"
      ],
      "env": {
        "IOS_APPIUM_URL": "http://127.0.0.1:4723",
        "IOS_UDID": "<VALUE>",
        "IOS_MODE": "read-only",
        "IOS_DRY_RUN": "false",
        "IOS_AUDIT_LOG": "true",
        "IOS_BUNDLE_ID": "<VALUE>",
        "IOS_ALLOW_MANAGE": "false",
        "IOS_APP_ALLOWLIST": "",
        "IOS_PROTECTED_APPS": "com.apple.Preferences,com.apple.springboard"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
IOS_APPIUM_URL No URL of the Appium server connection. Default: http://127.0.0.1:4723
IOS_UDID No Target device UDID.
IOS_MODE No What can the server do? read-only exposes inspection only; read-write adds UI control; admin adds app management. Tools above the mode are never registered. Default: read-only
IOS_DRY_RUN No Preview without touching the device. Write/admin tools validate + log intent, then return. Default: false
IOS_AUDIT_LOG No Audit trail. Emits a JSON line to stderr per guarded operation. Default: true
IOS_BUNDLE_ID No Optional default app bundle ID.
IOS_ALLOW_MANAGE No Can it install/terminate/reset apps? The admin tools need this and admin mode; otherwise they aren't even advertised. Default: false
IOS_APP_ALLOWLIST No Which apps are in scope? When set, launching/managing any other bundle ID is refused. Defaults to all apps.
IOS_PROTECTED_APPS No Which apps are read-only forever. Inspectable/launchable but never terminated, reset, or uninstalled. Default: com.apple.Preferences,com.apple.springboard

Similar servers