SuperAPI AI Directory

agent-droid-bridge

Control Android devices and emulators via ADB: UI inspection, screen interaction, ADB commands and change detection.

Open website

About this tool

Agent Droid Bridge is an MCP server used to connect AI agents to Android devices and emulators, communicating through ADB underneath. It targets mobile automation, app testing, dynamic analysis, and reverse engineering, exposing the full capabilities of ADB as structured tools that any MCP-compatible AI client can call directly.

Uses

  • Mobile QA and test automation: Without modifying the app or writing test code, natural language prompts can automatically execute UI flows on real devices and emulators, including tapping, swiping, typing, reading screen content, and taking screenshots.
  • App security research: Extract APKs, inspect declared permissions, trigger arbitrary intents, and observe runtime behavior on screen, without instrumentation or jailbreaking.
  • Dynamic analysis: Launch apps in a controlled state, drive UI interactions, capture screen states step by step, and pull artifacts, all scriptable through AI agents.
  • Development and debugging: Install builds, verify UI state, inspect app information, and run ADB commands without leaving the coding environment.

Main capabilities

  • 14 built-in tools: screenshots, UI inspection, text reading, element extraction, touch and swipe input, text input, key events, app launch, ADB commands, device inspection.
  • The app_manager extra toolkit provides 9 tools: package management, app lifecycle, APK extraction, permission management, and intent injection. Loaded via the environment variable ADB_EXTRA_TOOL_PACKS=app_manager.
  • Tool availability is reflected in the server startup description, and agents get an accurate catalog when connecting.
  • Returns structured, concise responses instead of raw XML dumps, avoiding wasted context and keeping agents efficient in long sessions.

Device handling and execution modes

  • Automatically detects a single connected device; when multiple devices are present, prompts for selection.
  • Runs via stdio and is compatible with any AI client that supports MCP.
  • Two execution modes: unrestricted mode (full ADB access, optional denylist) and restricted mode (allowlist only, blocking all operations not explicitly allowed).
  • Setting ADB_ALLOW_SHELL to false disables all shell commands, regardless of mode.
  • ADB_DENIED_TOOLS can be used to hide specific tools from the agent.

Security and logging

  • All commands are parsed via shlex, so there is no possibility of shell injection.
  • An optional session logger can record every tool call, ADB command, and security event to a structured JSONL file; enabled via MCP_LOG_ENABLED=true and MCP_LOG_DIR.
  • The server is configured entirely through the MCP client's env block, with no file editing required; ADB_CONFIG_SOURCE=yaml can also be set to use a YAML configuration file.

Usage No cloning or virtual environment required. Requires Python 3.11+ and ADB installed on the host machine. uvx is provided by uv; if not available, you can run curl -LsSf https://astral.sh/uv/install.sh | sh. For installing from source, see Option B in docs/setup.md. Verify the installation with: uvx agent-droid-bridge --help. Then install ADB, connect an Android device or start an emulator, and add the server to the MCP client configuration. To enable session logging, set MCP_LOG_ENABLED to true and update MCP_LOG_DIR to a writable path. Prompt the agent to use the agent-droid-bridge MCP tools. For the full setup guide and environment variable reference, see docs/setup.md; for the tool parameter reference, see docs/tools.md; for full configuration such as security filtering, tool visibility, and timeouts, see docs/configuration.md; for the logging reference, see docs/logging.md.

Limitations Official materials do not provide specific information such as fees, pricing, platform coverage, or performance results, so none is available for now. For contribution guidelines, see CONTRIBUTING.md; for the security vulnerability reporting process, see SECURITY.md; do not report via public issues.