brickproof-adb is an MCP (Model Context Protocol) server designed to let AI assistants safely manage Android devices via ADB, especially TV boxes, while also supporting phones and tablets. It provides access to device screens, input, and the package manager, and uses safeguards to prevent accidental operations from bricking devices.
Main capabilities include: device discovery and connection (supporting network discovery and USB connection), screen capture and UI element dumps, tap/swipe/key/text input, finding and tapping elements by label, installing APKs or distribution packages (dry-run by default), uninstalling apps, package operations (enable/disable/restore, etc., with safeguards, snapshots, and rollback), file push and pull, shell commands (disabled by default), log viewing, and more—18 tools in total.
Usage: Developer options and debugging must be enabled on the device. Installation options are varied: the Home Assistant app, the Claude Desktop extension (.mcpb file), the Claude Code command (claude mcp add brickproof-adb -- npx -y brickproof-adb), other MCP clients using npx -y brickproof-adb, the Docker image ghcr.io/st412m/brickproof-adb, or running over HTTP via brickproof-adb serve. Requires Node.js 22.17+ (except for some methods) and the adb tool.
Safety safeguards: dry-run by default, a protected package set read from the device, a network guard, an account canary check, one-click snapshot rollback, and adb_shell and uninstall disabled by default and requiring manual enablement.
Limitations: ADB is not a sandbox; once allow_shell is enabled, shell commands can bypass all safeguards; network discovery is limited to the same network, and in Docker and Home Assistant only TV boxes on port 5555 are discovered; screenshots of sleeping devices are black, and FLAG_SECURE content appears as black frames; snapshots are only valid on the machine that created them; in Docker, USB devices are limited to Linux hosts.