Ermöglicht es AI-Clients, Android-Phones zu steuern, indem sie den Bildschirm lesen, tippen, schreiben und ADB-Commands für App-Testing und Automatisierung ausführen.
Auch bekannt als codedroid-team/codedroid-mcp, codedroid-mcp, @codedroid/mcp
- Stars
- 2
- Tools
- —
- Downloads, 30 Tage
- 3.151
- Neueste Version
- 0.1.15
- Letzter Commit
- 14. Nov. 2026
- Lizenz
- MIT
Was ist CodeDroid MCP?
CodeDroid ist ein MCP server. Ermöglicht es AI-Clients, Android-Phones zu steuern, indem sie den Bildschirm lesen, tippen, schreiben und ADB-Commands für App-Testing und Automatisierung ausführen.
Zusammenfassung generiert aus dem README des Projekts
Über CodeDroid MCP server
CodeDroid ermöglicht es AI-Clients, direkt mit Android-Geräten zu interagieren, um automatisiertes Testing und App-Steuerung zu ermöglichen. Entwickler können Agents in Umgebungen wie Claude Code, Cursor, VS Code und Zed nutzen, um Bildschirme auszulesen, auf Elemente zu tippen, Text einzugeben und Screenshots zu erstellen. Das System funktioniert sowohl wenn das Phone und der Computer via USB verbunden sind als auch wenn sie sich in unterschiedlichen Netzwerken befinden, sofern beide Internetzugriff haben.
Das Setup umfasst die Installation der CodeDroid-App auf dem Phone und das Ausführen eines Commands via Node.js, um die Geräte zu koppeln. Der Server stellt spezialisierte Skills für komplexe Workflows bereit, wie zum Beispiel End-to-End-Testing und App-Verifizierung. Er enthält Tools zum Ausführen von ADB-Commands, um Logs zu lesen, sowie eine install_apk-Funktion, die auch ohne physisches Kabel funktioniert. Dieses Setup ist für Entwickler konzipiert, die die Lücke zwischen ihrer Coding-Umgebung und physischer Mobile-Hardware schließen müssen.
Was du damit machen kannst
- 1Automatisiertes App-TestingLass deinen Agent eine spezifische APK installieren, die Anwendung starten und prüfen, ob sie abstürzt.
- 2End-to-End User Journey VerifizierungLass den Agent eine App explorieren, um ein Test-PRD zu schreiben und kritische User Journeys zu erstellen.
- 3Remote Device InteraktionAnweisung an die KI, den aktuellen Bildschirminhalt zu lesen und zu beschreiben, was gerade auf dem Phone geöffnet ist.
- 4System-Konfigurations-ChecksNutze den Agent, um durch die Android-Einstellungen zu navigieren und die aktuelle Softwareversion zu verifizieren.
Geschrieben aus dem README des Projekts. Jeder Use Case wurde gegen ein Zitat daraus geprüft.
So installierst du CodeDroid MCP
Formate geprüft am 10. Nov. 2026Zu Cursor hinzufügenZu Goose hinzufügenCodeDroid MCP in Claude Code installieren
$ claude mcp add codedroid-mcp -- npx -y @codedroid/mcpCodeDroid MCP in Cursor installieren
~/.cursor/mcp.json
{
"mcpServers": {
"codedroid-mcp": {
"command": "npx",
"args": [
"-y",
"@codedroid/mcp"
]
}
}
}CodeDroid MCP in VS Code installieren
.vscode/mcp.json
{
"servers": {
"codedroid-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@codedroid/mcp"
]
}
}
}CodeDroid MCP in VS Code CLI installieren
$ code --add-mcp '{"name":"codedroid-mcp","type":"stdio","command":"npx","args":["-y","@codedroid/mcp"]}'CodeDroid MCP in Claude Desktop installieren
claude_desktop_config.json
{
"mcpServers": {
"codedroid-mcp": {
"command": "npx",
"args": [
"-y",
"@codedroid/mcp"
]
}
}
}CodeDroid MCP in Codex installieren
$ codex mcp add codedroid-mcp -- npx -y @codedroid/mcpCodeDroid MCP in Codex config.toml installieren
~/.codex/config.toml
[mcp_servers.codedroid-mcp] command = "npx" args = ["-y", "@codedroid/mcp"]
CodeDroid MCP in Gemini CLI installieren
$ gemini mcp add -s user codedroid-mcp npx -- -y @codedroid/mcpCodeDroid MCP in Gemini settings.json installieren
~/.gemini/settings.json
{
"mcpServers": {
"codedroid-mcp": {
"command": "npx",
"args": [
"-y",
"@codedroid/mcp"
]
}
}
}Konfiguration
CODEDROID_MCP_ADBSet to 0 to turn off the adb tool, which runs adb commands on this computer.
CODEDROID_MCP_CLIENTClient name shown on the phone while the agent uses it.
CODEDROID_SERIALadb serial of the phone to use when several devices are connected.
| Name | Beschreibung | Typ |
|---|---|---|
| CODEDROID_MCP_ADB | Set to 0 to turn off the adb tool, which runs adb commands on this computer. | |
| CODEDROID_MCP_CLIENT | Client name shown on the phone while the agent uses it. | |
| CODEDROID_SERIAL | adb serial of the phone to use when several devices are connected. |
Automatisierte Checks
Geluften am 14. Nov. 2026Vollständiger Bericht →Unsere automatisierten Checks bestanden. Das ist kein Security-Audit: Lies den Code und gib dem Server nur den minimal notwendigen Zugriff. Wie die Checks funktionieren
- Source Repository verknüpft und erreichbarcodedroid-team/codedroid-mcp is public and reachablegithub.com/codedroid-team/codedroid-mcp ↗Bestanden
- Paket nennt dieses Repository als Quelle@codedroid/mcp names codedroid-team/codedroid-mcp as sourcenpmjs.com/package/@codedroid/mcp ↗Bestanden
- Build-Provenienz (Sigstore-Attestierung)No build attestation published for this releaseNicht geprüft
- Open Source Lizenz (OSI)MITspdx.org/licenses/MIT.html ↗Bestanden
- Commit oder Release im letzten JahrLast commit or release 2026-11-11github.com/codedroid-team/codedroid-mcp ↗Bestanden
- OpenSSF ScorecardNicht geprüft
- Package-Name ähnelt keinem populären PackageNo popular package one edit away from @codedroid/mcpBestanden
- Keine kritischen Advisories im Paket oder seinen Abhängigkeitenthe package checked; no critical advisoryosv.dev ↗Bestanden
- Keine versteckten Anweisungen an das Modell0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersBestanden
- Destruktive Tools sind markiertNicht geprüft
- Remote-Endpoint beantwortet den MCP-HandshakeNicht geprüft
README
Auf GitHub ansehenCodeDroid MCP
Let Claude Code, Codex, Antigravity, or any MCP client use your Android phone. Read the screen, interact with apps, take screenshots, and test what you build through CodeDroid. Your phone and computer can be on different networks.
Get started
You'll need Node.js 20+ and an Android phone. Both devices need internet access.
Fastest: plug in your phone
Turn on USB debugging on the phone, plug it into your computer, and run:
npx -y @codedroid/mcp setup
It adds CodeDroid to every coding client it finds (Claude Code, Codex, Antigravity, Cursor, VS Code, Claude Desktop, Windsurf, Zed), installs the CodeDroid app on the phone, turns on its accessibility service, and pairs the phone with this computer. On the phone, you allow USB debugging for this computer, sign in to CodeDroid with Google, and tap Allow when your computer first connects. Then restart your coding client.
Already have the plugin? Ask your agent to "set up my phone" instead: it does the same, and asks you before installing anything. Setting up over USB needs adb.
Or step by step
1. Install for your coding client
Every client at once: run npx -y @codedroid/mcp setup in your terminal. Or for one client:
Claude Code: run in your terminal:
claude plugin install codedroid --marketplace codedroid-team/codedroid-mcp
Codex: run in your terminal:
codex plugin marketplace add codedroid-team/codedroid-mcp
codex plugin add codedroid@codedroid
Antigravity: run in your terminal:
npx -y @codedroid/mcp setup --client=antigravity
It adds the CodeDroid plugin to ~/.gemini/config/plugins. Restart Antigravity and find it under
Customizations > Installed.
Cursor: Add to Cursor
VS Code: Install in VS Code
Zed: add this to ~/.config/zed/settings.json (Windows: %APPDATA%\Zed\settings.json):
{
"context_servers": {
"codedroid": {
"command": "npx",
"args": ["-y", "@codedroid/mcp"]
}
}
}
Each plugin includes the MCP server and skills for phone control and Android app testing. Restart your coding client after installing.
Using another client? See manual MCP setup.
2. Pair your phone
-
Install CodeDroid from get.codedroid.com, sign in, and turn on its accessibility service when it asks.
-
Open CodeDroid → Settings → Computers → Pair a computer.
-
Run the command shown there in your computer's terminal. For example:
npx -y @codedroid/mcp pair ABCD-EFGH -
Tap Allow on your phone when prompted.
Use the command exactly as shown. Pairing codes expire after 10 minutes and work once.
Ask your agent
Read the screen on my phone and describe what is open.
Then try:
- “Open Android Settings and check the Android version.”
- “Open my app, navigate to sign-in, and take a screenshot.”
- “Install this APK, launch it, and check for crashes.”*
*install_apk works over CodeDroid's connection, with one setting to allow. Reading logs with adb also requires
Android platform-tools and a USB or wireless debugging connection. See adb setup.
What it includes
- MCP tools to read the screen, take screenshots, tap, type, swipe, open apps, and hand CodeDroid's agent a multi-step task, on one phone or several. See the tool list.
- Skills:
codedroid-phoneteaches the agent to drive the phone one checked step at a time, andtest-on-devicewalks it through building, installing, and verifying an Android app change.app-e2etests an app end to end: it explores the app, writes a test PRD, critical user journeys and test cases into its repo (e2e/), stops for your review of each, runs the cases on the phone and writes a report with a screenshot per case. Each step is its own skill (app-e2e-explore,-prd,-cujs,-testcases,-run). Thenapp-e2e-rerunruns some of the cases (by id, journey or priority, last failures, the ones a change touches, a flaky check),app-e2e-bugturns a bug into a case that reproduces it, andapp-e2e-maintainkeeps the cases current as the app changes. install_apkto install a build from your computer, with no cable or shared network.- An
adbtool that runs adb commands on your computer, to read logs and run tests. You can turn it off.
Privacy and security
The plugin runs npx -y @codedroid/mcp@<version>, which downloads this exact release from npm
and starts a local MCP server. Everything it sends goes over TLS to the CodeDroid server, orchestrator.codedroid.com
unless the pairing command shown on your phone names another:
- Pairing sends the one-time code, your computer's name, and its OS (for example
darwin), so the phone can show which computer is connected. - Setting up over USB downloads the app from
get.codedroid.com, checks it against the published SHA-256 before installing it, and changes only CodeDroid's own settings on the phone (its accessibility service, keyboard and permissions). It installs only after you agree. - Tool calls are relayed between your agent and the phone: screen contents, screenshots, text you ask it to type, clipboard reads and writes, and task progress. Each call also names the MCP client that made it and its version. The phone asks you to Allow a computer the first time, shows when one is in use, and can stop or revoke it.
The local server listens on 127.0.0.1 only and requires a per-user token. Pairing credentials,
the token, and logs stay in ~/.codedroid on your computer. The adb tool runs only on your
computer, and its push and pull stay within your project and temp directories. See
Architecture for details.
The plugin itself collects no analytics. The CodeDroid app and server keep usage records under
your CodeDroid account: pairing and connecting, whether a computer was allowed, and for each phone
tool call its name, whether it worked and its error code, how long it took, the MCP client,
session and versions involved, your computer's OS and a random id for it, and the task id of a
run_task. Usage records never include tool arguments, screen contents, or text you type.
Need help?
Check your connection:
npx -y @codedroid/mcp status
Manage or revoke computer access in CodeDroid → Settings → Computers.
See the reference guide for tools, manual setup, configuration, troubleshooting, and development.
License
MIT © 2026 CodeDroid
CodeDroid MCP Fragen
Wie füge ich CodeDroid MCP zu Claude Code hinzu?
Führe claude mcp add codedroid-mcp -- npx -y @codedroid/mcp in deinem Terminal aus. Füge --scope user hinzu, damit der Server in jedem Projekt verfügbar ist.
Wie füge ich CodeDroid MCP zu Cursor hinzu?
Öffne ~/.cursor/mcp.json und füge den Server unter mcpServers hinzu, mit der Cursor-Config aus dem Installationsabschnitt oben.
Welche Arten von Interaktionen kann die KI auf meinem Phone durchführen?
Die KI kann den Bildschirm lesen, Screenshots machen, tippen, schreiben, swipen, Apps öffnen und mehrstufige Aufgaben ausführen.