What is Mcp Android Adb Server?
Mcp Android Adb Server is an MCP (Model Context Protocol) service for operating Android devices via ADB (Android Debug Bridge). It is designed for developers who need programmatic control over Android devices, including app management, screen control, input simulation, and device information retrieval.
How to use Mcp Android Adb Server?
Clone the repository, build with go build, then configure the server in your MCP client using a JSON object with the command path and required environment variables, including DEVICE_ID. Optional variables enable screen unlocking and visual model support for screenshot descriptions.
Key features of Mcp Android Adb Server
- App installation, uninstallation, and management via ADB
- Screen locking, unlocking, and status checks
- Text input, key press, tap, and gesture simulation
- Swipe gestures in four directions
- Device information including screen size, DPI, and system info
- Screenshot description using optional visual models (e.g., qwen2.5-vl)
- Execute arbitrary shell commands on the device
Use cases of Mcp Android Adb Server
- Automate app installation and testing on Android devices
- Remotely control device screen for unattended operations
- Simulate user input for UI testing or accessibility scripts
- Retrieve device hardware and software information programmatically
评论