brickproof-adb 0.0.0-stage → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/LICENSE +21 -0
- package/PRIVACY.md +31 -0
- package/README.md +151 -2
- package/package.json +41 -4
- package/src/adb.js +376 -0
- package/src/apps.js +1156 -0
- package/src/body.js +73 -0
- package/src/cli.js +502 -0
- package/src/config.js +632 -0
- package/src/device.js +669 -0
- package/src/discover.js +315 -0
- package/src/files.js +453 -0
- package/src/hostpath.js +110 -0
- package/src/http.js +326 -0
- package/src/image.js +209 -0
- package/src/main.js +7 -0
- package/src/platform-tools.js +258 -0
- package/src/registry.js +334 -0
- package/src/server.js +163 -0
- package/src/session.js +388 -0
- package/src/stdio.js +51 -0
- package/src/token.js +114 -0
- package/src/ui.js +942 -0
- package/src/version.js +10 -0
- package/src/watcher.js +188 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 1.1.0 — 2026-12-06
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
- **Remembered devices stay connected.** Every `reconnect_interval` seconds (new setting, default 60, `0` turns it off) the server runs one `adb devices` and reconnects the remembered devices and the `devices` of the settings that are missing or `offline`. A TV that restarted, lost power or dropped off the Wi-Fi comes back without a tool call, and the Android TV integration of Home Assistant picks it up on its next retry, without a reload. A device that asks to allow debugging is not asked again every minute: its address is paused until the device allows this computer, `adb_connect` or a restart, and `adb_devices` marks it. `adb_devices` also lists the addresses of the `devices` setting that are not connected. One line in stderr per reconnect and per pause; a failure only when a series of failures starts and ends.
|
|
7
|
+
- **Privacy policy.** `PRIVACY.md` says what the server keeps on your computer, the one thing it downloads and where screenshots and other device data go; the README and the Claude Desktop extension link to it.
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
- **HTTP request body limit of 1 MiB.** A larger body gets 413 with a JSON-RPC error and `Connection: close`, and the client receives that answer rather than a reset connection. The body is still read only after the token check. No tool needs a larger body: files go by path.
|
|
11
|
+
- **`adb_disconnect` without `host`** keeps the remembered addresses, as before, and now also stops reconnecting them in the background until `adb_connect` to each or a restart. `adb_disconnect` of an address that comes from the `devices` setting, which cannot be forgotten, stops reconnecting it the same way.
|
|
12
|
+
- The start line and `brickproof-adb check` show `reconnect_interval`.
|
|
13
|
+
|
|
14
|
+
## 1.0.0 — 2026-10-21
|
|
15
|
+
|
|
16
|
+
Continues ha-adb-mcp 1.4.0: the same server and the same 18 tools, now a standalone npm package that runs on Windows, macOS and Linux, in Docker and as the Home Assistant app, with devices over USB and over the network.
|
|
17
|
+
|
|
18
|
+
### Added
|
|
19
|
+
- **Runs anywhere Node runs.** `brickproof-adb` with no command is an MCP server on stdio for Claude Desktop, Claude Code and other local clients; `brickproof-adb serve` is MCP over Streamable HTTP. Only `adb` is needed next to it: the screenshot pipeline is plain JavaScript, no ImageMagick, no native modules.
|
|
20
|
+
- **Claude Desktop extension.** `brickproof-adb-1.0.0.mcpb` in the release installs with a short form (folders, safety switches, optional TV addresses) and needs no Node.js of its own.
|
|
21
|
+
- **Finding devices.** `adb_devices discover=true` finds phones with Wireless debugging (mDNS, through adb) and TV boxes with network debugging (port 5555 in the home network), and says the next step for each; it connects nothing.
|
|
22
|
+
- **Remembered devices.** A device connected with `adb_connect` is connected again at every start, and a new address of the same device replaces the old one; `adb_disconnect` with its address forgets it. When a remembered device drops during a call, the server reconnects once.
|
|
23
|
+
- **What can be installed.** `adb_install` without a path lists the APKs and bundles in the file folders, newest first, and installs nothing: "install what I just downloaded" works without knowing the file name.
|
|
24
|
+
- **adb found by itself** where Android Studio, WinGet, Homebrew or the system put it; **`brickproof-adb get-adb`** downloads Google's Platform-Tools after asking.
|
|
25
|
+
- **No settings file needed.** Files go to and from the Downloads folder by default. **`brickproof-adb set <key> <value>`** writes a setting; a refusal of a switched-off feature says where to turn it on.
|
|
26
|
+
- **`brickproof-adb check`** prints the settings, every adb on the machine with its version (and warns when they differ), a test run of the image pipeline with its timings, each file root, the snapshot store and the connected devices; `--offline` skips the devices. Exit code 1 on any problem.
|
|
27
|
+
- **Token for HTTP.** Generated on the first start and shown once; `brickproof-adb token` shows it again, `--new` replaces it. Accepted as the secret path `/private_<token>/mcp` or as `Authorization: Bearer <token>` on `/mcp`. A wrong path gets an empty 404, a wrong Bearer token 401. On a localhost bind a foreign `Host` or `Origin` gets 403; `allowed_hosts` names a tunnel's public host.
|
|
28
|
+
- **Protocol version header.** An unsupported `MCP-Protocol-Version` is refused with 400 and JSON-RPC error -32600; no header, or `initialize`, passes.
|
|
29
|
+
- **File roots.** `adb_push`, `adb_pull` and `adb_install` use only the host directories in `file_roots`. A path outside them, a sibling directory whose name starts like a root, or a symlink or junction leading out is refused; Windows and macOS compare without regard to letter case.
|
|
30
|
+
- **Another adb on the machine.** When a different adb restarts the adb server (Android Studio, scrcpy and vendor tools bring their own), the tool result says so and what to do.
|
|
31
|
+
- **Docker image** `ghcr.io/st412m/brickproof-adb` for linux/amd64 and linux/arm64, with adb; `compose.example.yaml` shows a complete setup. USB devices work on a Linux host.
|
|
32
|
+
|
|
33
|
+
### Changed
|
|
34
|
+
- **Snapshots belong to the device, not to the connection.** One device over USB, over `ip:5555` and over wireless debugging shares one snapshot, so `adb_app action=restore` finds what was done over another connection. Snapshots of ha-adb-mcp 1.x are still read. A device without a usable serial number keeps a snapshot per connection, and the result says so.
|
|
35
|
+
- **`allow_shell` is off by default.** `adb_shell` bypasses every guard rail; turn it on when you need it.
|
|
36
|
+
- **A damaged snapshot file stops the call** before anything happens on the device; it is moved aside and kept, and `adb_app action=state` lists it.
|
|
37
|
+
- **`adb_ui_dump` leaves no files behind** on the device, also after a timeout: dump files older than two minutes are removed before the next dump.
|
|
38
|
+
- **Tool descriptions** say when to use a tool rather than its neighbour, and which tool undoes it; parameters have descriptions.
|
|
39
|
+
- Refusals name this server's settings (`allow_shell`, `allow_uninstall`, `file_roots`, `store`) instead of the Home Assistant options.
|
|
40
|
+
|
|
41
|
+
### Fixed
|
|
42
|
+
- `adb_text` types quotes, backslashes and shell characters as they are; ha-adb-mcp 1.x put a stray backslash before `'`, `&`, `;` and others.
|
|
43
|
+
- `adb_text` with non-Latin text checks that ADBKeyBoard really became the input method, before and after typing; ha-adb-mcp 1.x reported the text as typed while a connected Google TV remote held the keyboard and nothing arrived.
|
|
44
|
+
- `adb_text` no longer says "Typed" when no on-screen keyboard is shown: the text is still sent, and the answer says it may have gone nowhere.
|
|
45
|
+
- `adb_find_and_tap` on a TV box picks the DPAD axis by where the target lies, not by the centres alone, and tries the other axis once before it gives up.
|
|
46
|
+
- `adb_ui_dump` tries once more after "null root node".
|
|
47
|
+
- `adb_app` and `adb_uninstall` count a change by the package list read afterwards, not by what `pm` prints: some firmware answers `pm disable-user` with a warning and does not always apply it, and ha-adb-mcp 1.x recorded it as applied either way.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 st412m
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/PRIVACY.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Privacy Policy
|
|
2
|
+
|
|
3
|
+
Last updated: 2026-12-06
|
|
4
|
+
|
|
5
|
+
brickproof-adb collects no data. It has no telemetry, no analytics and no account, and it sends nothing to its author or to anyone else. Everything it keeps stays on the computer that runs it and on your own devices.
|
|
6
|
+
|
|
7
|
+
## What it keeps on your computer
|
|
8
|
+
|
|
9
|
+
- **Settings:** `config.json` in the configuration directory, written only by you or by `brickproof-adb set`. The Claude Desktop extension and the Home Assistant app keep their settings in their own forms.
|
|
10
|
+
- **Remembered devices:** `devices.json` in the state directory: the network address of each device connected with `adb_connect`, with its model and serial number, so it can be connected again at start.
|
|
11
|
+
- **Snapshots:** in `<state_dir>/snapshots` (the `store` setting), one directory per device named by its model and serial number: `state.json` with the package changes made through `adb_app`, and the APK backups it makes before an uninstall or when asked.
|
|
12
|
+
- **Token:** `<state_dir>/token`, the secret of the HTTP server (`brickproof-adb serve` only).
|
|
13
|
+
- **adb:** `<state_dir>/platform-tools` when you download adb with `brickproof-adb get-adb`.
|
|
14
|
+
- **The adb key:** adb itself keeps the key your devices trust in `~/.android/adbkey` (in Docker `/data/.android/adbkey`).
|
|
15
|
+
- **Files you ask for:** `adb_pull` writes into the folders of `file_roots`, and nowhere else.
|
|
16
|
+
- **Temporary files:** screenshots and unpacked app bundles go through directories named `brickproof-*` in the system temp directory and are removed when the call ends.
|
|
17
|
+
|
|
18
|
+
[configuration.md](docs/configuration.md#where-settings-come-from) says where the configuration and state directories are on each system. Logs go to the standard error stream only, never to a file of their own; tool arguments appear there only with `log_requests` on, which is off by default.
|
|
19
|
+
|
|
20
|
+
## What it sends over the network
|
|
21
|
+
|
|
22
|
+
- **Your devices:** adb talks to the devices you connect, over USB or your local network. `adb_devices discover=true`, only when you ask, checks port 5555 of the addresses in your local network.
|
|
23
|
+
- **One download:** `brickproof-adb get-adb` downloads Google's Android SDK Platform-Tools from `dl.google.com`, after you accept Google's terms: https://developer.android.com/studio/releases/platform-tools. Google's terms and privacy policy apply to that download. Nothing else is fetched.
|
|
24
|
+
|
|
25
|
+
## What your AI client receives
|
|
26
|
+
|
|
27
|
+
Screenshots, lists of on-screen elements, log lines, file contents and every other tool result go only to the MCP client you connected brickproof-adb to, such as Claude Desktop or Claude Code. What that client does with them is governed by its own privacy policy.
|
|
28
|
+
|
|
29
|
+
## Contact
|
|
30
|
+
|
|
31
|
+
Questions about this policy: [GitHub issues](https://github.com/st412m/brickproof-adb/issues).
|
package/README.md
CHANGED
|
@@ -1,3 +1,152 @@
|
|
|
1
|
-
|
|
1
|
+
<img src="https://raw.githubusercontent.com/st412m/brickproof-adb/main/icon.png" alt="" width="96" height="96">
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
# brickproof-adb
|
|
4
|
+
|
|
5
|
+
Let an AI assistant look after your own Android devices — TV boxes first, phones and tablets too — over ADB, without bricking them.
|
|
6
|
+
|
|
7
|
+
brickproof-adb is an MCP server. It gives Claude (or any MCP client) the screen, the input and the package manager of your devices, and puts guard rails where a careless call would hurt: every package change is a dry run first, the packages a device cannot live without are read off the device and refused, a package that serves something on your network right now is not touched, and everything applied goes into a snapshot that one call rolls back.
|
|
8
|
+
|
|
9
|
+
It runs on Windows, macOS and Linux, in Docker, and as a Home Assistant app; devices connect over USB or the network.
|
|
10
|
+
|
|
11
|
+
## What it looks like
|
|
12
|
+
|
|
13
|
+
**Finding the TV.**
|
|
14
|
+
|
|
15
|
+
> **You:** Find my TV.
|
|
16
|
+
>
|
|
17
|
+
> **Claude** calls `adb_devices discover=true`. Nothing is connected yet; the search looks for devices that announce debugging and for port 5555 on the home network:
|
|
18
|
+
>
|
|
19
|
+
> ```
|
|
20
|
+
> Found:
|
|
21
|
+
> 192.0.2.50:5555 (port 5555 open, network debugging) - adb_connect host=192.0.2.50:5555; if this computer is new to the device, it asks on its screen to allow debugging
|
|
22
|
+
> ```
|
|
23
|
+
>
|
|
24
|
+
> **Claude:** I found one device at 192.0.2.50. Shall I connect? The TV will ask whether to allow debugging.
|
|
25
|
+
>
|
|
26
|
+
> **You:** Yes.
|
|
27
|
+
>
|
|
28
|
+
> **Claude** calls `adb_connect host=192.0.2.50:5555`; you confirm the prompt to allow debugging on the TV screen, with "Always allow" checked. The address is remembered, and the server keeps it connected: after the TV or the server restarts, it is back within a minute.
|
|
29
|
+
|
|
30
|
+
**Installing what you just downloaded.**
|
|
31
|
+
|
|
32
|
+
> **You:** Install on the TV the app I just downloaded.
|
|
33
|
+
>
|
|
34
|
+
> **Claude** calls `adb_install` without a path and gets the newest installable files of your Downloads folder, then `adb_install` with the first one: a report of what would be installed on which device. After your yes, the same call with `dry_run=false` installs it.
|
|
35
|
+
|
|
36
|
+
**Cleaning up a TV box.**
|
|
37
|
+
|
|
38
|
+
> **You:** The box is slow. Turn off the preinstalled junk, but nothing it needs.
|
|
39
|
+
>
|
|
40
|
+
> **Claude** calls `adb_app action=list filter=system`, picks five packages and calls `adb_app action=disable` with them. That is a dry run by default: the plan comes back with the rollback path of each package — and one package refused, because the box uses it as its launcher:
|
|
41
|
+
>
|
|
42
|
+
> ```
|
|
43
|
+
> REFUSED: the list contains protected packages - com.example.launcher.
|
|
44
|
+
> com.example.launcher — launcher, roles (HOME)
|
|
45
|
+
> The full set with every source: adb_app action=protected
|
|
46
|
+
> Nothing was applied. Remove them from the list by hand; the tool has no override.
|
|
47
|
+
> ```
|
|
48
|
+
>
|
|
49
|
+
> **Claude** drops it, runs the plan for the other four, then repeats it with `dry_run=false`. The account count and the launcher are checked after the batch, and the four packages are recorded in the snapshot.
|
|
50
|
+
>
|
|
51
|
+
> **You:** The voice remote stopped working.
|
|
52
|
+
>
|
|
53
|
+
> **Claude** calls `adb_app action=restore`, reads the plan and repeats it with `dry_run=false`: the four packages are enabled again in one call.
|
|
54
|
+
|
|
55
|
+
**Seeing the screen and tapping.**
|
|
56
|
+
|
|
57
|
+
> **You:** Open the network settings on the phone.
|
|
58
|
+
>
|
|
59
|
+
> **Claude** calls `adb_screenshot`, gets the picture and the line under it:
|
|
60
|
+
>
|
|
61
|
+
> ```
|
|
62
|
+
> screen 1080x2340 -> image 473x1024 · scale 2.283/2.285 · pass coords="screenshot" to adb_tap/adb_swipe
|
|
63
|
+
> ```
|
|
64
|
+
>
|
|
65
|
+
> and taps the "Network & internet" row it sees, with `adb_tap coords="screenshot"`, in the image's own coordinates. On a TV box without a touchscreen it uses `adb_find_and_tap text="Network"`, which walks the focus there with the remote's keys.
|
|
66
|
+
|
|
67
|
+
## Install it where your AI is
|
|
68
|
+
|
|
69
|
+
Details, other setups and checks: [docs/installation.md](docs/installation.md). An AI app without MCP support cannot use this server.
|
|
70
|
+
|
|
71
|
+
- **Home Assistant** — install the [ha-adb-mcp](https://github.com/st412m/ha-adb-mcp) app. It is reachable from a browser chat through your Home Assistant's external address.
|
|
72
|
+
- **Claude Desktop** (Windows, macOS) — download the `.mcpb` file from the [latest release](https://github.com/st412m/brickproof-adb/releases/latest) and drag it into the Claude Desktop window, or choose it in Settings → Extensions → Advanced settings → Install Extension… (a double click works too, unless an archiver opens the file instead); Claude Desktop shows a short form and installs it. No Node.js needed. A JSON configuration instead: [docs/installation.md](docs/installation.md#claude-desktop).
|
|
73
|
+
- **Claude Code**:
|
|
74
|
+
|
|
75
|
+
```
|
|
76
|
+
claude mcp add brickproof-adb -- npx -y brickproof-adb
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
- **Other MCP clients on your computer** — the server command is `npx -y brickproof-adb`.
|
|
80
|
+
- **A chat in the browser without Home Assistant** — needs a computer at home that stays on, running `brickproof-adb serve`, behind a public HTTPS address: [docs/installation.md](docs/installation.md#a-browser-chat-without-home-assistant).
|
|
81
|
+
- **Docker** — `ghcr.io/st412m/brickproof-adb`: [docs/installation.md](docs/installation.md#docker).
|
|
82
|
+
|
|
83
|
+
## First run
|
|
84
|
+
|
|
85
|
+
1. **Turn on debugging on the device.** Android TV, Google TV, Fire TV and phones hide it under Developer options, which appear after tapping the build number seven times in the About screen of the settings. There: USB debugging for a cable; Network debugging or ADB debugging on many TV boxes; Wireless debugging on a phone with Android 11 or newer.
|
|
86
|
+
2. **Tell the assistant "find my TV"** (or phone). It searches the network and suggests what to connect; a phone on a cable shows up by itself.
|
|
87
|
+
3. **Confirm the prompt to allow debugging on the device screen**, with "Always allow" checked. A phone over Wi-Fi asks for the pairing code shown on its screen instead.
|
|
88
|
+
|
|
89
|
+
Defaults that need no setting: files go to and from your Downloads folder, connected devices are remembered, and adb is found by itself (or `brickproof-adb get-adb` downloads it).
|
|
90
|
+
|
|
91
|
+
## Requirements
|
|
92
|
+
|
|
93
|
+
- Node.js 22.17 or newer — for every setup except the Claude Desktop extension, Home Assistant and Docker.
|
|
94
|
+
- adb (Android SDK Platform-Tools): found by itself where Android Studio, WinGet, Homebrew or your system put it, or downloaded with `brickproof-adb get-adb`. Docker and Home Assistant bring their own.
|
|
95
|
+
- A device with debugging on, over USB or the network.
|
|
96
|
+
|
|
97
|
+
## Connecting
|
|
98
|
+
|
|
99
|
+
Over stdio (Claude Desktop, Claude Code) there is nothing to connect: the client starts the server. Over HTTP (`brickproof-adb serve`) the token goes either in the path or in a header:
|
|
100
|
+
|
|
101
|
+
```
|
|
102
|
+
https://<your-host>/private_<token>/mcp
|
|
103
|
+
Authorization: Bearer <token>
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
The token is generated on the first start; `brickproof-adb token` shows it again, `brickproof-adb token --new` replaces it. See [docs/security.md](docs/security.md).
|
|
107
|
+
|
|
108
|
+
## Tools
|
|
109
|
+
|
|
110
|
+
18 tools. Semantics, refusals and time limits: [docs/tools.md](docs/tools.md); screen geometry and input: [docs/screen-and-input.md](docs/screen-and-input.md).
|
|
111
|
+
|
|
112
|
+
- `adb_devices` — connected and remembered devices; `discover=true` searches the network
|
|
113
|
+
- `adb_connect` — connect a network device, `ip` or `ip:port`; remembered for the next start
|
|
114
|
+
- `adb_disconnect` — drop one network device (and forget it), or all
|
|
115
|
+
- `adb_pair` — pair an Android 11+ device over Wireless debugging
|
|
116
|
+
- `adb_shell` — any shell command; off unless `allow_shell` is set
|
|
117
|
+
- `adb_logcat` — recent log lines, filtered on the device
|
|
118
|
+
- `adb_screenshot` — the screen as JPEG, with the scale to tap by
|
|
119
|
+
- `adb_ui_dump` — on-screen elements with tap coordinates
|
|
120
|
+
- `adb_tap` — tap a point, in screen or screenshot coordinates
|
|
121
|
+
- `adb_swipe` — swipe or long-press
|
|
122
|
+
- `adb_key` — a key press (HOME, BACK, DPAD_CENTER…)
|
|
123
|
+
- `adb_text` — type into the focused field, Unicode through ADBKeyBoard
|
|
124
|
+
- `adb_find_and_tap` — find an element by its label and activate it
|
|
125
|
+
- `adb_install` — install an APK, a split set or an `.apks`/`.xapk`/`.apkm` bundle; dry run by default; without a path, lists what can be installed
|
|
126
|
+
- `adb_uninstall` — remove an app by package name
|
|
127
|
+
- `adb_app` — package operations with guard rails, snapshot and rollback
|
|
128
|
+
- `adb_push` — copy a file to the device
|
|
129
|
+
- `adb_pull` — copy a file from the device
|
|
130
|
+
|
|
131
|
+
## Safety
|
|
132
|
+
|
|
133
|
+
What protects your devices, and what does not: [docs/safety.md](docs/safety.md). In short: dry runs by default, a protected set read off the device, a network guard on live services, an account canary between batches, a snapshot with one-call rollback, and `adb_shell` and uninstalling off until you turn them on. No tool changes these switches; you do, with `brickproof-adb set` or in the settings of your app.
|
|
134
|
+
|
|
135
|
+
## Limitations
|
|
136
|
+
|
|
137
|
+
- ADB is not a sandbox. With `allow_shell` on, `adb_shell` can do anything the device's shell user can, past every guard.
|
|
138
|
+
- The search finds devices on the same network only: a guest network, Wi-Fi client isolation or separate VLANs hide them. In Docker and Home Assistant only TV boxes on port 5555 are found; phones connect by the address on their screen.
|
|
139
|
+
- The tool list is cached per chat; after an update start a new chat.
|
|
140
|
+
- A screenshot of a sleeping device is a dark frame, and the answer says `screen: Asleep`; `adb_key key=WAKEUP` wakes it, and HDMI-CEC may then switch on the television.
|
|
141
|
+
- Content protected with FLAG_SECURE (streaming players, banking apps) shows as a black frame.
|
|
142
|
+
- Snapshots live on the machine that made them: a rollback has to run where the change was made.
|
|
143
|
+
- USB devices in Docker work only on a Linux host.
|
|
144
|
+
|
|
145
|
+
## Privacy Policy
|
|
146
|
+
|
|
147
|
+
brickproof-adb collects no data and has no telemetry: settings, remembered devices and snapshots stay on your computer, and tool results go only to the AI client you connected.
|
|
148
|
+
The one download, `brickproof-adb get-adb`, comes from Google. Details: [PRIVACY.md](PRIVACY.md).
|
|
149
|
+
|
|
150
|
+
## License
|
|
151
|
+
|
|
152
|
+
[MIT](LICENSE)
|
package/package.json
CHANGED
|
@@ -1,6 +1,43 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "brickproof-adb",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"description": "
|
|
6
|
-
|
|
3
|
+
"version": "1.1.0",
|
|
4
|
+
"mcpName": "io.github.st412m/brickproof-adb",
|
|
5
|
+
"description": "Lets an AI assistant look after your own Android devices over ADB without bricking them.",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"author": "st412m",
|
|
8
|
+
"homepage": "https://github.com/st412m/brickproof-adb#readme",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/st412m/brickproof-adb.git"
|
|
12
|
+
},
|
|
13
|
+
"bugs": "https://github.com/st412m/brickproof-adb/issues",
|
|
14
|
+
"keywords": [
|
|
15
|
+
"mcp",
|
|
16
|
+
"model-context-protocol",
|
|
17
|
+
"adb",
|
|
18
|
+
"android",
|
|
19
|
+
"android-tv",
|
|
20
|
+
"claude"
|
|
21
|
+
],
|
|
22
|
+
"type": "commonjs",
|
|
23
|
+
"bin": {
|
|
24
|
+
"brickproof-adb": "src/main.js"
|
|
25
|
+
},
|
|
26
|
+
"files": [
|
|
27
|
+
"src/",
|
|
28
|
+
"README.md",
|
|
29
|
+
"CHANGELOG.md",
|
|
30
|
+
"PRIVACY.md",
|
|
31
|
+
"LICENSE"
|
|
32
|
+
],
|
|
33
|
+
"engines": {
|
|
34
|
+
"node": ">=22.17"
|
|
35
|
+
},
|
|
36
|
+
"scripts": {
|
|
37
|
+
"test": "node --test \"test/*.test.js\""
|
|
38
|
+
},
|
|
39
|
+
"dependencies": {
|
|
40
|
+
"jpeg-js": "0.4.4",
|
|
41
|
+
"pngjs": "7.0.0"
|
|
42
|
+
}
|
|
43
|
+
}
|