adb-mcp-server

adb-mcp-server

3.2

If you are the rightful owner of adb-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Model Context Protocol (MCP) server for managing Android Debug Bridge (ADB) connections and interacting with Android devices.

The ADB MCP Server is a specialized server designed to facilitate the management of Android Debug Bridge (ADB) connections and interactions with Android devices. It operates as a Model Context Protocol server, providing a structured way to execute ADB commands, manage connected devices, capture screenshots, and inspect UI elements. This server is particularly useful for developers and testers who need to automate tasks or perform detailed inspections of Android devices. The server is built using Node.js and TypeScript, ensuring a robust and scalable solution. It requires ADB to be installed and accessible via the system PATH, and it supports various operations through a set of MCP tools.

Features

  • Device Management: List all connected Android devices
  • Screenshot Capture: Take screenshots from connected devices
  • UI Element Inspection: Extract UI hierarchy from device screens
  • ADB Command Execution: Run arbitrary ADB commands on connected devices

Tools

  1. get_devices

    Returns a list of all connected Android devices with their IDs and connection states.

  2. capture_screenshot

    Captures a screenshot from a specified device and saves it to a specified path.

  3. get_ui_elements

    Extracts the full UI hierarchy in XML format from a specified device.

  4. execute_adb_command

    Executes arbitrary ADB commands on a specified device.