droidsight
ภาพรวม
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Drives a real Android device over ADB and attaches the resulting screen to every action.
ใช้ทำอะไรได้
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
- การเชื่อมต่อ: รันบนเครื่อง
- ช่องทาง (transport): stdio
- หมวด: เครื่องมือนักพัฒนา
- ต้องใส่ค่าเหล่านี้: DROIDSIGHT_DEVICE_PIN
ติดตั้ง
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ผลตรวจผ่าน 3/3 · ทำงานบนเครื่องคุณ
ขั้นแรก: คุณใช้ AI ตัวไหน
เลือกแอปที่คุณใช้ ขั้นตอนจะขึ้นด้านล่าง
ต่อกับ Claude ได้ แต่ต้องเตรียมก่อน
ต้องมีคีย์ของ droidsight (สมัครที่เว็บของผู้ทำ อาจมีค่าใช้จ่าย) · ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว) · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ
สมัครและสร้างคีย์ของ droidsight
เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป อาจมีค่าใช้จ่าย
วิธีขอคีย์อยู่ใน README ของผู้ทำด้านล่าง
เปิดไฟล์ตั้งค่าของแอป Claude บนคอม
SettingsDeveloperEdit Config
วางค่าตั้งนี้แล้วบันทึกไฟล์
{ "mcpServers": { "droidsight": { "command": "npx", "args": [ "-y", "@edgecasehuman/droidsight" ], "env": { "DROIDSIGHT_DEVICE_SERIAL": "ใส่ค่าของคุณ", "DROIDSIGHT_ADB_PATH": "ใส่ค่าของคุณ", "DROIDSIGHT_LOCAL_ROOT": "ใส่ค่าของคุณ", "DROIDSIGHT_DEVICE_PIN": "ใส่ค่าของคุณ", "DROIDSIGHT_ALLOW_SHELL": "ใส่ค่าของคุณ", "DROIDSIGHT_DEBUG_LOG": "ใส่ค่าของคุณ", "DROIDSIGHT_LOG": "ใส่ค่าของคุณ", "DROIDSIGHT_EVENTS": "ใส่ค่าของคุณ", "DROIDSIGHT_SENTINEL": "ใส่ค่าของคุณ" } } } }วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร
ปิดแอป Claude แล้วเปิดใหม่
ลองเลย
ใช้ droidsight บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า Claude บอกว่ากำลังใช้ droidsight หรือมีชื่อเครื่องมือของ droidsight ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
ChatGPT ยังต่อ droidsight ไม่ได้
droidsight ต้องติดตั้งในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะตัวที่ทำงานบนเว็บ
คุณทำแบบนี้แทนได้
ก · ใช้แอปที่ต่อ droidsight ได้
- ต้องมีคีย์ของ droidsight (สมัครที่เว็บของผู้ทำ อาจมีค่าใช้จ่าย) · ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว) · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ
- ต้องมีคีย์ของ droidsight (สมัครที่เว็บของผู้ทำ อาจมีค่าใช้จ่าย) · ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)
- ต้องมีคีย์ของ droidsight (สมัครที่เว็บของผู้ทำ อาจมีค่าใช้จ่าย) · ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)
- ต้องมีคีย์ของ droidsight (สมัครที่เว็บของผู้ทำ อาจมีค่าใช้จ่าย) · ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)
ข · ตัวอื่นในหมวด เครื่องมือนักพัฒนา ที่ต่อกับ ChatGPT ได้
เลือกจากตัวที่ใช้มากในหมวดเดียวกัน เฉพาะตัวที่ต่อด้วยที่อยู่ได้โดยไม่ต้องใส่คีย์
- Sentry✓ ChatGPT
- Front-End Checklist✓ ChatGPT
- Compiler Explorer✓ ChatGPT
ต่อกับ Claude Code ได้ แต่ต้องเตรียมก่อน
ต้องมีคีย์ของ droidsight (สมัครที่เว็บของผู้ทำ อาจมีค่าใช้จ่าย) · ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)
สมัครและสร้างคีย์ของ droidsight
เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป อาจมีค่าใช้จ่าย
วิธีขอคีย์อยู่ใน README ของผู้ทำด้านล่าง
เปิด Terminal
Mac: กด Command+Space พิมพ์ Terminal · Windows: เปิด PowerShell
วางคำสั่งนี้แล้วกด Enter
claude mcp add droidsight --env DROIDSIGHT_DEVICE_SERIAL='ใส่ค่าของคุณ' --env DROIDSIGHT_ADB_PATH='ใส่ค่าของคุณ' --env DROIDSIGHT_LOCAL_ROOT='ใส่ค่าของคุณ' --env DROIDSIGHT_DEVICE_PIN='ใส่ค่าของคุณ' --env DROIDSIGHT_ALLOW_SHELL='ใส่ค่าของคุณ' --env DROIDSIGHT_DEBUG_LOG='ใส่ค่าของคุณ' --env DROIDSIGHT_LOG='ใส่ค่าของคุณ' --env DROIDSIGHT_EVENTS='ใส่ค่าของคุณ' --env DROIDSIGHT_SENTINEL='ใส่ค่าของคุณ' -- npx -y @edgecasehuman/droidsightแก้ “ใส่ค่าของคุณ” เป็นคีย์ของคุณก่อนกด Enter
วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร
พิมพ์ /mcp ใน Claude Code
ต้องเห็น droidsight ในรายการและขึ้นว่าเชื่อมต่อแล้ว
ลองเลย
ใช้ droidsight บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า Claude Code บอกว่ากำลังใช้ droidsight หรือมีชื่อเครื่องมือของ droidsight ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
ต่อกับ Cursor ได้ แต่ต้องเตรียมก่อน
ต้องมีคีย์ของ droidsight (สมัครที่เว็บของผู้ทำ อาจมีค่าใช้จ่าย) · ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)
สมัครและสร้างคีย์ของ droidsight
เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป อาจมีค่าใช้จ่าย
วิธีขอคีย์อยู่ใน README ของผู้ทำด้านล่าง
ใส่คีย์ในช่องที่ว่างไว้
ในค่าตั้งของ droidsight ช่อง DROIDSIGHT_DEVICE_SERIAL, DROIDSIGHT_ADB_PATH, DROIDSIGHT_LOCAL_ROOT, DROIDSIGHT_DEVICE_PIN, DROIDSIGHT_ALLOW_SHELL, DROIDSIGHT_DEBUG_LOG, DROIDSIGHT_LOG, DROIDSIGHT_EVENTS, DROIDSIGHT_SENTINEL ยังว่าง ใส่คีย์ของคุณแล้วบันทึก
วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร
เปิดแชตของ AI ใน Cursor โหมด Agent
ลองเลย
ใช้ droidsight บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า Cursor บอกว่ากำลังใช้ droidsight หรือมีชื่อเครื่องมือของ droidsight ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Cursor เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
ต่อกับ VS Code ได้ แต่ต้องเตรียมก่อน
ต้องมีคีย์ของ droidsight (สมัครที่เว็บของผู้ทำ อาจมีค่าใช้จ่าย) · ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)
สมัครและสร้างคีย์ของ droidsight
เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป อาจมีค่าใช้จ่าย
วิธีขอคีย์อยู่ใน README ของผู้ทำด้านล่าง
ใส่คีย์ในช่องที่ว่างไว้
ในค่าตั้งของ droidsight ช่อง DROIDSIGHT_DEVICE_SERIAL, DROIDSIGHT_ADB_PATH, DROIDSIGHT_LOCAL_ROOT, DROIDSIGHT_DEVICE_PIN, DROIDSIGHT_ALLOW_SHELL, DROIDSIGHT_DEBUG_LOG, DROIDSIGHT_LOG, DROIDSIGHT_EVENTS, DROIDSIGHT_SENTINEL ยังว่าง ใส่คีย์ของคุณแล้วบันทึก
วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร
เปิดแชตของ AI ใน VS Code โหมด Agent
ลองเลย
ใช้ droidsight บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า VS Code บอกว่ากำลังใช้ droidsight หรือมีชื่อเครื่องมือของ droidsight ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ VS Code เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
สำหรับคนเขียนโค้ด: คำสั่ง Terminal และค่าตั้ง JSON
ติดตั้งในเครื่อง
Claude Code
claude mcp add droidsight --env DROIDSIGHT_DEVICE_SERIAL='ใส่ค่าของคุณ' --env DROIDSIGHT_ADB_PATH='ใส่ค่าของคุณ' --env DROIDSIGHT_LOCAL_ROOT='ใส่ค่าของคุณ' --env DROIDSIGHT_DEVICE_PIN='ใส่ค่าของคุณ' --env DROIDSIGHT_ALLOW_SHELL='ใส่ค่าของคุณ' --env DROIDSIGHT_DEBUG_LOG='ใส่ค่าของคุณ' --env DROIDSIGHT_LOG='ใส่ค่าของคุณ' --env DROIDSIGHT_EVENTS='ใส่ค่าของคุณ' --env DROIDSIGHT_SENTINEL='ใส่ค่าของคุณ' -- npx -y @edgecasehuman/droidsightClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"droidsight": {
"command": "npx",
"args": [
"-y",
"@edgecasehuman/droidsight"
],
"env": {
"DROIDSIGHT_DEVICE_SERIAL": "ใส่ค่าของคุณ",
"DROIDSIGHT_ADB_PATH": "ใส่ค่าของคุณ",
"DROIDSIGHT_LOCAL_ROOT": "ใส่ค่าของคุณ",
"DROIDSIGHT_DEVICE_PIN": "ใส่ค่าของคุณ",
"DROIDSIGHT_ALLOW_SHELL": "ใส่ค่าของคุณ",
"DROIDSIGHT_DEBUG_LOG": "ใส่ค่าของคุณ",
"DROIDSIGHT_LOG": "ใส่ค่าของคุณ",
"DROIDSIGHT_EVENTS": "ใส่ค่าของคุณ",
"DROIDSIGHT_SENTINEL": "ใส่ค่าของคุณ"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"droidsight": {
"command": "npx",
"args": [
"-y",
"@edgecasehuman/droidsight"
],
"env": {
"DROIDSIGHT_DEVICE_SERIAL": "ใส่ค่าของคุณ",
"DROIDSIGHT_ADB_PATH": "ใส่ค่าของคุณ",
"DROIDSIGHT_LOCAL_ROOT": "ใส่ค่าของคุณ",
"DROIDSIGHT_DEVICE_PIN": "ใส่ค่าของคุณ",
"DROIDSIGHT_ALLOW_SHELL": "ใส่ค่าของคุณ",
"DROIDSIGHT_DEBUG_LOG": "ใส่ค่าของคุณ",
"DROIDSIGHT_LOG": "ใส่ค่าของคุณ",
"DROIDSIGHT_EVENTS": "ใส่ค่าของคุณ",
"DROIDSIGHT_SENTINEL": "ใส่ค่าของคุณ"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"droidsight": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@edgecasehuman/droidsight"
],
"env": {
"DROIDSIGHT_DEVICE_SERIAL": "ใส่ค่าของคุณ",
"DROIDSIGHT_ADB_PATH": "ใส่ค่าของคุณ",
"DROIDSIGHT_LOCAL_ROOT": "ใส่ค่าของคุณ",
"DROIDSIGHT_DEVICE_PIN": "ใส่ค่าของคุณ",
"DROIDSIGHT_ALLOW_SHELL": "ใส่ค่าของคุณ",
"DROIDSIGHT_DEBUG_LOG": "ใส่ค่าของคุณ",
"DROIDSIGHT_LOG": "ใส่ค่าของคุณ",
"DROIDSIGHT_EVENTS": "ใส่ค่าของคุณ",
"DROIDSIGHT_SENTINEL": "ใส่ค่าของคุณ"
}
}
}
}ค่าที่ต้องใส่เอง
DROIDSIGHT_DEVICE_SERIALenvThe only Android target the process may use. Required when ADB reports more than one authorized device; the server refuses to guess.DROIDSIGHT_ADB_PATHenvExplicit path to the ADB executable. Falls back to ANDROID_SDK_ROOT, ANDROID_HOME, then PATH.DROIDSIGHT_LOCAL_ROOTenvConfines host paths used by APK installation and file push/pull. Defaults to the process working directory.DROIDSIGHT_DEVICE_PINความลับ envNumeric PIN for UI actions that require automatic unlock.DROIDSIGHT_ALLOW_SHELLenvSet to 1 to publish the arbitrary shell and macro tools. Grants authority equivalent to broad ADB shell access.DROIDSIGHT_DEBUG_LOGenvPath to a persistent debug log. File logging is otherwise disabled.DROIDSIGHT_LOGenvTracing filter. Defaults to warn, or debug when a debug log path is set.DROIDSIGHT_EVENTSenvSet to 1 to start the long-running device event monitor. Requires DROIDSIGHT_DEVICE_SERIAL.DROIDSIGHT_SENTINELenvSet to 1 to start the background enforcement loop. It re-applies watched device state on a timer, including unlocking the screen. Off by default.
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
สรุป
- ดาวน์โหลดต่อสัปดาห์i
- 50/สัปดาห์
- การเชื่อมต่อ
- รันบนเครื่อง
- ช่องทาง (transport)
- stdio
- รุ่นล่าสุดi
- 1.0.0
- ส่งเข้า registryi
- 12 ส.ค. 2569
- แก้โค้ดล่าสุดi
- 11 ต.ค. 2569
- ผู้ทำ
- edgecasehuman
- แพ็กเกจ
npm: @edgecasehuman/droidsight- สถานะใน registry
- ใช้งานอยู่
ใช้กับโปรแกรมไหนได้
ดูจากแบบการต่อของ server ตัวนี้ และเอกสารของผู้ทำโปรแกรมแต่ละตัว ตรวจเมื่อ 10 พ.ย. 2569
ติดตั้งบนเครื่องได้ใน
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
คู่มือที่เกี่ยวข้อง
ทำอะไรได้บ้าง
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
ผลตรวจเบื้องต้นi
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 11 พ.ย. 2569
- ✓ ผ่าน
ตัวตนผู้ทำตรงกับ repo
ชื่อใน registry ยืนยันด้วยบัญชี GitHub edgecasehuman ซึ่งเป็นเจ้าของ repo
- ✓ ผ่าน
ยังมีคนดูแล
มีการแก้โค้ดล่าสุด 31 วันที่ผ่านมา
- ✓ ผ่าน
มีสัญญาอนุญาต (license)
ใช้ MIT
- – ไม่เกี่ยว
endpoint ตอบ
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
- – ไม่เกี่ยว
ล็อกอินแบบ OAuth
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
- … ยังไม่ตรวจ
คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
พูดคุย
ถาม แชร์เคล็ดลับ หรือแจ้งว่าใช้ไม่ได้ เรียงตามที่คนกดว่ามีประโยชน์
ยังไม่มีใครโพสต์ ถามหรือแชร์เป็นคนแรกได้เลย
ข้อความในส่วนนี้เขียนโดยผู้ใช้ ไม่ใช่ทีม PopNx
รีวิวจากผู้ใช้
ยังไม่มีรีวิว
เทียบกับตัวอื่นในหมวด เครื่องมือนักพัฒนาi
- ดาวมากกว่า 83% ของอีก 5759 ตัวในหมวดนี้
- ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 28% ของอีก 5759 ตัวในหมวดนี้
- ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 5759 ตัวในหมวดนี้
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
คำถามที่พบบ่อย
droidsight ปลอดภัยไหม?
จากการตรวจเบื้องต้นของเรา ผ่าน 3 จาก 3 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใช้กุญแจหรือรหัสอะไรบ้าง?
ต้องใส่ค่าเหล่านี้: DROIDSIGHT_DEVICE_PIN
ตัวนี้รันบนเครื่องหรือบนคลาวด์?
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
ยังมีคนดูแลอยู่ไหม?
repo บน GitHub มีการแก้โค้ดล่าสุด 31 วันที่ผ่านมา และส่งรุ่นล่าสุด (1.0.0) เข้า registry 3 เดือนที่ผ่านมา
ใช้กับโปรแกรมไหนได้บ้าง?
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
มีตัวไหนใช้แทนได้บ้าง?
ในหมวดเดียวกันมี REA, Netdata, Front-End Checklist
ตัวที่ใช้แทนได้
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
README จากผู้ทำ
เปิดอ่าน README
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
droidsight
An MCP server that drives a real Android device over ADB — and hands the agent back the screen its action produced.
One native binary. The server has no Python, Appium, scrcpy, or ffmpeg dependency and runs no Node at all — npx below is only a convenient installer — so the runtime is the binary plus adb. A background H.264 screenrecord stream is decoded in process, so the screen that follows an action is attached to the tool result automatically instead of costing a second round trip to ask what happened.
Every image carries the coordinate space it was produced in, so a model can tap what it just looked at without guessing a scale factor. When the accessibility tree comes back empty — Flutter, React Native, canvas, games — OCR and template matching still find the target.
This is a powerful local controller, not a sandbox. Run it only against a device and an MCP client you trust.
Install
npx -y @edgecasehuman/droidsight
That downloads a prebuilt binary for your platform and needs no build tools. The server is also listed in the official [MCP Registry] as io.github.edgecasehuman/droidsight.
To compile it instead, from [crates.io]:
cargo install droidsight
Or from source:
cargo build --locked --release --bin droidsight
Both compiling routes need NASM on the PATH. The H.264 decoder is built from C++ by openh264-sys2, which assembles its hot paths with NASM, and no platform ships it by default -- without it the build fails inside a transitive dependency rather than in this crate. Install it with apt install nasm, brew install nasm, or winget install NASM.NASM. The npx route above needs none of this.
The server is target/release/droidsight. It speaks newline-delimited JSON-RPC 2.0 over stdin and stdout.
Client configuration
{
"mcpServers": { "android": { "command": "npx", "args": ["-y", "@edgecasehuman/droidsight"], "env": { "DROIDSIGHT_DEVICE_SERIAL": " " } } } }
ADB must be reachable through PATH, ANDROID_SDK_ROOT, ANDROID_HOME, or an explicit DROIDSIGHT_ADB_PATH. If more than one authorized device is visible the server refuses to guess; set DROIDSIGHT_DEVICE_SERIAL.
Tools
Thirty-one tools are published by default. Two more appear only when DROIDSIGHT_ALLOW_SHELL=1 is set, and are listed last.
Seeing the screen
| Tool | Purpose |
|---|---|
mcp_android_vision_query | Screenshot, hierarchy, OCR, and element or template search. Its elements and tap_element actions avoid coordinate arithmetic entirely. |
mcp_android_vision_stream | Start, stop, or read the background H.264 stream. |
mcp_android_get_view_hierarchy | The accessibility tree as structured JSON. |
mcp_android_smart_wait | Block until an element appears, or time out. |
Driving the device
| Tool | Purpose |
|---|---|
mcp_android_input_act | Tap, type, key events, swipe, smart tap, and IME control. |
mcp_android_tap_text | Scan for text and tap it the instant it appears, retrying until timeout. Avoids the miss between a screenshot and a tap. |
mcp_android_run_flow | Run a bounded, fully prevalidated sequence of safe actions. |
mcp_android_record_gesture | Record raw touch input for a fixed duration. |
mcp_android_play_gesture | Replay a recorded gesture timeline. |
Applications
| Tool | Purpose |
|---|---|
mcp_android_app_manage | Launch, stop, list, install, and read crash logs. Uninstall, clear data, permission, enable, and disable additionally require confirm_destructive. |
mcp_android_app_instrumentation | Deep state inspection: activity, window, process list, stack traces. |
mcp_android_open_url | Open a URL. |
mcp_android_start_intent | Start an arbitrary intent. |
Device and system state
| Tool | Purpose |
|---|---|
mcp_android_device_control | Clipboard, battery, device info, lock state, unlock, rotation. |
mcp_android_system_control | Accessibility services and the draw-over-other-apps permission. Grants screen-read and input-injection authority across every app. |
mcp_android_network_control | Wi-Fi, mobile data, HTTP proxy, phone calls, SMS, wireless ADB pairing. |
mcp_android_sensor_control | Mock battery level and charging status; GPS mocking is emulator-only. |
mcp_android_check_health | Connectivity and responsiveness of the selected device. |
mcp_android_check_debug_exposure | Report which developer settings are enabled and therefore visible to apps. |
Diagnostics and data
| Tool | Purpose |
|---|---|
mcp_android_diagnostic_stream | Read logcat, clear it, or read buffered raw and semantic events. |
mcp_android_read_recent_events | Buffered device events from the optional monitor. |
mcp_android_log_filter | Filter logs by regex, tag, or priority. |
mcp_android_get_notifications | Dump posted notifications, including unredacted message content. |
mcp_android_file_system | List, read, push, and pull files, confined to DROIDSIGHT_LOCAL_ROOT. |
mcp_android_forensics_control | Query an on-device SQLite database, hash a file, or irreversibly delete an application's data. |
Capture and presence
| Tool | Purpose |
|---|---|
mcp_android_start_recording | Begin a screen recording, up to 180 seconds, written to the device. |
mcp_android_stop_recording | Stop it. The file stays on the device. |
mcp_android_companion | Post a notification, show a transient message, or open a URL for whoever is holding the phone. |
mcp_android_sentinel_control | Register a watched package. See Background enforcement before using it. |
mcp_android_start_session, mcp_android_stop_session | Session markers. They acknowledge the call and hold no server state. |
Only with DROIDSIGHT_ALLOW_SHELL=1
| Tool | Purpose |
|---|---|
mcp_android_run_shell | Run an arbitrary device shell command. No filtering of any kind. |
mcp_android_run_macro | Run up to 100 shell commands in sequence, stopping at the first failure. |
Coordinate space
Screenshots are downscaled to 720 pixels wide by default, so a coordinate read off the returned pixels is usually not a device coordinate. Every tool that returns an image also returns a metadata.image object describing how to convert one:
{
"image": { "width": 720, "height": 1600, "device_width": 1080, "device_height": 2400, "origin_x": 0, "origin_y": 0, "scale": 1.5, "coordinate_space": "image", "note": "To convert a coordinate (x, y) read from this image into a device coordinate: device_x = 0 + x * 1.5, device_y = 0 + y * 1.5." } }
When coordinate_space is device, the image is already 1:1 and coordinates can be used directly. Request max_width: 1440 to reduce or remove downscaling. Crops additionally report a non-zero origin_x/origin_y that must be added after scaling.
Taps, uiautomator hierarchy bounds, OCR boxes, and template matches are all in device coordinates. The background stream runs screenrecord without --size, so decoded frames are native resolution and share that one space.
You can avoid the arithmetic entirely. The mcp_android_vision_query tool's elements action returns an indexed snapshot with a precomputed center per element, and its tap_element action takes that snapshot_id and an index.
Environment variables
| Variable | Effect |
|---|---|
DROIDSIGHT_DEVICE_SERIAL | The only Android target the process may use. Mandatory when ADB reports multiple authorized devices. |
DROIDSIGHT_ADB_PATH | Explicit path to the ADB executable. |
DROIDSIGHT_LOCAL_ROOT | Confines host paths used by APK installation and file push/pull. Defaults to the process working directory. |
DROIDSIGHT_DEVICE_PIN | Numeric PIN for UI actions that need automatic unlock. Supply at runtime only; never in source or a checked-in MCP configuration. |
DROIDSIGHT_ALLOW_SHELL=1 | Publishes the arbitrary shell and macro tools. This grants authority equivalent to broad ADB shell access. Off by default. |
DROIDSIGHT_DEBUG_LOG | Path to a persistent debug log. Logging to a file is strictly opt-in; without this, warnings go to stderr and no file is written. |
DROIDSIGHT_LOG | Tracing filter. Defaults to warn, or debug when a debug log path is set. |
DROIDSIGHT_EVENTS=1 | Starts the long-running device event monitor. Requires DROIDSIGHT_DEVICE_SERIAL. |
DROIDSIGHT_SENTINEL=1 | Starts the background enforcement loop described under Background enforcement. Off by default: it re-applies device state on a timer, including unlocking the screen. |
Continuous vision cache
One background H.264 screenrecord stream starts at process startup and the latest decoded RGB frame is kept in memory. Screenshot tools and input observations read that cache, so a snapshot is available immediately once the first frame decodes. A static screen's last frame stays valid while the stream runs; it does not expire merely because the encoder stopped emitting unchanged pixels.
The stream allows 20 seconds for the first decodable frame before reconnecting. After that, silence is treated as a static screen, while EOF and read errors still reconnect. Starting or stopping a stream synchronously clears its frame cache so a previous session's image cannot be reused. The mcp_android_vision_stream stop action suspends capture until an explicit start; shutdown drops the owned ADB stream and leaves no screenrecord process behind.
Continuous capture has privacy, battery, CPU, and wireless-bandwidth costs. The device screen may contain sensitive information even though cached frames stay in process memory until a tool returns one. Use the explicit stop action when capture should be suspended.
MCP transport
Stdout carries one JSON-RPC value per line; diagnostics go to stderr. The server supports initialize, tools/list, and tools/call, plus the initialized notification and legacy mcp.* aliases. Batch arrays are handled member by member and produce one response-array line; notification-only batches produce no output and empty batches are rejected. Clients must complete the ordered initialize request and notifications/initialized notification handshake before listing or calling tools; premature calls return JSON-RPC error -32002. Input frames are limited to 16 MiB; oversized or invalid UTF-8 frames are rejected without preventing the next valid request from being processed.
Published text from logs, events, notifications, device files, hierarchy and OCR results, crash and forensic reports, instrumentation, shell/macro output, and aggregate flows is limited to 256 KiB. Truncated responses carry metadata.truncation with the strategy, original size, returned size, and configured limit; chronological feeds retain their newest tail while file-like output retains its head.
Finite ADB subprocesses drain stdout and stderr concurrently and retain at most 4 MiB from each stream while counting all observed bytes, which prevents pipe deadlocks and unbounded capture. The opti