ha-adb-mcp

st412m/ha-adb-mcp Checked 2 days ago

Home Assistant app for brickproof-adb: an AI assistant manages your Android TV boxes and phones over ADB, with guard rails.

A Home Assistant app that runs brickproof-adb on your Home Assistant server: Claude and other AI clients look after your Android devices — TV boxes first, phones and tablets too — through the Model Context Protocol, without bricking them. The assistant sees the screen, taps and types, installs and manages apps, moves files and reads logs; every package change is a dry run first, packages a device cannot live without are refused, and everything applied can be rolled back in one call. Home Assistant's built-in MCP Server integration exposes entities and Assist.

Summary extracted from the README.

ADB MCP Server — Home Assistant App

A Home Assistant app that runs brickproof-adb on your Home Assistant server: Claude and other AI clients look after your Android devices — TV boxes first, phones and tablets too — through the Model Context Protocol, without bricking them. The assistant sees the screen, taps and types, installs and manages apps, moves files and reads logs; every package change is a dry run first, packages a device cannot live without are refused, and everything applied can be rolled back in one call.

Home Assistant's built-in MCP Server integration exposes entities and Assist. This app talks to Android over ADB directly, below the level where entities exist, and the two work side by side.

Requirements

Home Assistant OS or Supervised — anything that runs apps through Supervisor
Architecture amd64, aarch64 (Raspberry Pi 4/5)
Network port 3200/tcp; for claude.ai, a public HTTPS address in front of it
Devices Android with network debugging, reachable from the Home Assistant host

Installation

From Home Assistant 2026.2 the menus say Apps and App Store; older versions say Add-ons and Add-on Store.

1. Add this repository

Open your Home Assistant instance and show the add app repository dialog with a specific repository URL pre-filled.

Or by hand: Settings → Apps → App Store → ⋮ → Repositories → + Add, paste https://github.com/st412m/ha-adb-mcp, select Add.

If the badge opens the App Store but no dialog appears, use the manual path.

2. Install and start

Find ADB MCP Server in the store, select Install, leave token empty and select Start. On the first start the app generates a token, writes it into the token field and shows the connector path once in the log.

3. Find your TV

Turn on network debugging on the TV box, connect your assistant (below) and say "find my TV". Confirm the prompt to allow debugging on the TV screen, with "Always allow" checked.

Configuration

Option Default Description
token empty Empty: the app generates a token and saves it here. Clear it and restart for a new one.
devices [] Devices connected at start, ip or ip:port. Usually not needed: the assistant finds and remembers devices.
allow_shell false Lets the assistant run any command on a device, past every guard rail.
allow_uninstall false Lets the assistant uninstall apps instead of only disabling them.
log_requests false Log one line per request and per tool call (secrets masked) for debugging.

Connecting

  • claude.ai and the Claude apps: https://<your-host>/private_<token>/mcp as a custom connector (Settings → Connectors → Add custom connector). claude.ai connects from the internet, so port 3200 must be reachable through HTTPS: a tunnel or a reverse proxy.
  • Claude Code, Cursor and other clients: http://<ha-host>:3200/mcp with the header Authorization: Bearer <token>.

The token is a password: anyone who has it controls your connected devices.

Documentation

Reporting problems

If unsure, open it here.

License

MIT