An MCP server that drives a real Android device over ADB and attaches the resulting screen to every action. Single native binary, continuous H.264 vision cache, OCR for screens the accessibility tree cannot read.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add droidsight --env DROIDSIGHT_DEVICE_PIN='<DROIDSIGHT_DEVICE_PIN>' -- npx -y @edgecasehuman/droidsight~/.codex/config.toml
[mcp_servers.droidsight]
command = "npx"
args = ["-y", "@edgecasehuman/droidsight"]
env = { DROIDSIGHT_DEVICE_PIN = "<DROIDSIGHT_DEVICE_PIN>" }
# codex mcp add droidsight --env DROIDSIGHT_DEVICE_PIN='<DROIDSIGHT_DEVICE_PIN>' -- npx -y @edgecasehuman/droidsight~/.cursor/mcp.json
{
"mcpServers": {
"droidsight": {
"command": "npx",
"args": [
"-y",
"@edgecasehuman/droidsight"
],
"env": {
"DROIDSIGHT_DEVICE_PIN": "<DROIDSIGHT_DEVICE_PIN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"droidsight": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@edgecasehuman/droidsight"
],
"env": {
"DROIDSIGHT_DEVICE_PIN": "<DROIDSIGHT_DEVICE_PIN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"droidsight": {
"command": "npx",
"args": [
"-y",
"@edgecasehuman/droidsight"
],
"env": {
"DROIDSIGHT_DEVICE_PIN": "<DROIDSIGHT_DEVICE_PIN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"droidsight": {
"command": "npx",
"args": [
"-y",
"@edgecasehuman/droidsight"
],
"env": {
"DROIDSIGHT_DEVICE_PIN": "<DROIDSIGHT_DEVICE_PIN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"droidsight": {
"command": "npx",
"args": [
"-y",
"@edgecasehuman/droidsight"
],
"env": {
"DROIDSIGHT_DEVICE_PIN": "<DROIDSIGHT_DEVICE_PIN>"
}
}
}
}需要的环境变量
DROIDSIGHT_DEVICE_PIN
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。