Skip to main content
Glama

Android Debug Bridge MCP

by TiagoDanin

Android Debug Bridge MCP

MCP plugin to control Android devices via ADB for automation, testing, and agent integration.

Features

This MCP server provides tools to:

  • Test Management: Create test folders for organizing automation tests
  • App Control: List installed apps by name pattern and open apps by package name
  • Screen Capture: Take screenshots and save them to organized test folders
  • UI Analysis: Capture UI hierarchy dumps for element inspection
  • Input Simulation:
    • Send key events (BACK, HOME, ENTER, DELETE)
    • Tap at specific coordinates
    • Input text into active fields
    • Scroll in any direction (up, down, left, right)

Installation

Install the package globally via npm:

npm install -g android-debug-bridge-mcp

Setup for Different AI Clients

Claude Code (CLI)

Add to your MCP configuration in ~/.claude/mcp.json:

{ "mcpServers": { "android-debug-bridge": { "command": "npx", "args": ["android-debug-bridge-mcp"] } } }

or

claude mcp add --scope project android-debug-bridge-mcp -- npx android-debug-bridge-mcp

Cursor

Add to your MCP configuration in Cursor settings:

  1. Open Cursor Settings
  2. Navigate to Extensions → MCP
  3. Add a new server with:
    • Name: android-debug-bridge
    • Command: npx
    • Args: ["android-debug-bridge-mcp"]

Claude Desktop

Add to your MCP configuration file:

Windows: %APPDATA%\Claude\claude_desktop_config.json macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Linux: ~/.config/Claude/claude_desktop_config.json

{ "mcpServers": { "android-debug-bridge": { "command": "npx", "args": ["android-debug-bridge-mcp"] } } }

Prerequisites

  • Android Debug Bridge (ADB) must be installed and available in your PATH
  • Android device with USB debugging enabled, or Android emulator running
  • Device must be connected and authorized for debugging

Usage

Once configured, you can interact with Android devices through your AI client by asking questions like:

  • "Create a test folder called 'login_test'"
  • "List all apps with 'chrome' in the name"
  • "Open the app com.android.chrome"
  • "Take a screenshot and save it as step '001_homepage'"
  • "Capture the current UI hierarchy in my app"
  • ...

License

MIT

Deploy Server
-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

Enables control of Android devices via ADB for automation and testing. Supports app management, screen capture, UI analysis, and input simulation through natural language commands.

  1. Features
    1. Installation
      1. Setup for Different AI Clients
        1. Claude Code (CLI)
        2. Cursor
        3. Claude Desktop
      2. Prerequisites
        1. Usage
          1. License

            Related MCP Servers

            • -
              security
              A
              license
              -
              quality
              A server enabling programmatic control over Android devices through ADB, providing capabilities like screenshot capture, UI layout analysis, and package management that can be accessed by MCP clients like Claude Desktop.
              Last updated -
              542
              Apache 2.0
              • Apple
            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server that enables AI assistants to interact with Android devices through ADB, allowing for automated device management, app installation, file transfers, and screenshot capture.
              Last updated -
              16
              26
              ISC License
              • Linux
              • Apple
            • A
              security
              A
              license
              A
              quality
              A TypeScript-based bridge between AI models and Android device functionality, enabling interaction with Android devices through ADB commands for tasks like app installation, file transfer, UI analysis, and shell command execution.
              Last updated -
              8
              40
              9
              MIT License
              • Apple
              • Linux
            • -
              security
              F
              license
              -
              quality
              A FastMCP framework-based server providing Android device automation control capabilities, enabling UI interactions, device management, and application control through natural language.
              Last updated -
              9
              • Linux
              • Apple

            View all related MCP servers

            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/TiagoDanin/Android-Debug-Bridge-MCP'

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