adb-mcp

adb-mcp is a skill for Claude Code, Codex from TiagoDanin/Android-Debug-Bridge-MCP. It costs 100 tokens per session (2,182 once invoked), scanned B, original, MIT.

A tool connection for controlling an Android phone or emulator through Android Debug Bridge, the standard Android debugging interface.

In plain words
What is it for?
Use it to read screen elements, tap and type, install or launch apps, manage permissions, capture or record screens, inspect logs, and change device settings.
Why use it?
It lets an agent inspect screens and perform actions while checking that each step worked, instead of relying on guessed coordinates.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to read screen elements, tap and type, install or launch apps, manage permissions, capture or record screens, inspect logs, and change device settings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tiagodanin/android-debug-bridge-mcp/adb-mcp
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add TiagoDanin/Android-Debug-Bridge-MCP --skill adb-mcp
Clone the repo
git clone --depth 1 https://github.com/TiagoDanin/Android-Debug-Bridge-MCP

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for adb-mcp

README.md
[![agentmods](https://agentmods.dev/badge/skills/tiagodanin/android-debug-bridge-mcp/adb-mcp/github.svg)](https://agentmods.dev/skills/tiagodanin/android-debug-bridge-mcp/adb-mcp)
Your own site
<a href="https://agentmods.dev/skills/tiagodanin/android-debug-bridge-mcp/adb-mcp"><img src="https://agentmods.dev/badge/skills/tiagodanin/android-debug-bridge-mcp/adb-mcp/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for adb-mcp

Your own site · 80×15
<a href="https://agentmods.dev/skills/tiagodanin/android-debug-bridge-mcp/adb-mcp"><img src="https://agentmods.dev/badge/skills/tiagodanin/android-debug-bridge-mcp/adb-mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,182 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high System Prompt Leakage · line 110
    Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.
    Fix: Remove any instructions that reveal, print, or output system prompts or internal rules. System instructions should never be exposed to end users.
  • medium MCP Rug Pull · line 175
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00100 $0.02182
Opus 5 $0.00050 $0.01091
Sonnet 5 $0.00020 $0.00436
Haiku 4.5 $0.00010 $0.00218

Measured 5d ago against content hash b89e56e7ad5e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade B, and why

adb-mcp scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks the agent to reveal its instructionsmediumSystem prompt leakage

Directions to print, repeat or translate the system prompt extract configuration the operator did not intend to expose.

On an emulator, `emu_finger_touch` answers a fingerprint prompt (`finger_id`
skills/adb-mcp/SKILL.md · 182 lines

How it starts

The opening of the file, as written. The whole thing — 182 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ADB MCP Tools

The android-debug-bridge MCP server exposes an Android device to the agent as tools. Every device-facing tool takes an optional device argument — a full serial, a serial prefix, a transport id or a model name — and defaults to ADB_SERIAL or the only connected device.

The same engine is available as the adb-agent CLI — see the adb-cli skill. Reach for the CLI when a flow is a straight sequence of steps you want to chain in one shell call; reach for these tools when you want images in the transcript and per-step reasoning.

Before the first action

Call list_devices. If it comes back empty, tell the user to start an emulator or connect a device with USB debugging enabled — do not keep trying other tools, they will all fail the same way. If it lists more than one device, the result says whether there is a default target; when there is none, pick one and pass device on every later call rather than letting each tool fail in turn.

Then call device_info once. Screen size, Android version and emulator status shape everything after it: which coordinates are valid, whether a permission model applies, whether a hardware key exists.

The core loop

Read, act, verify:

  1. capture_ui_dump or ui_find to see what is on screen.
  2. ui_tap with a label, not input_tap with a guess.
  3. ui_wait_for before touching the next screen, then repeat.

ui_tap re-reads the tree, ranks matches on text, content-description and resource-id, prefers clickable and enabled elements, and taps the best one. Fixed coordinates break on a different device; labels usually do not.

ui_tap also refuses to tap through an overlay. The tree reports full logical bounds with no notion of what is painted on top, so a banner under a bottom bar still claims those pixels — tapping its center fires the bar and reports success for the wrong element. The tool looks for an uncovered point inside the element first, and errors with the name of the blocker when there is none. Pass force: true to override once you know what is on top.

Read the full file on GitHub · 182 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago Changed · +38 lines scan A → B b89e56e7ad5e
  2. 9d ago First seen · 144 lines · 100 tokens per session scan A 4b86877585d6

Subscribe to this mod's changes

adb-mcp is a skill published in the GitHub repository TiagoDanin/Android-Debug-Bridge-MCP (33 stars, last pushed 5d ago), licensed MIT. It adds 100 tokens to every session and 2,182 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it B with 1 finding (asks the agent to reveal its instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

ios-fix

Autonomous iOS bug fixer. (gstack).

garrytan/gstack · 15 tokens

google-mobile-ads-validate

Validates a project's Google Mobile Ads (GMA) SDK integration for iOS, Android, or Unity projects. Use when conducting a full pre-launch audit of an app that integrates GMA SDK or when validating any individual GMA SDK integration checks, such as when validating ad unit IDs and ad formats, SKAdNetwork IDs, mediation…

google/skills · 84 tokens

competition-ios-runtime

Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for IPA runtime analysis, Frida hooks, Objective-C or Swift method tracing, Keychain inspection, SSL pinning bypass, URL scheme handling, and iOS request-signing recovery. Use when the user asks to hook an IPA, trace Objective-C or Swift…

zhaoxuya520/reverse-skill · 123 tokens

swiftui-performance-audit

SwiftUI performance: render, scroll, CPU/memory, updates, layout, Instruments.

steipete/agent-scripts · 24 tokens

android-tombstone-symbolication

Symbolicate the .NET runtime frames in an Android tombstone file. Extracts BuildIds and PC offsets from the native backtrace, downloads debug symbols from the Microsoft symbol server, and runs llvm-symbolizer to produce function names with source file and line numbers. USE FOR triaging a .NET MAUI or Mono Android app…

dotnet/skills · 176 tokens

node-connect

Diagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps. Use when QR/setup code/manual connect fails, local Wi-Fi works but VPS/tailnet does not, or errors mention pairing required, unauthorized, bootstrap token invalid or expired, gateway.bind, gateway.remote.url, Tailscale…

the-open-agent/openagent · 81 tokens