agent-droid-bridge▌

by Neverlow512
Agent Droid Bridge gives AI agents programmatic control over Android devices and emulators via ADB, exposed as an MCP se
An MCP server that connects AI agents to Android devices and emulators over ADB for mobile automation, app testing, and reverse engineering.
best for
- / General purpose MCP workflows
capabilities
- / get_ui_hierarchy
- / take_screenshot
- / tap_screen
- / swipe_screen
- / type_text
- / press_key
what it does
An MCP server that connects AI agents to Android devices and emulators over ADB for mobile automation, app testing, and reverse engineering.
about
agent-droid-bridge is a community-built MCP server published by Neverlow512 that provides AI assistants with tools and capabilities via the Model Context Protocol. Agent Droid Bridge gives AI agents programmatic control over Android devices and emulators via ADB, exposed as an MCP se It is categorized under search web. This server exposes 13 tools that AI clients can invoke during conversations and coding sessions.
how to install
You can install agent-droid-bridge in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
license
MIT
agent-droid-bridge is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
readme
Agent Droid Bridge
Agent Droid Bridge is an MCP server that connects AI agents to Android devices and emulators over ADB. It is built for mobile automation, app testing, dynamic analysis, and reverse engineering: exposing the full surface of ADB as structured tools that any MCP-compatible AI client can call directly. If ADB can do it, an agent can do it.
⭐ If you like the project, a star helps others find it. ⭐
Note: Purpose-built tools return structured, minimal responses instead of raw XML dumps, keeping agent workflows fast and context consumption low, while keeping performance high.
Demo
The demo above runs through a few straightforward tasks to show what a connected agent can do, and this is just scratching the surface:
- Installs the Paint app, opens it, and draws a house by calculating pixel coordinates for the walls and roof
- Opens the device browser, searches for "MCP Wikipedia", navigates to the result page, and takes a screenshot
- Opens the Calculator, computes 1337 × 42, and extracts the result to the host machine
- Opens Contacts, creates a new entry with a name and phone number, and confirms it saved
- Opens the Calendar and schedules an appointment for a specific date
- Opens Settings and toggles dark mode
- Extracts the Calculator APK from the device to the host machine
- Installs Notepad, writes a one-sentence summary of every task completed, and takes a final screenshot
What it does
- Exposes 13 MCP tools covering screen capture, UI inspection, screen reading, element extraction, touch and swipe input, text entry, keycode events, app launching, and arbitrary ADB commands
- Auto-detects the connected device when only one is present; presents a device list and requires the user to choose when multiple are connected
- All commands parsed via
shlex— no shell injection possible - Runs over stdio, compatible with any MCP-capable AI client
- Purpose-built screen reading and element extraction tools return structured, minimal responses — a fraction of the size of a raw XML hierarchy — keeping agent context lean across long automation runs
- Two execution modes:
unrestricted(default, with optional shell denylist) andrestricted(allowlist-only — only explicitly permitted shell commands are allowed); setADB_EXECUTION_MODE=restrictedto enable - Set
ADB_ALLOW_SHELL=falseto block alladb shellcommands entirely, regardless of mode - Add tool names to
tools.deniedinadb_config.yamlto hide specific MCP tools from the agent at server startup — all filtering enforced at the server level
Install
uvx agent-droid-bridge
No cloning or virtual environments needed. Requires Python 3.11+ and ADB installed on your host.
uvx is provided by uv. If you don't have it: curl -LsSf https://astral.sh/uv/install.sh | sh
To install from source instead, see docs/setup.md — Option B.
To verify the install: uvx agent-droid-bridge --help
Quick start
- Install ADB — see docs/setup.md for platform-specific instructions
- Connect an Android device or start an emulator
- Add the server to your MCP client config:
{
"mcpServers": {
"agent-droid-bridge": {
"command": "uvx",
"args": ["agent-droid-bridge"],
"env": {
"ADB_EXECUTION_MODE": "unrestricted",
"ADB_ALLOW_SHELL": "true"
}
}
}
}
- Prompt your agent to use the
agent-droid-bridgeMCP tools
Full setup guide: docs/setup.md
Tools
| Tool | What it does |
|---|---|
get_ui_hierarchy | Returns the current screen as an XML UI hierarchy |
take_screenshot | Captures the screen as a base64-encoded PNG |
tap_screen | Sends a tap gesture at pixel coordinates |
swipe_screen | Sends a swipe gesture between two points over a given duration |
type_text | Types text into the focused input field |
press_key | Sends an Android keycode event (Back, Home, Enter, etc.) |
launch_app | Launches an app by its package/activity component name |
execute_adb_command | Runs an arbitrary ADB or ADB shell command |
list_devices | Lists all Android devices currently visible to ADB with their serial, state, and model |
snapshot_ui | Takes a lightweight UI snapshot and returns a token for use with detect_ui_change |
detect_ui_change | Polls for a UI change after an action; accepts a snapshot token as baseline; returns hierarchy only when requested |
get_screen_elements | Parses the UI hierarchy and returns structured elements with coordinates and interaction properties; supports tappable, interactive, input, and all modes |
get_screen_text | Returns all visible text on screen sorted top-to-bottom, as plain text |
Full parameter reference: docs/tools.md
Configuration
The server is configurable via adb_config.yaml and environment variables. Tuneable parameters include the ADB binary path, command timeouts, log level, execution mode, shell filtering rules, and tool visibility. Full reference: docs/configuration.md.
Documentation
| File | Description |
|---|---|
| docs/setup.md | Prerequisites, installation, and MCP client configuration |
| docs/tools.md | Full parameter reference for all 13 tools |
| docs/configuration.md | Reference for adb_config.yaml and environment variables |
Contributing
Contributions are welcome. See CONTRIBUTING.md for guidelines on setup, code standards, and submitting pull requests.
To report a security vulnerability, follow the process in SECURITY.md — do not open a public issue.
Star History
<!-- mcp-name: io.github.Neverlow512/agent-droid-bridge -->FAQ
- What is the agent-droid-bridge MCP server?
- agent-droid-bridge is a Model Context Protocol (MCP) server profile on explainx.ai. MCP lets AI hosts (e.g. Claude Desktop, Cursor) call tools and resources through a standard interface; this page summarizes categories, install hints, and community ratings.
- How do MCP servers relate to agent skills?
- Skills are reusable instruction packages (often SKILL.md); MCP servers expose live capabilities. Teams frequently combine both—skills for workflows, MCP for APIs and data. See explainx.ai/skills and explainx.ai/mcp-servers for parallel directories.
- How are reviews shown for agent-droid-bridge?
- This profile displays 10 aggregated ratings (sample rows for discoverability plus signed-in user reviews). Average score is about 4.5 out of 5—verify behavior in your own environment before production use.
Ratings
4.5★★★★★10 reviews- ★★★★★Shikha Mishra· Oct 10, 2024
agent-droid-bridge is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
- ★★★★★Piyush G· Sep 9, 2024
We evaluated agent-droid-bridge against two servers with overlapping tools; this profile had the clearer scope statement.
- ★★★★★Chaitanya Patil· Aug 8, 2024
Useful MCP listing: agent-droid-bridge is the kind of server we cite when onboarding engineers to host + tool permissions.
- ★★★★★Sakshi Patil· Jul 7, 2024
agent-droid-bridge reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
- ★★★★★Ganesh Mohane· Jun 6, 2024
I recommend agent-droid-bridge for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
- ★★★★★Oshnikdeep· May 5, 2024
Strong directory entry: agent-droid-bridge surfaces stars and publisher context so we could sanity-check maintenance before adopting.
- ★★★★★Dhruvi Jain· Apr 4, 2024
agent-droid-bridge has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
- ★★★★★Rahul Santra· Mar 3, 2024
According to our notes, agent-droid-bridge benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
- ★★★★★Pratham Ware· Feb 2, 2024
We wired agent-droid-bridge into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
- ★★★★★Yash Thakker· Jan 1, 2024
agent-droid-bridge is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.
