# Android ADB Control

> Debug and inspect a connected Android device over ADB: logcat, UI hierarchy, packages, and safe read-only shell commands.

Android ADB Control is a free AI agent skill on Agensi by NEIYAN EUSSE, in Mobile Development. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [NEIYAN EUSSE](https://www.agensi.io/creators/neiyan-eusse)
- Category: [Mobile Development](https://www.agensi.io/skills/mobile-development)
- Uses: 2
- Version: 1.0
- Last updated: 2026-10-15
- Security: scan passed (2026-10-15); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/android-adb-control
- Tags: mobile, testing, adb, mobile-dev

## About this skill

Inspect and debug a connected Android device or emulator directly from your AI agent, through the free open-source **Android MCP server** (`@neem2004/android-mcp-server`).

### What it does
- Reads the `logcat` buffer, with optional line, tag and level filters
- Clears the log buffer before a clean capture
- Dumps the current UI hierarchy (XML) to understand the visible screen
- Lists installed packages, filtered or including system apps
- Runs safe, read-only shell commands allowlisted to `getprop`, `dumpsys` and `pm list`

### Why it is safe
Commands run via `execFile` with no intermediate shell; command chaining (`&&`, `||`, `;`, `|`) and injection metacharacters are rejected, and no root is requested.

### Requirements
Add the MCP server to your agent (`npx -y @neem2004/android-mcp-server`), have Node.js 18+, and connect a device with USB debugging enabled (`adb devices` shows `device`).

## Requires

- @neem2004/android-mcp-server
- Node.js 18+
- Android platform-tools (adb)

## Known limitations

Requires @neem2004/android-mcp-server setup. Read-only shell access restricted to getprop, dumpsys, and pm list. No support for shell command chaining or write operations.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Android ADB Control skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does this skill improve the standard Android debugging workflow?

This skill eliminates the need to manually run terminal commands and parse raw logs. It allows your AI agent to instantly retrieve filtered stack traces, inspect UI hierarchies, and query system properties directly within your workflow.

### What are the technical requirements to use this skill?

It requires the `@neem2004/android-mcp-server` to be configured in your MCP-compatible client. You must also have the Android Debug Bridge (ADB) installed and a device or emulator connected with USB debugging enabled.

### Can I use this skill to install apps or modify system settings on the device?

For security, the skill is restricted to read-only diagnostic commands like `logcat`, `dumpsys`, and `getprop`. It cannot perform write operations, install new APKs, or execute unauthorized shell scripts.

### Can I filter the logs to only show information for a specific app?

Yes, you can target specific diagnostic data by providing package names, log tags, or search strings. This ensures the AI agent only analyzes the logs and UI elements relevant to the specific bug you are investigating.

### Is this skill compatible with any specific AI agent or IDE?

The skill works with any AI agent or platform that supports the Model Context Protocol (MCP). As long as your client is connected to the Android MCP server, the agent can call these debugging tools.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
