turbo-android-mcp
Drives Android phones, tablets, and emulators over adb, providing UI hierarchy dumps, taps, swipes, text input, screenshots, app launch, settings navigation, and batch actions.
Detects Android Brave DevTools remote debugging sockets and bridges them to a local CDP endpoint on port 9333 for browser automation via turbo-browser-mcp.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@turbo-android-mcp open the Settings app and take a screenshot"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
turbo-android-mcp
turbo-android-mcp is a zero-dependency Node.js MCP server that drives Android phones, tablets, and emulators over standard adb (npx -y turbo-android-mcp) on Windows, macOS, and Linux without device root. When connected over adb (AdbTransport), tools/list exposes only the 12 non-root screen and app tools and hides the 7 host root tools so the model does not waste context tokens or call unavailable commands.
Core capabilities over standard adb:
Multi-window UI trees and delta diffs:
ui_treedumps the Android accessibility hierarchy viauiautomator dump --windows(preserving split-screen panes and dialogs), strips system bars, and formats clickable or text nodes with center coordinates(cx,cy)capped at 6,000 characters. PassonlyChanged: truefor a+/~/-delta diff against the previous snapshot, and passindex,text, oriddirectly totap,type_text, andbatch_actions.Mobile Chrome and WebView CDP bridge on port
9333: Android browsers and WebViews often expose empty trees touiautomator. The built-in CDP bridge (daemon/cdp-bridge.mjs) detects@chrome_devtools_remote,@brave_devtools_remote, and@webview_devtools_remote_<pid>sockets, checks the active package against the deny-zone list, and forwards DevTools traffic to127.0.0.1:9333forturbo-browser-mcp.Banking, wallet, and password deny-zones: Every screen read, tap, swipe, text input, app launch, and CDP attach blocks banking and e-wallet apps (
momo,zalopay,vnpay,shopeepay,paypal,vcb,techcombank,mbbank,bidv,vietinbank),VNeID, password managers (1password,bitwarden,keepass,lastpass,dashlane,protonpass), and root managers (KernelSU). Password nodes (password="true") are masked as"••••", andtype_textrejects calls when a password field is focused or targeted.Vietnamese and Unicode IME input: ASCII text uses
input text, while accented Vietnamese, CJK, and emoji text is sent as Base64 broadcasts viaTurboImeServicewith automatic restoration of the previous keyboard (/data/local/tmp/turbo_prev_ime).
Install and configure
Requires Node 20 or newer and adb (Android Platform Tools) with USB debugging or Wireless debugging enabled on the target Android device.
Claude Code:
claude mcp add turbo-android -- npx -y turbo-android-mcpMCP clients using an mcpServers JSON file (Cursor, Claude Desktop, Antigravity):
{
"mcpServers": {
"turbo-android": {
"command": "npx",
"args": ["-y", "turbo-android-mcp"],
"env": {
"TURBO_ANDROID_ADB": "adb",
"TURBO_ANDROID_SERIAL": "",
"TURBO_ANDROID_LANG": "en"
}
}
}
}From source:
git clone https://github.com/Tthanh2k6/turbo-android.git
cd turbo-android
node --test test/*.test.mjsRelated MCP server: Yunkai Phone Bridge
Environment variables
Variable | Default | Purpose |
|
| Path or binary name for the Android Debug Bridge executable ( |
| (empty) | Target device serial passed to |
|
| Language for tool output and error messages ( |
|
| Package name (or |
| auto ( | Force |
| (empty in direct ADB mode) | When set (or when |
MCP tools
Screen navigation and app tools (no root required over ADB)
Tool | Purpose | Key parameters |
| Dump and parse the current screen UI hierarchy into compact nodes with |
|
| Capture the screen as a PNG image (downscaled when Python + Pillow are available) |
|
| Tap a node by |
|
| Swipe from |
|
| Send a hardware or navigation key event |
|
| Type text into the focused field, or first tap a field matched by |
|
| Launch an installed application by package name |
|
| Open an Android Settings screen directly |
|
| List installed package names |
|
| Get the foreground package and activity from | (none) |
| Sleep for a bounded duration |
|
| Run multiple non-root UI steps ( |
|
System inspection and privileged tools (daemon / chroot root mode only)
These 7 tools are hidden from tools/list in standard AdbTransport mode. When running inside the on-device daemon (turbo-android-d) or ChrootRootTransport, mutating tools pause and request user approval on the Android screen.
Tool | Purpose | Key parameters |
| Read a |
|
| Write a |
|
| Inspect or manage a package (protected system and deny-zone packages are blocked) |
|
|
|
|
| Read battery, memory, storage, thermal, redacted |
|
| Inspect or control Battery Saver and App Standby Bucket |
|
| Execute a host shell command (destructive commands and |
|
Safety boundaries
Deny zones:
ui_tree,screenshot,tap,swipe,type_text,open_app,app_manage, and the CDP bridge refuse to inspect or interact with banking apps, e-wallets (momo,zalopay,vnpay,shopeepay,paypal,vcb,techcombank,mbbank,bidv,vietinbank),VNeID, password managers (1password,bitwarden,keepass,lastpass,dashlane,protonpass), and root managers (KernelSU).Password masking and input refusal:
parseUiTreeXmlmasks any node withpassword="true"as"••••"and strips itscontent-desc. If a password field is focused in the latest UI tree,type_textrejects the call so the user can enter credentials manually.Log and audit redaction:
system_diagnosticsand the SHA-256 hash-chained audit log (daemon/audit-log.mjs) redact Bearer tokens, URL token query parameters, JWTs, and 32+ character hex secrets.
On-device daemon and control app (advanced mode)
In addition to standalone adb usage from a computer, this repository includes the full on-device stack for rooted Android tablets running a Debian arm64 chroot:
daemon/: zero-dependency Node ESM HTTP + SSE server (127.0.0.1:8765), CLI adapters (claude,codex,agy,opencode), project/git/terminal workers, and a local CDP bridge (127.0.0.1:9333) that forwards Android Chrome or Brave DevTools sockets toturbo-browser-mcp.app/: Kotlin + Jetpack Compose control client (minSdk 26,targetSdk 36), foreground service, floating cross-app emergencySTOPoverlay, andTurboImeService.scripts/: chroot installer (install.sh), daemon start/stop scripts, andwatchdog.sh.
License
MIT
Available Tools
19 toolsapp_manageA
Inspect or manage an installed Android package (info is read-only; mutations require user approval; core system/deny-zone packages are blocked).
Inputs: action (required), package (required), permission.
batch_actionsA
Execute a sequence of non-root Android UI actions (tap, type_text, swipe, key, wait, open_app, open_settings, current_app, list_apps, ui_tree) in one call. Stops on the first error by default.
Inputs: steps (required), onlyChanged, stopOnError, returnUiTree.
current_appA
Get the currently focused foreground Android app package.
Inputs: no named parameters.
keyC
Send a hardware/navigation key event.
Inputs: key (required).
list_appsC
List installed Android package names.
Inputs: filter, thirdPartyOnly.
open_appB
Launch an Android application by package name.
Inputs: package (required).
open_settingsA
Open an Android Settings page directly (no approval needed). page: main, wifi, bluetooth, display, sound, battery, apps, app_details (needs package), location, notifications, storage, developer, date, language, accessibility, network.
Inputs: page (required), package.
power_saverC
Inspect or control Android Battery Saver / App Standby Bucket.
Inputs: action (required), bucket, enabled, package.
root_fileC
Inspect, list, read, or write files on the Android host with realpath confinement.
Inputs: path (required), action (required), content, encoding, +1 more.
root_shellC
Run an arbitrary root shell command on the Android host (requires user approval).
Inputs: command (required).
screenshotA
Capture the current Android screen as a downscaled PNG image.
Inputs: maxSide.
settings_getB
Read an Android system/secure/global setting value (read-only).
Inputs: key (required), namespace (required).
settings_putB
Write an Android system/secure/global setting value (requires user approval; security keys are blocked).
Inputs: key (required), value (required), namespace (required).
swipeC
Swipe from (x1, y1) to (x2, y2) over durationMs milliseconds.
Inputs: x1 (required), x2 (required), y1 (required), y2 (required), +1 more.
system_diagnosticsB
Read Android host diagnostics (battery, memory, storage, thermal, logcat, or filtered dumpsys).
Inputs: kind (required), lines, filter, service.
tapA
Tap an element by 1-based index, text/desc, or resource-id from the latest ui_tree, or at physical screen coordinates (x, y).
Inputs: x, y, id, text, +1 more.
type_textB
Type text into the focused input field, or first tap a target field resolved by index, id, or targetText from the latest ui_tree. Unicode and special characters use Turbo Android IME.
Inputs: text (required), id, index, value, +2 more.
ui_treeA
Dump and parse the current Android screen UI hierarchy into compact clickable/text nodes with center coordinates (cx,cy). Set onlyChanged=true to return a delta diff (+/~/-) against the previous snapshot.
Inputs: onlyChanged.
waitB
Wait for a specified duration in milliseconds (max 5000ms).
Inputs: ms.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 19 tools
Most tools target a clearly distinct layer (UI tree, screenshot, tap/swipe/key, app lifecycle, settings, root, files, diagnostics). Some fuzziness exists between root_shell and the narrower root_file/settings_put/app_manage, and between open_settings (opens a UI page) and settings_get/settings_put (read/write values), but descriptions and approval semantics keep them separable.
All snake_case with recognizable families (settings_get/put, root_shell/root_file, open_app/open_settings, list_apps). There is a mix of verb-first (list_apps, open_app) and noun-first (ui_tree, app_manage, power_saver, system_diagnostics) patterns, but each family is internally consistent and guessable.
19 tools is on the heavy side but is justified by a broad Android surface (UI automation, app control, settings, root, files, diagnostics, power). No tool looks redundant enough to remove, though batch_actions and root_shell are broad multi-capability entry points that inflate perceived surface.
Covers the core automation loop (observe screen, tap/type/swipe, launch app, batch sequences) plus privileged operations, settings, files, and diagnostics. Notable gaps remain: richer gestures (long-press, double-tap, pinch), element-level waits/conditions, clipboard, and notification-shade interaction, all of which agents must work around via coordinates or root_shell.
Maintenance
Related MCP Connectors
remote debug iOS/Android/Unity/Godot/Flutter/RN/Web on real-device.ui-tree/screenshots/taps,tests.
Let Claude, ChatGPT and other agents use your Android phone: see the screen, tap, type, open apps.
Drive real devices from your AI Coding tool. Embed a client SDK (Unity, Godot, Flutter, iOS/macOS, Android, React Native, Web) in your app, then capture screenshots, traverse the UI tree, inject taps and key events, and run automated test tasks on the physical device over a secure relay.
Cloud Android devices for AI agents: install an APK, read the screen, tap, type, read logcat.
Related MCP Servers
- FlicenseBqualityBmaintenanceEnables comprehensive Android device control over ADB, including UI automation, screen capture/recording, app management, file operations, and log/notification access, with a built-in permission system.71-
- AlicenseNot gradedqualityBmaintenanceEnables bounded, local-first Android device perception and interaction over ADB, including screenshots, UI hierarchy inspection, allowlisted key/app/URI actions, and guarded verified taps. It also exposes passive health, runtime status, capability, permission, and unified device-contract surfaces.Apache 2.0
- AlicenseBqualityCmaintenanceEnables any MCP assistant to see and operate an Android phone or emulator over plain adb, reading the accessibility tree to tap elements by name and also supporting screenshots, typing, swiping, app launching and installation, and logcat — with nothing installed on the device and no root required.13MIT
- AlicenseAqualityBmaintenanceEnables AI agents to see and drive a real Android phone over plain ADB: screenshots and numbered UI trees, gestures, typing with accents and emoji, SMS/RCS reading and prepared replies, notifications, files, and settings, with no root and no app installed on the phone. Safeguards mask security codes and require explicit confirmation before sending, paying, deleting or confirming anything.183MIT