Skip to content
VS Code

android-agent for VS Code

io.github.vaibhavreddys/android-agent

State-aware Android UI harness: compact JSON state and verified actions for coding agents.

client:VS Code transport:stdio runtime:pypi

Install android-agent in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "android-agent-app-package",
      "description": "ANDROID_AGENT_APP_PACKAGE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "android-agent-serial",
      "description": "ANDROID_AGENT_SERIAL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "android-agent-unlock-pin",
      "description": "ANDROID_AGENT_UNLOCK_PIN",
      "password": true
    }
  ],
  "servers": {
    "android-agent": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "android-agent"
      ],
      "env": {
        "ANDROID_AGENT_APP_PACKAGE": "${input:android-agent-app-package}",
        "ANDROID_AGENT_SERIAL": "${input:android-agent-serial}",
        "ANDROID_AGENT_UNLOCK_PIN": "${input:android-agent-unlock-pin}"
      }
    }
  }
}

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

android-agent in other clients