AdbSAFE
An MCP (Model Context Protocol) server for interacting with Android devices through ADB in TypeScript.
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
Quite surprised that this repo reached 50 stars (!) the ecosystem is quite generous sometimes, thank you for starring it!
I've been working on something that is faster, more scalable and also works with iOS, take a look at mobile-device-mcp.
And leave some ⭐ too :)
ADB MCP Server
[](https://smithery.ai/server/@srmorete/adb-mcp)
An MCP (Model Context Protocol) server for interacting with Android devices through ADB. This TypeScript-based tool provides a bridge between AI models and Android device functionality.
Features
- 📱 Device Management - List and interact with connected Android devices
- 📦 App Installation - Deploy APK files to connected devices
- 📋 Logging - Access device logs through logcat
- 🔄 File Transfer - Push and pull files between device and host
- 📸 UI Interaction - Capture screenshots and analyze UI hierarchy
- 🔧 Shell Command Execution - Run custom commands on the device
Prerequisites
- Node.js (v16 or higher recommended, tested with Node.js v16, v18, and v20)
- ADB (Android Debug Bridge) installed and in your PATH
- An Android device or emulator connected via USB or network with USB debugging enabled
- Permission to access the device (accepted debugging authorization on device)
Installation
Installing via Smithery
To install ADB Android Device Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @srmorete/adb-mcp --client claude
Manual Installation
# Clone the repository git clone https://github.com/srmorete/adb-mcp.git cd adb-mcp # Install dependencies npm install # Build the TypeScript code npm run build # Run the server npx adb-mcp
Configuration
ADB Path Configuration
The server uses default ADB paths. For
0d54884cce1dOBSERVED · 2026-10-08Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.
claude mcp add adb-mcp -- npx -y [email protected]
{
"mcpServers": {
"adb-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
]
}
}
}Exposed tools (10)
8 read · 2 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
adb_activity_manager | read | |
adb_devices | read | |
adb_install | write | |
adb_logcat | read | |
adb_package_manager | read | |
adb_pull | read | |
adb_push | write | |
adb_shell | read | |
dump_image | read | |
inspect_ui | read |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (2)
@modelcontextprotocol/sdk, zod, @types/node, ts-node, typescript
- Some operations may require elevated permissions
Gates applied: no_behavioural_pass.
0d54884cce1dfull audit observations/trust-audit/mcp-server/srmorete__adb.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-08 | 0d54884cce1d | SAFE | B | 89 | first audit |
Questions
What is the Adb MCP server?
An MCP (Model Context Protocol) server for interacting with Android devices through ADB in TypeScript.
What tools does Adb expose?
10 in total: 8 read-only, 2 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Adb safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does Adb need?
No credential environment variables were found in its source, so it appears to need none.
How does Adb run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as adb-mcp at 0.1.1.
How current is this page?
The grade is for one exact copy of the source (0d54884cce1d), read on 2026-10-08. The repository is watched and re-audited when it changes.