Back to Home
mikepenz icon

adbfriend

Verified Safe

by mikepenz

Overview

Enables AI agents to manage Android devices, sync files, configure for tests, and perform package operations via ADB for development and testing.

Installation

Run Command
adbfriend mcp server

Environment Variables

  • adbfriend-allowed-paths
  • adbfriend-host-allowed-paths
  • ANDROID_HOME

Security Notes

The server executes ADB shell commands, which inherently carry a risk if user input is not properly sanitized. However, the project employs `escapeForSync()` and `escapeForMD5()` functions to mitigate shell injection risks. Crucially, file system operations (read, write, delete, move, copy-to-host, install-apk) are restricted to user-defined `allowed_paths` on the Android device and `host_allowed_paths` on the host system, significantly reducing the attack surface for arbitrary file access. Destructive operations are explicitly marked as such via MCP annotations. No 'eval' or obvious obfuscation was found.

Similar Servers

Stats

Interest Score42
Security Score8
Cost ClassHigh
Avg Tokens5000
Stars56
Forks2
Last Update2026-01-08

Tags

AndroidADBDevelopmentTestingMobile