
Mobai Mcp
io.github.MobAI-AppPublished by GitHub account MobAI-Appv1.2.1Updated Oct 24, 2026
AI-powered mobile device automation for Android and iOS devices, emulators, and simulators
Overview
MCP server that lets an AI assistant drive Android and iOS devices, emulators and simulators through a batched DSL script, plus screenshots, app management…
- What you can do
- Discover, claim and release devices, and start or stop the automation bridge
- Take fast low-quality screenshots for visual analysis or save full-quality PNGs to disk
- List, install, uninstall and debug apps on a device
- Execute batched DSL scripts covering taps, typing, swipes, waits, assertions, web automation, metrics and screen recording
- List test projects and run .mob test cases on a chosen device
- When to use it
- Useful when you want an assistant to operate a real or emulated mobile app hands-on: exploring flows, reproducing bugs, checking UI state, or running existing .mob test cases. It is aimed at local desktop setups where a device is attached.
- Requirements
- Node.js 18 or newer, the MobAI desktop app running locally with its HTTP API on 127.0.0.1:8686, and a connected Android or iOS device, emulator or simulator. Installed via npx mobai-mcp over stdio; no API keys or environment variables are declared.
Installation
In SourceWeft
- Open Mobai Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
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: execute_dsl. 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
Cursor
Add to .cursor/mcp.json:
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):
Windsurf / Cline / other MCP clients
The server speaks stdio — use your client's generic MCP configuration:
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.
Example
Open the iOS Settings app, navigate to Wi-Fi, and verify the toggle exists:
Pass this as the commands argument (a JSON string) to execute_dsl along with a device_id from list_devices.
Troubleshooting
"Connection refused" / "Could not reach the MobAI desktop app" — Make sure the MobAI desktop app is installed and running, and the API is reachable at http://127.0.0.1:8686. If you don't have it yet, download and install it from https://mobai.run/download.
"Bridge not running" — Call start_bridge first. The iOS bridge can take up to a minute to come up.
Screenshots not visible — get_screenshot saves to /tmp/mobai/screenshots/ by default and returns the file path. Use your assistant's file-reading capability to view them. DSL observe screenshots are extracted from the response and saved to the same directory.
Development
License
Apache 2.0 — see LICENSE.
Source: README.md at commit 75348bb
Tools
0Version history
1- v1.2.1LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts