adb-mcp
2
ADB MCP Server is a tool for interfacing AI models with Android devices using ADB. It supports device management, app installation, logging, and UI interaction. The project is TypeScript-based and designed for interaction through features like shell command execution and file transfer.
ADB MCP Server
An MCP server for interacting with Android devices via ADB. This tool, written in TypeScript, connects AI models with Android device functionality, offering features like device management, app installation, logging, file transfer, UI interaction, and shell command execution.
Features
- Device Management: Interact with Android devices
- App Installation: Deploy APK files
- Logging: Access device logs
- File Transfer: Push and pull files
- UI Interaction: Capture screenshots and analyze UI
- Shell Command Execution: Run custom commands
Prerequisites
- Node.js v16 or higher
- ADB installed
- Connected Android device or emulator with USB debugging enabled
Usage
- Start the server with
npx adb-mcp
- Access tools like
adb_devices
,adb_install
, and more
Troubleshooting
- Ensure server is running and device connections are verified
Compatibility
- Supports Android 8.0+
- Runs on POSIX compatible systems