Skip to content
VS Code

pilotdroid for VS Code

io.github.mofanx/pilotdroid

Android UI automation device agent: 27 MCP tools — tap/swipe/selector/watcher/stream

client:VS Code transport:stdio runtime:pypi

Install pilotdroid in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "pilotdroid-serial",
      "description": "PILOTDROID_SERIAL",
      "password": true
    }
  ],
  "servers": {
    "pilotdroid": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "pilotdroid"
      ],
      "env": {
        "PILOTDROID_SERIAL": "${input:pilotdroid-serial}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

pilotdroid in other clients