tailscale-adb-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TAILSCALE_ADB_UI_BACKEND | No | UI backend to use: `adb` (zero phone deps) or `uiautomator2` (live viewfinders / non-focusable overlays). Default is `adb`. | |
| TAILSCALE_ADB_DEVICE_HINT | No | Tailscale node hostname for dynamic IP lookup. Default is an empty string. | |
| TAILSCALE_ADB_SNAPSHOT_TTL_SEC | No | Expiry TTL for `@eN` UI node references. Default is `20`. | |
| TAILSCALE_ADB_TOP_BAR_GUARD_PX | No | Blocks taps/swipes in the heads-up notification zone unless `allow_top_bar=True`. Default is `140`. | |
| TAILSCALE_ADB_ALLOWLIST_PACKAGES | No | Comma-separated packages allowed for UI actions, `launch`, `force_stop`, `install`. Default is empty (fail-closed). | |
| TAILSCALE_ADB_ALLOWLIST_PUSH_DIRS | No | Comma-separated remote directories allowed for `android_push`. Default is empty (fail-closed). |
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 | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| android_connectC | Connect to the Android device over Tailscale ADB Wireless Debugging. |
| android_disconnectA | Disconnect the active or specified ADB serial and clear cached UI refs. |
| android_snapshotB | Capture a compact UI node tree (@e1..@eN, max 60 nodes) with focus metadata. |
| android_actC | Execute a safety-checked UI or lifecycle action and invalidate @eN refs. |
| android_assertC | Poll UI hierarchy for a target element while watching logcat for crashes/ANRs. |
| android_logsC | Fetch capped logcat output for a package (with post-crash fallback if exited). |
| android_screenshotA | Capture a resized JPEG screenshot to disk (max width 720px, no base64). |
| android_installB | Verify APK packageName against Safety Layer and install with |
| android_pushC | Push a local file into a strictly allowlisted remote Android directory. |
| android_doctor_batteryA | Read-only battery diagnostics (level, SOH, cycles, temp, voltage, charging state). |
| android_doctor_radioA | Read-only anonymized cellular radio diagnostics (bands, RSRP/RSRQ/SINR, CA). |
| android_doctor_systemA | Read-only system health report (RAM/ZRAM, top <=10 PSS processes, thermals, /data). |
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 12 tools
Each tool targets a clearly distinct ADB operation or diagnostic area: connection lifecycle, UI inspection/action/assertion, logs, screenshots, install, file push, and three separated doctor diagnostics. The closest pair, android_snapshot and android_assert, are still distinguishable because snapshot returns the UI tree while assert polls for a target and watches logcat.
All tools use a consistent android_ snake_case prefix, making the set easy to scan. A few names are noun-oriented (android_logs, android_screenshot, android_doctor_battery) rather than strict verb_noun, but the convention remains predictable.
Twelve tools is well within the appropriate range for an Android-over-ADB automation server. Each tool covers a distinct, useful capability without obvious redundancy.
The surface covers core device automation: connect/disconnect, UI inspection and actions, assertions, logs, screenshots, APK install, file push, and diagnostics. Minor gaps exist around file pull, uninstall, and broader shell/package lifecycle operations, but agents can work around many of these.