Mobai MCP server
io.github.MobAI-App/mobai-mcp·v1.2.1·249 starsAI-powered mobile device automation for Android and iOS devices, emulators, and simulators
249 stars472 downloads/wk
Reviews
Write oneNobody has reviewed Mobai yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Mobai tools (22, 3 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
execute_dslwrite actionExecute a batch of automation steps using the DSL (Domain Specific Language). This is the PREFERRED method for complex automation as it's more reliable than sequential API calls. DSL supports: observe, tap, type, toggle, swipe, scroll, open_app, navigate, wait_for, assert_*, if_exists, delay, execute_js (web) Example DSL script: { "version": "0.2", "steps": [ {"action": "observe", "context": "nati
get_deviceGet information about a specific device
get_ocrPerform OCR text recognition on the current screen (iOS only). Returns detected text with screen coordinates for tapping (already adjusted for tapping).
get_screenshotCapture a screenshot from the device. Returns the file path to the saved PNG.
get_ui_treeGet the UI accessibility tree showing all visible elements with indices for tapping
go_homeNavigate to device home screen
http_requestMake a raw HTTP request to the MobAI API. Use this for advanced operations not covered by other tools. Base URL: http://127.0.0.1:8686/api/v1 Common endpoints: - GET /devices - List devices - GET /devices/{id}/screenshot - Take screenshot - GET /devices/{id}/ui-tree - Get UI tree - POST /devices/{id}/dsl/execute - Execute DSL script - POST /devices/{id}/agent/run - Run AI agent
launch_appLaunch an application by bundle ID
list_appsList installed applications on the device
list_devicesList all connected Android and iOS devices, emulators, and simulators
run_agentwrite actionRun an AI agent to perform a task autonomously. The agent will observe the screen, make decisions, and execute actions to complete the task.
start_bridgeStart the on-device bridge (accessibility service on Android, WebDriverAgent on iOS). Required before automation.
stop_bridgeStop the on-device bridge
swipePerform a swipe gesture
tapTap an element by index (from UI tree) or coordinates
type_textType text on the device (tap input field first to focus)
web_clickClick an element in the web page using CSS selector
web_execute_jswrite actionExecute JavaScript in the web page context
web_get_domGet the DOM tree of the current web page
web_list_pagesList available web pages (browser tabs and WebViews) for web automation
web_navigateNavigate to a URL in the browser
web_typeType text into a web element using CSS selector
Public scan report
scanner v0.1.10 · 2026-09-28 · same rubric, same numbers if you re-run it
- Code scan4 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 8 days ago15/15
- Maintainer identityregistry namespace matches repository owner7/10
How Mobai compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 91/100
- higher than 85% of 48,273 servers
- Tools
- 22
- the typical server has 7
- Tools that change things
- 14%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 249
- more than 95% of 28,534 servers
- Downloads a week
- 472
- more than 87% of 11,915 servers with a package
What its tools let an agent do: 17 read · 1 change · 4 run or deploy
Install Mobai in Claude Code, Cursor or VS Code
Runs npx -y mobai-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add mobai-mcp -- npx -y mobai-mcp
What the publisher says
From the Mobai repository's README, as published. We do not edit it. Read it on GitHub
MobAI MCP Server
MCP (Model Context Protocol) server for MobAI — AI-powered mobile device automation. Lets AI assistants (Claude Code, Cursor, Windsurf, Cline, and other MCP-compatible tools) control Android and iOS devices, emulators, and simulators via a single DSL-first interface.
How it works
All device interaction is batched through one primary tool: executedsl**. Instead of exposing dozens of fine-grained tools (tap, swipe, type…), the server accepts a JSON script describing a sequence of actions with predicates, assertions, waits, and conditional branches. This keeps round-trips low and encodes retry/failure strategies server-side.
A small set of companion tools handles device discovery, screenshots, app management, and running .mob test files.
Prerequisites
- Node.js 18+
- MobAI desktop app running locally (HTTP API on 127.0.0.1:8686)
- A connected Android or iOS device, emulator, or simulator
Installation
Claude Code
claude mcp add mobai -- npx -y mobai-mcpCursor
Add to .cursor/mcp.json:
{
"mcpServers": {
"mobai": {
"command": "npx",
"args": ["-y", "mobai-mcp"]
}
}
}Claude Desktop
Add to ~/Library/Application Support/Claude/claudedesktopconfig.json (macOS):
{
"mcpServers": {
"mobai": {
"command": "npx",
"args": ["-y", "mobai-mcp"]
}
}
}Windsurf / Cline / other MCP clients
The server speaks stdio — use your client's generic MCP configuration:
{
"command": "npx",
"args": ["-y", "mobai-mcp"]
}Tools
Device management
Screenshots
Apps
Automation
Test management
Tests are .mob files on disk inside project directories. You read, write, and edit them directly using your assistant's filesystem tools — MobAI watches for changes and updates the UI live. MCP is only needed to discover projects and run tests.
Resources
Read these before attempting any device interaction — they describe the DSL schema, action set, predicates, failure strategies, and .mob syntax.
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Mobai: common questions
- Is Mobai MCP server safe?
- Yes, by our scan: it is graded A (91/100). Read the Mobai safety report
- How do I install Mobai?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Mobai need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Mobai maintained?
- The last commit was 43 days ago (2026-09-20). The latest release is v1.2.1.
- What can I use instead of Mobai?
- Servers from other publishers that do the same job: Mobile MCP server, MCP Appium - Mobile Development and Automation Server MCP server and Mobilerun MCP server. Compare all Mobai alternatives.
- How does Mobai compare with other MCP servers?
- safety score 91/100 (higher than 85% of 48,273 servers); tools 22 (the typical server has 7); tools that change things 14% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Mobai
Same job from other publishers: the closest match first, then the best rated.
- MobileMCP server for iOS and Android Mobile Development, Automation and Testingnot reviewedWidely usedA
- MCP Appium - Mobile Development and Automation ServerMCP server for Appium mobile automation on iOS and Android devices with test creation tools.not reviewedEstablishedA
- MobilerunLet AI agents control Android and iOS devices on Mobilerun Cloud: screen, input, apps, workflows.not reviewedEstablishedA