droidsight for VS Code
io.github.edgecasehuman/droidsight
Drives a real Android device over ADB and attaches the resulting screen to every action.
client:VS Code
transport:stdio
runtime:npm
Install droidsight in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "droidsight-device-serial",
"description": "DROIDSIGHT_DEVICE_SERIAL",
"password": true
},
{
"type": "promptString",
"id": "droidsight-adb-path",
"description": "DROIDSIGHT_ADB_PATH",
"password": true
},
{
"type": "promptString",
"id": "droidsight-local-root",
"description": "DROIDSIGHT_LOCAL_ROOT",
"password": true
},
{
"type": "promptString",
"id": "droidsight-device-pin",
"description": "DROIDSIGHT_DEVICE_PIN",
"password": true
},
{
"type": "promptString",
"id": "droidsight-allow-shell",
"description": "DROIDSIGHT_ALLOW_SHELL",
"password": true
},
{
"type": "promptString",
"id": "droidsight-debug-log",
"description": "DROIDSIGHT_DEBUG_LOG",
"password": true
},
{
"type": "promptString",
"id": "droidsight-log",
"description": "DROIDSIGHT_LOG",
"password": true
},
{
"type": "promptString",
"id": "droidsight-events",
"description": "DROIDSIGHT_EVENTS",
"password": true
},
{
"type": "promptString",
"id": "droidsight-sentinel",
"description": "DROIDSIGHT_SENTINEL",
"password": true
}
],
"servers": {
"droidsight": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@edgecasehuman/droidsight"
],
"env": {
"DROIDSIGHT_DEVICE_SERIAL": "${input:droidsight-device-serial}",
"DROIDSIGHT_ADB_PATH": "${input:droidsight-adb-path}",
"DROIDSIGHT_LOCAL_ROOT": "${input:droidsight-local-root}",
"DROIDSIGHT_DEVICE_PIN": "${input:droidsight-device-pin}",
"DROIDSIGHT_ALLOW_SHELL": "${input:droidsight-allow-shell}",
"DROIDSIGHT_DEBUG_LOG": "${input:droidsight-debug-log}",
"DROIDSIGHT_LOG": "${input:droidsight-log}",
"DROIDSIGHT_EVENTS": "${input:droidsight-events}",
"DROIDSIGHT_SENTINEL": "${input:droidsight-sentinel}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs