adbfriend
Verified Safeby 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
adbfriend mcp serverEnvironment 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
mcp-ssh-manager
Manages remote SSH servers via the Model Context Protocol (MCP), enabling AI assistants like Claude Code and OpenAI Codex to execute commands, transfer files, monitor health, and automate DevOps tasks.
tinystruct-mcp
A modular Java server providing a JSON-RPC interface for file system and Git/GitHub operations, aimed at automation and DevOps workflows.
Ops-Tools
A Rust-based command-line interface (CLI) toolset designed for DevOps workflows, offering features like infrastructure-as-code cache cleanup, AI code assistant management, system package installation, security scanning, LLM prompt generation, container image building, and Kubernetes configuration management.
mcp-gearbox-cli
A command-line interface (CLI) tool for setting up Model Context Protocol (MCP) servers for various AI agents, handling download, configuration, and removal of server settings.