CodeDroid MCP
Lets an agent control an Android phone through the CodeDroid app: read the screen, take screenshots, tap, type, swipe, open apps, read/write the clipboard, delegate multi-step tasks to CodeDroid's agent, and install/launch/test Android apps (APK installation and adb require enabling the optional adb tool and a debugging connection). Supports one or several phones, even across different networks.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@CodeDroid MCPOpen Settings on my phone and tell me the Android version."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
CodeDroid MCP
Let Claude Code, Codex, Gemini CLI, 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 CodeDroid on your Android phone, signed in with its accessibility service enabled. Both devices need internet access.
1. Install for your coding client
Claude Code — run inside Claude Code:
/plugin marketplace add codedroid-team/codedroid-mcp
/plugin install codedroid@codedroidCodex — run in your terminal:
codex plugin marketplace add codedroid-team/codedroid-mcp
codex plugin add codedroid@codedroidGemini CLI — run in your terminal:
gemini extensions install https://github.com/codedroid-team/codedroid-mcpEach installation 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
Open CodeDroid → Settings → Computers → Pair a computer on your phone.
Run the command shown there in your computer's terminal. For example:
npx -y @codedroid/mcp pair ABCD-EFGHTap Allow on your phone when prompted.
Use the command exactly as shown. Pairing codes expire after 10 minutes and work once.
3. 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.”*
*Installing APKs and using adb also requires turning the adb tool on, Android platform-tools,
and a USB or wireless debugging connection. See adb setup.
Related MCP server: phone-control
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.An optional
adbtool, off by default, that runs adb commands on your computer.
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.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. 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 is off unless you turn it on. The plugin collects no analytics. See
Architecture for details.
Need help?
Check your connection:
npx -y @codedroid/mcp statusManage or revoke computer access in CodeDroid → Settings → Computers.
See the reference guide for tools, manual setup, configuration, troubleshooting, and development.
License
MIT © 2026 CodeDroid
This server cannot be deployed
Maintenance
Related MCP Connectors
Drive cloud Android phones on US mobile IPs. Read the screen, tap, type, install apps and run tasks.
Give your AI agent a real cloud Android phone: push APKs, drive it, get screenshots and logs.
Let AI agents control Android and iOS devices on Mobilerun Cloud: screen, input, apps, workflows.
Melaya is a remote MCP server. It gives an assistant hands on your own Android phone and browser: it reads the screen through the accessibility tree, then taps, types and navigates inside the apps and sites you allow-list, with no per-app API. It also builds, schedules and runs agent pipelines across 6k+ connected tools. OAuth 2.1, nothing to install.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to control Android phones via MCP and HTTP. Supports screen capture, taps, swipes, text input, and app management.7AGPL 3.0
- AlicenseNot gradedqualityBmaintenanceEnables controlling an Android device from an MCP client via ADB, including wireless debugging discovery, UI-tree inspection, and performing taps, swipes, typing, app actions, and shell commands without relying on screen coordinates.1 npmMIT
- AlicenseBqualityCmaintenanceEnables coding agents to observe and control an authorized Android phone over ADB through MCP tools and a JSON CLI. It supports UI inspection, screenshots, taps, swipes, typing, key presses, app listing, and launching.1351MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to control a physical Android device or Docker-hosted emulator over ADB by taking screenshots and performing taps, swipes, key presses, text input, shell commands, app launches, and device info queries. It runs as a local MCP stdio server alongside a web UI and REST API for remote access.1MIT