android-mcp-server
android-mcp-server (android-pilot) is an MCP protocol-based server that controls Android physical devices or emulators via adb, allowing AI agents in MCP clients such as Claude Code, Codex, and OpenCode to read the screen and interact with it. It uses element references (e1, e2, ...) instead of pixel coordinates: snapshot returns a compact text snapshot in which every actionable element carries a ref, and interaction tools accept that ref directly; before executing, the server re-reads the screen and verifies that the element class, resource ID, and label at the same UI tree position match, refusing the operation and requiring a new snapshot if the screen has changed, thereby reducing the fragility of coordinate-based tapping.