device_action
Tap, swipe, press buttons, type text, press keys
How to use it
device_action is exposed by the IPhone MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the device_action tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install IPhone MCP
npx @blitzdev/iphone-mcp --setup-allOther tools in IPhone MCP (9)
Full UI element hierarchy (more detail than scanui)
Run multiple actions in sequence
Find available simulators and iPhones
Save a screenshot and return the file path
Launch an app by bundle ID
List installed apps
List all simulators and physical devices
Find tappable elements — buttons, links, text fields — with their coordinates
Build & install WebDriverAgent on a physical iPhone