Skip to content
VS Code

CodeDroid for VS Code

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:VS Code transport:stdio runtime:npm

Install CodeDroid in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "codedroid-mcp-adb",
      "description": "CODEDROID_MCP_ADB",
      "password": true
    },
    {
      "type": "promptString",
      "id": "codedroid-serial",
      "description": "CODEDROID_SERIAL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "codedroid-mcp-client",
      "description": "CODEDROID_MCP_CLIENT",
      "password": true
    }
  ],
  "servers": {
    "codedroid-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@codedroid/mcp"
      ],
      "env": {
        "CODEDROID_MCP_ADB": "${input:codedroid-mcp-adb}",
        "CODEDROID_SERIAL": "${input:codedroid-serial}",
        "CODEDROID_MCP_CLIENT": "${input:codedroid-mcp-client}"
      }
    }
  }
}

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

CodeDroid in other clients