← Back to directory
M

MobAI MCP Server

Community
Automate Android and iOS devices in batches with a DSL.
Category
Other #386 of 678
Stars
★ 256 Very popular
Transport
stdio (local process)
Runtime
Node.js 18+
Credentials
No credential needed
License
Apache-2.0
Last commit
Tools
16
50FMRS · D

The supplied sources describe an MCP server for MobAI mobile device automation and document stdio transport, tools, and client configuration examples. The repository and manifest do not establish that it is maintained by the MobAI product owner, so it is not labeled official.

Strongest · Setup experience 13/20 Weakest · Reliability 8/20

Reliability
8/20
Security and permissions
9/20
Maintenance
9/20
Documentation
11/20
Setup experience
13/20
Why each score
Reliability 8/20
The README describes stdio, the server's purpose, and concrete tools, and says device interaction depends on a local MobAI desktop app and device bridge. It provides no source, CI, or test evidence to verify the handshake, tool implementations, error handling, or edge cases, so only a plausible basic path is supported.
Security and permissions 9/20
The docs say the server connects to 127.0.0.1:8686 and can control devices, install or uninstall apps, save screenshots, and run tests. They do not explain data flows, permission boundaries, sensitive-data handling, or confirmation for risky actions. The supplied material shows no red-line behavior, but the missing security details warrant deductions.
Maintenance 9/20
An Apache-2.0 license, npm package, and version are provided, but the material contains no commit history, release cadence, dependency-update policy, issue-response evidence, or security reporting channel. Star and open-issue counts are not evidence of maintenance quality.
Documentation 11/20
The README covers tool categories, resource URIs, client setup examples, one DSL example, and common troubleshooting. It lacks complete parameter definitions and does not explain data handling, platform limits, operational risks, or costs.
Setup experience 13/20
The README gives npx-based stdio configuration for several mainstream clients and lists Node.js 18+, the local desktop app, and a connected device as prerequisites. First use still depends on an external app and device bridge; the material also has no CI or key-path test evidence, so the static calibration caps the score at 15.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesRuns commands or codeUses the network

Best for

  • Developers or testers with the MobAI desktop app and a connected mobile device.
  • People who want to drive mobile device automation through batched scripts from an MCP client.

Not for

  • Users without the MobAI desktop app or a connectable Android/iOS device, emulator, or simulator.
  • Cloud device farm workflows or automation that does not use the local MobAI HTTP API; the source does not document support for these.

Required permissions

  • Requires access to the local MobAI desktop app HTTP API at 127.0.0.1:8686.
  • Needs to interact with apps and UI on connected devices; installing or uninstalling apps requires a local APK or IPA path.
  • Screenshots default to /tmp/mobai/screenshots/; saving screenshots and debug logs requires corresponding local file write access.

Risks and side effects

  • Automation scripts perform actions on the selected device and may change app or device state.
  • install_app and uninstall_app install or remove apps on a device; confirm the target device and file before using them.
  • Screenshots, debug output, and test results may contain device or app information; handle generated files carefully.

Setup

Before you start

Runtime:Node.js 18+

Install and run the MobAI desktop app, then connect an Android or iOS device, emulator, or simulator. With Node.js 18 or later, configure a supported MCP client to run command npx with arguments -y mobai-mcp. For Claude Code, run claude mcp add mobai -- npx -y mobai-mcp; Cursor, Claude Desktop, Windsurf, Cline, and other clients can use the generic stdio configuration shown in the source.

.mcp.json
{"command":"npx","args":["-y","mobai-mcp"]}

Shown for Claude Code. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "command": "npx",
  "args": [
    "-y",
    "mobai-mcp"
  ]
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
{
  "command": "npx",
  "args": [
    "-y",
    "mobai-mcp"
  ]
}

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Check that it works

Confirm the mobai-mcp tools appear in your client's MCP tool list, then call list_devices to check that it can connect to the MobAI desktop app.

Troubleshooting

  1. For connection refused or an unreachable app, confirm the MobAI desktop app is installed and running, and check that its local API is reachable at http://127.0.0.1:8686.
  2. For Bridge not running, call start_bridge first; the iOS bridge may take up to a minute to start.
  3. If a screenshot is not visible, check the returned file path; get_screenshot saves to /tmp/mobai/screenshots/ by default.

Things to try

Once connected, you can ask your AI assistant things like:

  • List the connected Android and iOS devices.
  • Get a screenshot of a device and list its installed apps.
  • Open iOS Settings on a device and check that a Wi-Fi switch exists.
  • List the test projects and run a .mob test case on a device.

Tools 16

list_devices read-only
List connected Android and iOS devices.
get_device read-only
Get details about a specific device.
start_bridge writes
Start the device automation bridge; it is required before interaction.
stop_bridge writes
Stop the device automation bridge.
claim_device writes
Claim exclusive use of a device for the current session; usually optional, since acting on an unclaimed device auto-claims it.
release_device writes
Release one or all device leases held by the current session.
get_screenshot writes
Get a fast, low-quality screenshot for model visual analysis; it may be downscaled, and the response includes a scale factor.
save_screenshot writes
Save a full-quality PNG screenshot to disk.
Show 8 more tools
list_apps read-only
List apps installed on the device.
install_app writes
Install an APK or IPA from a local file path.
uninstall_app destructive
Uninstall an app by bundle ID or package name.
debug_app writes
Launch an app in debug mode and write stdout and stderr to a log file.
execute_dsl writes
Primary automation tool; execute batched DSL steps such as tap, type, swipe, observe, assertions, web automation, metrics, and screen recording.
test_get_active read-only
Get the active test project directory and its .mob cases.
test_list_projects read-only
List known test project directories and their .mob cases.
test_run writes
Run a .mob test case on a device; requires a project directory, case path, and device ID, with optional parameters for ${name} substitution.

Use cases

Automate Android or iOS app interactions with DSL scripts and check UI state.
Capture device screenshots, manage installed apps, or run .mob test cases.
Test mobile apps on connected devices, emulators, or simulators.

Supported clients

Claude Code
Cursor
Claude Desktop
WindsurfPartial support
ClinePartial support

Listed from the project's documentation, not tested by this site.

Overview

MobAI MCP Server connects over stdio to the MobAI desktop app so MCP-compatible AI assistants can control Android and iOS devices, emulators, and simulators. Its primary interaction tool, execute_dsl, runs scripts with actions, conditions, assertions, and waits; companion tools discover devices, capture screenshots, manage apps, and run .mob tests. It requires Node.js 18 or later, the MobAI desktop app running locally (HTTP API at 127.0.0.1:8686), and a connected device.

Similar servers

Source revision b2429ecc0cea Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/mobai-mcp.svg)](https://followmcp.com/en/servers/mobai-mcp)