🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

blitz-ios-mcp

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

blitz-ios-mcp

MCP server for controlling iOS simulators and physical iPhones

latest
npmnpm
Version
0.1.4
Version published
Maintainers
1
Created
Source

blitz-ios-mcp

MCP server that lets AI agents control iOS simulators and physical iPhones. Works with Claude Code, Cursor, Codex, and any MCP-compatible AI agent.

Installation

npm install blitz-ios-mcp

Quick Start

System-wide (use in any project)

npx blitz-ios-mcp --setup-all

This installs dependencies and configures blitz-ios-mcp for all your AI agents globally. It automatically sets up Claude Code, and if you have Cursor or Codex installed, those get configured too.

NOTE: For Cursor, you need to enable the blitz-ios MCP server in Cursor Settings

Project-scoped (one project only)

cd your-project
npx blitz-ios-mcp --setup-here

This prompts you to choose which AI agents to configure (Claude Code, Cursor, Codex) and writes the config files into your project directory. blitz-ios-mcp will only be available when you open an agent inside that directory.

Then just ask

Open a new AI agent session and ask:

> scan the simulator screen and tell me what you see
> connect to my iPhone and test the login flow
> find bugs in my app — tap around, try edge cases, report anything weird

What can it do?

CapabilitySimulatorPhysical iPhone
Tap, swipe, type textYesYes
Press buttons (Home, Lock, Siri)YesYes
Scan UI elements with coordinatesYesYes
Take screenshotsYesYes
List & launch installed appsYesYes
Auto-detect devicesYesYes
Live screen viewer in browser--Yes

Simulators

Boot any iOS simulator, then ask your AI agent to interact with it. No extra setup needed beyond --setup-all or --setup-here.

> what apps are installed on the simulator?
> launch Safari and go to example.com
> take a screenshot

Physical iPhones

Connect your iPhone via USB or make sure it's on the same Wi-Fi network (home/office networks work, public cafe Wi-Fi won't).

First-time setup — your iPhone needs:

  • Developer Mode enabled (Settings > Privacy & Security > Developer Mode)
  • Trust this computer when prompted on the phone

Then ask your agent:

> connect to my iPhone

The agent will build and install WebDriverAgent on your phone (takes 1-3 minutes the first time), then give you a URL like http://localhost:5152?udid=... — open it in your browser to see a live view of your phone screen.

Example session

You:    test the checkout flow in my app
Agent:  Let me scan the simulator to see what's on screen.

        [calls scan_ui]

        I can see the home screen. Let me launch your app first.

        [calls launch_app with bundleId "com.myapp"]
        [calls get_screenshot]

        The app is open on the main screen. I see a "Shop" tab at the bottom.
        Let me tap it and walk through the checkout flow.

        [calls device_action: tap on "Shop" tab]
        [calls scan_ui]

        I see a list of products. Let me add one to cart...

MCP Tools reference

These are the tools your AI agent can call:

ToolWhat it does
get_execution_contextFind available simulators and iPhones
scan_uiFind tappable elements — buttons, links, text fields — with their coordinates
describe_screenFull UI element hierarchy (more detail than scan_ui)
device_actionTap, swipe, press buttons, type text, press keys
device_actionsRun multiple actions in sequence
get_screenshotSave a screenshot and return the file path
list_devicesList all simulators and physical devices
launch_appLaunch an app by bundle ID
list_appsList installed apps
setup_deviceBuild & install WebDriverAgent on a physical iPhone

Requirements

  • macOS
  • Xcode (install from App Store or xcode-select --install)
  • Node.js 18+
  • Homebrew (for installing idb dependencies)

The --setup-all / --setup-here command handles installing everything else automatically.

Manual MCP configuration

If you'd rather configure things yourself:

Claude Code — add to ~/.claude.json (global) or .mcp.json (project):

{
  "mcpServers": {
    "blitz-ios": {
      "command": "npx",
      "args": ["blitz-ios-mcp"]
    }
  }
}

Cursor — add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project):

{
  "mcpServers": {
    "blitz-ios": {
      "command": "npx",
      "args": ["blitz-ios-mcp"]
    }
  }
}

Codex — add to ~/.codex/config.toml (global) or .codex/config.toml (project):

[mcp_servers.blitz-ios]
command = "npx"
args = ["blitz-ios-mcp"]

Troubleshooting

"No booted simulator found" — Open Simulator.app or run xcrun simctl boot "iPhone 16" first.

Physical device not detected — Make sure Developer Mode is on, the phone is connected via USB, and you've tapped "Trust" on the phone.

WDA build fails — Open Xcode > Settings > Accounts and make sure an Apple ID is signed in. Xcode needs a signing identity to build WDA.

"Connection refused" errors — The idb companion may have crashed. Run npx blitz-ios-mcp --setup-all again to re-initialize.

License

MIT

FAQs

Package last updated on 01 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts