android-wifi-mcp
Verified Safeby dogkeeper886
Overview
Provides remote WiFi and network control for Android devices via ADB, primarily intended for automation and integration with agents like Claude.
Installation
npm install && npm run build && npm startEnvironment Variables
- PORT
- HOST
- ADB_PATH
Security Notes
The server executes ADB shell commands directly based on user-provided input for tools like `network_ping` and `network_dns_lookup`. This pattern is vulnerable to shell injection if the 'host' or 'hostname' parameters are crafted to include shell metacharacters (e.g., '8.8.8.8; rm -rf /'). While `wifi_connect` attempts to quote SSID and password, it's still susceptible to sophisticated injection attacks. The `enterprise-wifi.ts` component uses a more robust quoting mechanism for JSON payloads written to device files, but this best practice is not universally applied across all shell command constructions. Running this server implies a high level of trust in both the client (e.g., Claude agent) and the execution environment, as a malicious client could exploit these vulnerabilities to execute arbitrary commands on the connected Android device.
Similar Servers
lamda
AI-powered Android automation framework for mobile data and task automation.
adbfriend
Enables AI agents to manage Android devices, sync files, configure for tests, and perform package operations via ADB for development and testing.
whistle-mcp
Manages a local Whistle proxy server through Model Context Protocol, allowing AI assistants to control network rules, groups, values, and replay requests.
gbox-mcp-server
Enable AI agents to automate Android devices, Linux environments, and browser sessions.