Skip to content
Gemini CLI

CodeDroid for Gemini CLI

io.github.codedroid-team/codedroid-mcp

Use your real Android phone from any MCP client: read the screen, tap, type, run tasks and adb.

client:Gemini CLI transport:stdio runtime:npm

Install CodeDroid in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "codedroid-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@codedroid/mcp"
      ],
      "env": {
        "CODEDROID_MCP_ADB": "<CODEDROID_MCP_ADB>",
        "CODEDROID_SERIAL": "<CODEDROID_SERIAL>",
        "CODEDROID_MCP_CLIENT": "<CODEDROID_MCP_CLIENT>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

CodeDroid in other clients