Skip to content
Gemini CLI

scrcpy mcp for Gemini CLI

io.github.juancf/scrcpy-mcp

MCP server for Android device control via ADB and scrcpy

client:Gemini CLI transport:stdio runtime:npm

Install scrcpy mcp 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": {
    "scrcpy-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "scrcpy-mcp"
      ],
      "env": {
        "ANDROID_SERIAL": "<ANDROID_SERIAL>",
        "ADB_PATH": "<ADB_PATH>",
        "SCRCPY_SERVER_PATH": "<SCRCPY_SERVER_PATH>"
      }
    }
  }
}

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

scrcpy mcp in other clients