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_devicesandget_device: find connected devicesstart_bridge: start the automation bridge on a deviceget_screenshotandsave_screenshot: capture the screeninstall_app,uninstall_appandlist_apps: manage appstest_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
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
mobile-automationLets your agent control an Android or iOS phone, emulator or simulator to open apps, tap, type, take screenshots and check what is on screen.appium-skillHelps your agent create automation scripts for Android and iOS mobile apps. Allows testing on real devices or emulators.google-mobile-ads-get-startedHelps your agent install and set up the Google Mobile Ads SDK in an Android, iOS, or Unity app, from adding the dependency to a check that it works.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.