turbo-android-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TURBO_ANDROID_ADB | No | Path or binary name for the Android Debug Bridge executable (`AdbTransport`). | adb |
| TURBO_ANDROID_URL | No | When set (or when `TURBO_ANDROID_TOKEN` / `TURBO_SESSION_ID` is present), `android-mcp` forwards tool calls over HTTP to `turbo-android-d` (`POST /internal/tool`). | (empty in direct ADB mode) |
| TURBO_ANDROID_LANG | No | Language for tool output and error messages (`en` or `vi`). | en |
| TURBO_ANDROID_SERIAL | No | Target device serial passed to `adb -s <serial>` when multiple devices are connected. | |
| TURBO_ANDROID_TRANSPORT | No | Force `adb` or `chroot` transport. | auto (`adb` on PC/Mac, `chroot` when UID 0 on Linux) |
| TURBO_ANDROID_IME_PACKAGE | No | Package name (or `package/.Service`) of the companion `TurboImeService` APK used for Base64 Unicode and Vietnamese text input. | vn.trungthanh.turboandroid |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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. |
| screenshotA | Capture the current Android screen as a downscaled PNG image. |
| 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). |
| swipeC | Swipe from (x1, y1) to (x2, y2) over durationMs milliseconds. |
| keyC | Send a hardware/navigation key event. |
| 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. |
| open_appB | Launch an Android application by package name. |
| list_appsC | List installed Android package names. |
| current_appA | Get the currently focused foreground Android app package. |
| waitB | Wait for a specified duration in milliseconds (max 5000ms). |
| 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. |
| 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. |
| root_shellC | Run an arbitrary root shell command on the Android host (requires user approval). |
| settings_putB | Write an Android system/secure/global setting value (requires user approval; security keys are blocked). |
| settings_getB | Read an Android system/secure/global setting value (read-only). |
| app_manageA | Inspect or manage an installed Android package (info is read-only; mutations require user approval; core system/deny-zone packages are blocked). |
| root_fileC | Inspect, list, read, or write files on the Android host with realpath confinement. |
| system_diagnosticsB | Read Android host diagnostics (battery, memory, storage, thermal, logcat, or filtered dumpsys). |
| power_saverC | Inspect or control Android Battery Saver / App Standby Bucket. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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.