MCP server for remote Android device debugging and command execution through a relay server. Provides tools for device management, shell execution, app control, file transfer, and system inspection on Android devices.
25 tools with mixed quality. Naming is generally verb-first and clear (list_devices, run_shell, file_pull). Descriptions exist for all tools but are often terse (avg ~60 chars, well below the 194-char baseline). Critical gaps: NO input schemas visible in source code, all tools show parameter names and types in the spec but no JSON Schema definitions in the actual code. Parameters lack formal constraints (enums, ranges, patterns). Error handling is absent, no recovery guidance, no categorization of retryable vs fatal errors. Security concerns: run_shell, host_exec, host_adb, host_fastboot accept arbitrary commands with minimal validation. No evidence of permission gates, audit logging, or secret injection patterns. Output schemas undocumented. Composition is reasonable (single responsibility per tool) but lacks chaining metadata (e.g., file_pull should return device_id for downstream calls).
在手机上禁用 ADB over TCP(需要 root)。
在手机上启用 ADB over TCP(需要 root)。
查询手机 ADB over TCP 的状态。
清除应用数据(危险操作,会删除该应用本地数据)。
拉取 logcat 日志。
查询应用的 dumpsys 信息。
从小手机拉取小文件到本地(base64 传输,适合 <1MB)。
No JSON Schema definitions visible in source code. All 25 tools lack formal input/output schemas. Parameters are documented in spec but not registered with type constraints, enums, or ranges in the actual MCP tool definitions.
Arbitrary command execution without validation. run_shell, host_exec, host_adb, host_fastboot accept free-form strings with no sanitization against command injection, path traversal, or malicious payloads. LLMs can be tricked into passing shell metacharacters.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 39 | 2026-07-28+ | v2 |
从手机拉取大文件到本地(分块传输,适合 >1MB)。
从手机快速拉取文件到本地(使用 artifact 中转,适合频繁传输)。
向手机推送小文件(base64 传输,适合 <1MB)。
向手机推送大文件(分块传输,适合 >1MB)。
向手机快速推送文件(使用 artifact 中转,适合频繁传输)。
获取设备详细信息:型号、厂商、Android 版本、SDK 版本、root 状态。
在 host 电脑上执行 adb 命令。
在 host 电脑上执行任意命令。
在 host 电脑上执行 fastboot 命令。
查 host 电脑上的 adb/fastboot 路径与版本。
向手机发送按键事件(类似 adb shell input keyevent)。
在手机上安装 APK 文件。
列出手机上已安装的应用包名(pm list packages)。
列出 Relay 上所有注册的设备,包括在线状态、型号、root 状态。
在手机上执行任意 shell 命令(类似 adb shell)。
截取手机屏幕并保存到本地文件。
启动一个应用。
强制停止一个应用。
No error handling or recovery guidance. Tools lack descriptions of failure modes, retryable vs fatal errors, or actionable error messages. An LLM receiving a timeout or permission error has no guidance on what to do next.
Descriptions are terse (avg ~50 chars, well below 194-char baseline). Most lack context on WHEN to use the tool, prerequisites, or side effects. E.g., 'clear_app_data' says it deletes data but does not warn that this is destructive and irreversible.
No permission gates or audit logging. Destructive tools (clear_app_data, stop_app, install_apk, host_exec) lack permission checks or logging. No evidence of scope declarations (read:device, write:device, admin:device) or audit trails for compliance.