Skip to content
Skillpedia
βœ“ Official Β· MobAI● Free and open sourceπŸ’» LocalπŸ”“ No API keyProgramming

MobAI MCP

Lets your AI agent control Android and iOS devices, emulators and simulators to test and automate apps.

254 stars on GitHubby MobAILicense Apache-2.0Updated last month

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

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

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Open Settings on my iPhone simulator, go to Wi-Fi and check the toggle exists.
Install this APK on the emulator and take a screenshot.

What it is

MobAI MCP connects AI assistants to the MobAI desktop app, which drives real phones, emulators and simulators. Most actions go through one tool that runs a JSON script of steps such as tap, type, swipe, wait and assert. It also lists devices, takes screenshots, installs apps and runs saved test files.

What it can do

  • execute_dsl: run a script of steps (tap, type, swipe, observe, assertions and more)
  • list_devices and get_device: find connected devices
  • start_bridge: start the automation bridge on a device
  • get_screenshot and save_screenshot: capture the screen
  • install_app, uninstall_app and list_apps: manage apps
  • test_run: run a .mob test case on a device

When to use

  • β€ΊWhen you want an AI to test your mobile app on a real phone or emulator
  • β€ΊWhen you want to open an app, tap through screens and check what shows
  • β€ΊWhen you want to run saved .mob test files

What you need

Node.js 18+, the MobAI desktop app running on your computer (it serves a local API on 127.0.0.1:8686), and a connected Android or iOS device, emulator or simulator.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free and open source?

The MCP server is under the Apache 2.0 license. It needs the MobAI desktop app, which you download from mobai.run.

Which devices work?

Android and iOS devices, emulators and simulators.

Why is there only one main tool?

The server batches actions into one execute_dsl script to reduce round trips and keep retry rules on the server side.

Where do screenshots go?

get_screenshot saves to /tmp/mobai/screenshots/ by default and returns the file path.

Do I have to claim a device first?

Usually not. Acting on an unclaimed device claims it automatically.

Which AI apps work with it?

Claude Code, Cursor, Windsurf, Cline, Claude Desktop and other MCP clients.

If it does not work

  • β€ΊIf you see Connection refused, make sure the MobAI desktop app is installed and running at http://127.0.0.1:8686.
  • β€ΊIf you see Bridge not running, call start_bridge first; the iOS bridge can take up to a minute.
  • β€ΊIf you cannot see screenshots, open the saved file path with your assistant's file reading.

5 new skills a week. 1 minute to read.