Skip to content
VS Code

Agent Droid Bridge for VS Code

io.github.neverlow512/agent-droid-bridge

MCP server giving AI agents eyes and hands inside Android devices via ADB

client:VS Code transport:stdio runtime:pypi

Install Agent Droid Bridge in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "adb-execution-mode",
      "description": "ADB_EXECUTION_MODE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "adb-allow-shell",
      "description": "ADB_ALLOW_SHELL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "adb-path",
      "description": "ADB_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "adb-extra-tool-packs",
      "description": "ADB_EXTRA_TOOL_PACKS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "adb-denied-tools",
      "description": "ADB_DENIED_TOOLS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "adb-shell-allowlist",
      "description": "ADB_SHELL_ALLOWLIST",
      "password": true
    },
    {
      "type": "promptString",
      "id": "adb-shell-denylist",
      "description": "ADB_SHELL_DENYLIST",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-log-enabled",
      "description": "MCP_LOG_ENABLED",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-log-dir",
      "description": "MCP_LOG_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "adb-log-level",
      "description": "ADB_LOG_LEVEL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "adb-command-timeout",
      "description": "ADB_COMMAND_TIMEOUT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "adb-screenshot-timeout",
      "description": "ADB_SCREENSHOT_TIMEOUT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "adb-ui-change-timeout",
      "description": "ADB_UI_CHANGE_TIMEOUT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "adb-ui-change-poll-interval",
      "description": "ADB_UI_CHANGE_POLL_INTERVAL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "adb-aapt-timeout",
      "description": "ADB_AAPT_TIMEOUT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "adb-config-source",
      "description": "ADB_CONFIG_SOURCE",
      "password": true
    }
  ],
  "servers": {
    "agent-droid-bridge": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "agent-droid-bridge"
      ],
      "env": {
        "ADB_EXECUTION_MODE": "${input:adb-execution-mode}",
        "ADB_ALLOW_SHELL": "${input:adb-allow-shell}",
        "ADB_PATH": "${input:adb-path}",
        "ADB_EXTRA_TOOL_PACKS": "${input:adb-extra-tool-packs}",
        "ADB_DENIED_TOOLS": "${input:adb-denied-tools}",
        "ADB_SHELL_ALLOWLIST": "${input:adb-shell-allowlist}",
        "ADB_SHELL_DENYLIST": "${input:adb-shell-denylist}",
        "MCP_LOG_ENABLED": "${input:mcp-log-enabled}",
        "MCP_LOG_DIR": "${input:mcp-log-dir}",
        "ADB_LOG_LEVEL": "${input:adb-log-level}",
        "ADB_COMMAND_TIMEOUT": "${input:adb-command-timeout}",
        "ADB_SCREENSHOT_TIMEOUT": "${input:adb-screenshot-timeout}",
        "ADB_UI_CHANGE_TIMEOUT": "${input:adb-ui-change-timeout}",
        "ADB_UI_CHANGE_POLL_INTERVAL": "${input:adb-ui-change-poll-interval}",
        "ADB_AAPT_TIMEOUT": "${input:adb-aapt-timeout}",
        "ADB_CONFIG_SOURCE": "${input:adb-config-source}"
      }
    }
  }
}

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

Agent Droid Bridge in other clients