Server data from the Official MCP Registry
MCP server giving AI agents eyes and hands inside Android devices via ADB
MCP server giving AI agents eyes and hands inside Android devices via ADB
Valid MCP server (1 strong, 1 medium validity signals). 8 known CVEs in dependencies (5 critical, 1 high severity) Package registry verified. Imported from the Official MCP Registry.
5 files analyzed · 9 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Unverified package source
We couldn't verify that the installable package matches the reviewed source code. Proceed with caution.
Set these up before or after installing:
Environment variable: ADB_EXECUTION_MODE
Environment variable: ADB_ALLOW_SHELL
Environment variable: ADB_PATH
Environment variable: ADB_EXTRA_TOOL_PACKS
Environment variable: ADB_DENIED_TOOLS
Environment variable: ADB_SHELL_ALLOWLIST
Environment variable: ADB_SHELL_DENYLIST
Environment variable: MCP_LOG_ENABLED
Environment variable: MCP_LOG_DIR
Environment variable: ADB_LOG_LEVEL
Environment variable: ADB_COMMAND_TIMEOUT
Environment variable: ADB_SCREENSHOT_TIMEOUT
Environment variable: ADB_UI_CHANGE_TIMEOUT
Environment variable: ADB_UI_CHANGE_POLL_INTERVAL
Environment variable: ADB_AAPT_TIMEOUT
Environment variable: ADB_CONFIG_SOURCE
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-neverlow512-agent-droid-bridge": {
"env": {
"ADB_PATH": "your-adb-path-here",
"MCP_LOG_DIR": "your-mcp-log-dir-here",
"ADB_LOG_LEVEL": "your-adb-log-level-here",
"ADB_ALLOW_SHELL": "your-adb-allow-shell-here",
"MCP_LOG_ENABLED": "your-mcp-log-enabled-here",
"ADB_AAPT_TIMEOUT": "your-adb-aapt-timeout-here",
"ADB_DENIED_TOOLS": "your-adb-denied-tools-here",
"ADB_CONFIG_SOURCE": "your-adb-config-source-here",
"ADB_EXECUTION_MODE": "your-adb-execution-mode-here",
"ADB_SHELL_DENYLIST": "your-adb-shell-denylist-here",
"ADB_COMMAND_TIMEOUT": "your-adb-command-timeout-here",
"ADB_SHELL_ALLOWLIST": "your-adb-shell-allowlist-here",
"ADB_EXTRA_TOOL_PACKS": "your-adb-extra-tool-packs-here",
"ADB_UI_CHANGE_TIMEOUT": "your-adb-ui-change-timeout-here",
"ADB_SCREENSHOT_TIMEOUT": "your-adb-screenshot-timeout-here",
"ADB_UI_CHANGE_POLL_INTERVAL": "your-adb-ui-change-poll-interval-here"
},
"args": [
"agent-droid-bridge"
],
"command": "uvx"
}
}
}From the project's GitHub README.
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.
Purpose-built tools return structured, minimal responses. No raw XML dumps, no wasted context — agents stay fast across long sessions.
The demo above runs through a few straightforward tasks to show what a connected agent can do, and this is just scratching the surface:
Tools
app_manager pack adds 9 tools for package management, app lifecycle, APK extraction, permissions, and intent injection. Load it with ADB_EXTRA_TOOL_PACKS=app_managerDevice handling
Security
unrestricted (full ADB access, optional denylist) and restricted (allowlist-only, blocks everything not explicitly permitted)ADB_ALLOW_SHELL=false to disable all shell commands regardless of modeADB_DENIED_TOOLSshlex. No shell injection possibleObservability
MCP_LOG_ENABLED=true and MCP_LOG_DIRMobile QA and test automation Automate UI flows across real devices and emulators without modifying the app or writing test code. Tap, swipe, type, read screen content, take screenshots — all from a natural language prompt.
App security research Extract APKs, inspect declared permissions, fire arbitrary intents, and observe runtime behavior on screen. No instrumentation, no jailbreak required.
Dynamic analysis Launch apps in controlled states, drive UI interactions, capture screen state at each step, and pull artifacts — all scriptable through an AI agent.
Development and debugging Install builds, verify UI states, check app info, and run ADB commands without leaving your coding environment.
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
{
"mcpServers": {
"agent-droid-bridge": {
"command": "uvx",
"args": ["agent-droid-bridge"],
"env": {
"ADB_EXECUTION_MODE": "unrestricted",
"ADB_ALLOW_SHELL": "true",
"ADB_PATH": "adb",
"ADB_EXTRA_TOOL_PACKS": "",
"MCP_LOG_ENABLED": "false",
"MCP_LOG_DIR": "~/logs/agent-droid-bridge"
}
}
}
}
To enable session logging, set MCP_LOG_ENABLED to "true" and update MCP_LOG_DIR to a writable path on your machine.
| Variable | Default | Description |
|---|---|---|
ADB_EXECUTION_MODE | unrestricted | Security mode. unrestricted allows all shell commands (with optional denylist); restricted allows only commands in ADB_SHELL_ALLOWLIST. |
ADB_ALLOW_SHELL | true | Set to false to block all adb shell commands regardless of execution mode. |
ADB_PATH | adb | Path to the ADB binary. Replace with a full path if adb is not on your system PATH (e.g. C:\platform-tools\adb.exe on Windows). |
ADB_EXTRA_TOOL_PACKS | (empty) | Comma-separated list of extra tool packs to load. Set to app_manager to enable 9 additional app management tools. |
MCP_LOG_ENABLED | false | Set to true to enable session logging. Requires MCP_LOG_DIR. |
MCP_LOG_DIR | (none) | Directory where session logs are written. Required when MCP_LOG_ENABLED is true. |
agent-droid-bridge MCP toolsFull setup guide and environment variable reference: docs/setup.md
| 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 |
check_device_capabilities | Returns structured device information — identity, security posture, and hardware specs — in a single call; supports identity, security, hardware, and all modes |
Optional packs extend the core toolset. Enable them by setting ADB_EXTRA_TOOL_PACKS in your MCP client config. See docs/extra-tool-packs.md.
app_manager
Package management, app lifecycle control, APK extraction, permission management, and intent injection.
| Tool | What it does |
|---|---|
list_packages | Lists installed packages with optional filtering, search, and detail levels |
get_app_info | Returns full static metadata for a single installed app |
install_app | Installs an APK from a host path onto the device |
uninstall_app | Removes an installed app by package name |
pull_apk | Extracts the installed APK from the device to the host |
manage_permission | Grants, revokes, checks, or lists runtime permissions for an app |
launch_app_extra | Launches an app by package name, auto-resolving the launcher activity |
manage_app | Controls app runtime state — stop, clear data, clear cache, enable, disable |
inject_intent | Fires an intent at a component via am start, am broadcast, or am startservice |
Full parameter reference: docs/tools.md
Configure the server entirely from your MCP client's env block. No files to edit. The env block in the Quick Start above covers the most common settings. For the full reference including security filtering, tool visibility, and timeouts, see docs/configuration.md.
To use a YAML config file instead, set ADB_CONFIG_SOURCE=yaml. See docs/configuration.md for details.
Session recording is separate. Enable it with MCP_LOG_ENABLED=true and MCP_LOG_DIR. Full reference: docs/logging.md.
| File | Description |
|---|---|
| docs/setup.md | Prerequisites, installation, and MCP client configuration |
| docs/tools.md | Full parameter reference for all tools |
| docs/configuration.md | Reference for environment variables and adb_config.yaml |
| docs/logging.md | Session recorder — log files, levels, retention, and activation |
| docs/extra-tool-packs.md | Extra tool packs — enabling packs, the pack contract, and writing your own |
| docs/troubleshooting.md | Common setup issues and ADB problems |
| docs/workflows.md | Common multi-tool workflows with examples |
| CHANGELOG.md | Release history and version changes |
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.
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
by Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
by mcp-marketplace · Developer Tools
Scaffold, build, and publish TypeScript MCP servers to npm — conversationally
by mcp-marketplace · Finance
Free stock data and market news for any MCP-compatible AI assistant.