adbfriend
Verified Safeby mikepenz
Overview
Manages Android devices via ADB, with an MCP server to integrate ADB functionalities into AI tools.
Installation
adbfriend mcp serverEnvironment Variables
- ANDROID_HOME
- adbfriend-allowed-paths
- adbfriend-host-allowed-paths
Security Notes
The project demonstrates good security practices by explicitly defining and enforcing `allowed_paths` on the Android device and `host_allowed_paths` on the host system, mitigating arbitrary file access. It also uses string escaping functions (`escapeForSync`, `escapeForMD5`) to help prevent common shell injection vulnerabilities when executing ADB shell commands. However, many core operations rely on `ShellCommandRequest`, which, if input sanitization were flawed or if an AI agent crafted a highly sophisticated malicious input to a tool, could still pose a risk. No hardcoded secrets or 'eval' statements were found. The inherent power of ADB operations (e.g., uninstalling apps, modifying system settings) means careful use in a controlled environment is always recommended.
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
This server provides a JSON-RPC interface for Git, GitHub API, and file system operations, intended for integration into DevOps, automation, and AI-driven workflows.
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.
gbox-mcp-server
Enable AI agents to automate Android devices, Linux environments, and browser sessions.