Skip to content
Gemini CLI

android for Gemini CLI

io.github.us-all/android

Android MCP — ADB-based device, apps, UI, logcat, emulator, files, system, debug

client:Gemini CLI transport:stdio runtime:npm

Install android 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": {
    "android": {
      "command": "npx",
      "args": [
        "-y",
        "@us-all/android-mcp"
      ],
      "env": {
        "ADB_PATH": "<ADB_PATH>",
        "ANDROID_HOME": "<ANDROID_HOME>",
        "ANDROID_SERIAL": "<ANDROID_SERIAL>",
        "ANDROID_TOOLS": "<ANDROID_TOOLS>",
        "ANDROID_DISABLE": "<ANDROID_DISABLE>",
        "ANDROID_MCP_ALLOW_SHELL": "<ANDROID_MCP_ALLOW_SHELL>",
        "ANDROID_MCP_ALLOW_WRITE": "<ANDROID_MCP_ALLOW_WRITE>"
      }
    }
  }
}

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

android in other clients