# brickproof-adb

> brickproof-adb is an open-source MCP server for developer tools. Maintain your own Android devices and TV boxes over ADB with dry runs and rollback. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Linux, macOS, Windows, Android, Self-hosted
- **Repository:** https://github.com/st412m/brickproof-adb
- **MCP Registry name:** io.github.st412m/brickproof-adb
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-23

## About

The server is built around guard rails for people who want an AI assistant to manage their own Android hardware, TV boxes first, without bricking it. Every package change starts as a dry run. Packages that the device depends on, such as the launcher, are detected from the device itself and refused with no override. A package currently serving something on your network is left alone, and anything applied is recorded in a snapshot that one call rolls back.

Beyond package management it can find devices on the local network, connect over USB or Wi-Fi, pair Android 11 and newer phones, take screenshots with tap coordinates that scale correctly, tap, swipe, press keys, type text, install APKs and bundles, and push or pull files. A raw shell tool exists but is off unless allow_shell is set.

It runs on Windows, macOS and Linux, in Docker, or as a Home Assistant app, and needs Node.js 22.17 or newer plus adb, which it can download. The device must have debugging switched on.

## Features

- **Dry-run first:** Package changes are previewed before anything is applied.
- **Protected packages:** Essential packages are read from the device and refused.
- **Snapshot rollback:** One call restores applied changes.
- **Screen control:** Screenshots, taps, swipes, key presses and text input.
- **Device discovery:** Finds debuggable devices on the network and pairs phones.
- **Multiple deployments:** Desktop, Docker and Home Assistant app options.

## Good for

- Disable preinstalled apps on a slow TV box safely
- Install a downloaded APK on a TV
- Open settings on a phone by looking at the screen
- Roll back a bad package change

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add brickproof-adb -- npx -y brickproof-adb
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "brickproof-adb": {
      "command": "npx",
      "args": [
        "-y",
        "brickproof-adb"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "brickproof-adb": {
      "command": "npx",
      "args": [
        "-y",
        "brickproof-adb"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "brickproof-adb": {
      "command": "npx",
      "args": [
        "-y",
        "brickproof-adb"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "brickproof-adb": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "brickproof-adb"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add brickproof-adb -- npx -y brickproof-adb
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.brickproof-adb]
command = "npx"
args = ["-y", "brickproof-adb"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "brickproof-adb": {
      "command": "npx",
      "args": [
        "-y",
        "brickproof-adb"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user brickproof-adb npx -- -y brickproof-adb

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "brickproof-adb": {
      "command": "npx",
      "args": [
        "-y",
        "brickproof-adb"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "brickproof-adb": {
      "command": "npx",
      "args": [
        "-y",
        "brickproof-adb"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "brickproof-adb": {
      "command": "npx",
      "args": [
        "-y",
        "brickproof-adb"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "brickproof-adb": {
      "command": "npx",
      "args": [
        "-y",
        "brickproof-adb"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "brickproof-adb": {
      "command": "npx",
      "args": [
        "-y",
        "brickproof-adb"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "brickproof-adb": {
      "command": "npx",
      "args": [
        "-y",
        "brickproof-adb"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "brickproof-adb": {
      "command": "npx",
      "args": [
        "-y",
        "brickproof-adb"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "brickproof-adb": {
      "command": "npx",
      "args": [
        "-y",
        "brickproof-adb"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 of 18 tools deletes data and 1 changes data; 15 names don't say. From the server's own tool labels and tool names; not verified by us.

- `adb_devices`: Lists connected and remembered devices, optionally discovering new ones.
- `adb_connect`: Connects a network device.
- `adb_disconnect`: Drops one or all network devices.
- `adb_pair`: Pairs an Android 11+ device over wireless debugging.
- `adb_shell`: Runs a shell command; off unless allowed.
- `adb_logcat`: Shows recent log lines.
- `adb_screenshot`: Captures the screen with the scale for tapping.
- `adb_ui_dump`: Lists on-screen elements with tap coordinates.
- `adb_tap`: Taps a point.
- `adb_swipe`: Swipes or long-presses.
- `adb_key`: Presses a key.
- `adb_text`: Types into the focused field.
- `adb_find_and_tap` (name suggests: reads): Finds an element by label and activates it.
- `adb_install`: Installs an APK or bundle; dry run by default.
- `adb_uninstall` (name suggests: deletes): Removes an app by package name.
- `adb_app`: Package operations with guard rails and rollback.
- `adb_push` (name suggests: changes): Copies a file to the device.
- `adb_pull`: Copies a file from the device.

## FAQ

### Can brickproof-adb brick my device?

The README says guards refuse packages the device needs and every change can be rolled back from a snapshot.

### Is shell access enabled?

No. adb_shell is off unless allow_shell is set.

### What do I need?

Node.js 22.17 or newer, adb and a device with debugging turned on.

### How do I connect over the network?

Ask the assistant to find the device, then confirm the debugging prompt on the device screen.

### Is brickproof-adb free?

Yes. brickproof-adb is open source, so you can use and self-host it for free.

### How do I add brickproof-adb to Claude Code?

Run this command in your terminal: claude mcp add brickproof-adb -- npx -y brickproof-adb

### What are the best alternatives to brickproof-adb?

The closest alternatives to brickproof-adb are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/brickproof-adb
