Skip to main content
MCP server CX Codex

mobai-mcp — Claude Code MCP server: mobile device automation

Let an AI agent automate Android and iOS devices, emulators, or simulators. Use it to drive app interactions and run .mob tests.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add mobai-mcp -- npx -y mobai-mcp
Open on GitHub

What mobai-mcp does

mobai-mcp routes device actions through execute_dsl. The agent sends a JSON script with steps such as tapping, entering text, waiting for a condition, and checking that an element exists. Companion tools find devices, capture screenshots, manage apps, and run .mob test cases.

You need Node.js 18+, the MobAI desktop app running locally, and a connected Android or iOS device, emulator, or simulator. Start the device bridge before interacting; without it, actions cannot run on that device. The mobai://reference/device-automation and mobai://reference/testing resources explain the DSL and test syntax.

What it helps with

  • automate taps and text entry on a mobile device
  • check that a UI element appears after navigation
  • save a screenshot for debugging or reporting
  • run a .mob test case on a selected device
  • install or remove an app on a device

Example prompts for the agent

  • Find the connected devices and open Settings on the selected iPhone.
  • Check that the Wi-Fi switch is visible, then save a screenshot.
  • Run the project's .mob test on the connected Android device.

How to install mobai-mcp

Platform CLI

claude mcp add mobai-mcp -- npx -y mobai-mcp

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about mobai-mcp

How do I install mobai-mcp in Claude Code?

Run claude mcp add mobai-mcp -- npx -y mobai-mcp. The setup also requires Node.js 18+ and the MobAI desktop app running locally.

What does mobai-mcp do?

It lets an agent control Android and iOS devices using JSON DSL scripts. It can also discover devices, capture screenshots, manage apps, and run .mob tests.

What must be running before device automation starts?

Run the MobAI desktop app locally and connect a device. Start its bridge with start_bridge before sending device actions.

Similar MCP servers

All MCP servers for Mobile →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor