mcp-android
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ANDROID_MODE | No | Access mode determining what the server can do (e.g. read-only, read-write, admin). | read-only |
| ANDROID_DRY_RUN | No | Preview operations without touching the device. Default is false. | false |
| ANDROID_AUDIT_LOG | No | Enable audit logging to stderr. Default is true. | true |
| ANDROID_ALLOW_SHELL | No | Allow raw `adb shell` usage (run_shell is not registered otherwise). Default is false. | false |
| ANDROID_ALLOW_INSTALL | No | Allow install/uninstall/clear operations. Default is false. | false |
| ANDROID_PACKAGE_ALLOWLIST | No | Which packages are in scope. Defaults to all packages. | * |
| ANDROID_PROTECTED_PACKAGES | No | Protected packages that are never uninstalled or cleared. Defaults to settings, systemui, gms. | settings, systemui, gms |
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": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_devicesB | List connected adb devices and their state. |
| device_infoB | Model, manufacturer, Android version, and screen size. |
| screenshotA | Capture the current screen as a PNG image so you can see what's on the phone before acting. |
| ui_dumpA | Dump the current screen's UI hierarchy (uiautomator XML) with element text and bounds — use it to find exact tap coordinates. |
| current_appC | The package/activity currently in the foreground. |
| list_appsA | List installed packages. Third-party only by default. |
| get_notificationsA | Read current notifications (package + title/text), best-effort. Useful for clearing the pile-up. |
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 7 tools
Each tool targets a clearly distinct aspect: device enumeration, device metadata, screen capture, UI hierarchy, foreground app, installed packages, and notifications. The only near-pair, list_devices vs. device_info, is separated by the descriptions (list all connected devices vs. detail on a device).
Conventions are mixed: verb_noun (list_devices, list_apps, get_notifications) alongside bare noun phrases (device_info, screenshot, ui_dump, current_app). Individual names are readable but there is no single predictable pattern to guess a tool name from.
Seven tools is a sensible, well-scoped size for an Android inspection server, with no redundant entries. The caveat is that the count is spent entirely on read/inspect operations, leaving little room for the interaction tools the descriptions imply.
The surface is observation-only: you can screenshot, dump the hierarchy, and locate coordinates, but there is no tap, swipe, text input, or key-event tool despite descriptions promising 'see what's on the phone before acting' and 'use it to find exact tap coordinates'. That is a dead end for the core loop, and there is also no way to launch/stop an app or dismiss notifications.