Skip to main content
Glama

ADB MCP Server

by srmorete

inspect_ui

Analyze and extract Android device UI hierarchy using ADB commands. Specify a device ID, set a custom output path, and optionally retrieve XML content as base64 for detailed UI inspection.

Input Schema

NameRequiredDescriptionDefault
asBase64NoReturn XML content as base64 (default: false)
deviceNoSpecific device ID (optional)
outputPathNoCustom output path on device (default: /sdcard/window_dump.xml)

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "asBase64": { "default": false, "description": "Return XML content as base64 (default: false)", "type": "boolean" }, "device": { "description": "Specific device ID (optional)", "type": "string" }, "outputPath": { "description": "Custom output path on device (default: /sdcard/window_dump.xml)", "type": "string" } }, "type": "object" }

You must be authenticated.

Other Tools from ADB MCP Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/srmorete/adb-mcp'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server