GitHub
server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Android MCP — ADB-based device, apps, UI, logcat, emulator, files, system, debug
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ADB_PATH, ANDROID_HOME, ANDROID_SERIAL, ANDROID_TOOLS, ANDROID_DISABLE, ANDROID_MCP_ALLOW_SHELL, ANDROID_MCP_ALLOW_WRITEต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"android": {
"command": "npx",
"args": [
"-y",
"@us-all/android-mcp"
],
"env": {
"ADB_PATH": "ใส่ค่าของคุณ",
"ANDROID_HOME": "ใส่ค่าของคุณ",
"ANDROID_SERIAL": "ใส่ค่าของคุณ",
"ANDROID_TOOLS": "ใส่ค่าของคุณ",
"ANDROID_DISABLE": "ใส่ค่าของคุณ",
"ANDROID_MCP_ALLOW_SHELL": "ใส่ค่าของคุณ",
"ANDROID_MCP_ALLOW_WRITE": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add android --env ADB_PATH='ใส่ค่าของคุณ' --env ANDROID_HOME='ใส่ค่าของคุณ' --env ANDROID_SERIAL='ใส่ค่าของคุณ' --env ANDROID_TOOLS='ใส่ค่าของคุณ' --env ANDROID_DISABLE='ใส่ค่าของคุณ' --env ANDROID_MCP_ALLOW_SHELL='ใส่ค่าของคุณ' --env ANDROID_MCP_ALLOW_WRITE='ใส่ค่าของคุณ' -- npx -y @us-all/android-mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"android": {
"command": "npx",
"args": [
"-y",
"@us-all/android-mcp"
],
"env": {
"ADB_PATH": "ใส่ค่าของคุณ",
"ANDROID_HOME": "ใส่ค่าของคุณ",
"ANDROID_SERIAL": "ใส่ค่าของคุณ",
"ANDROID_TOOLS": "ใส่ค่าของคุณ",
"ANDROID_DISABLE": "ใส่ค่าของคุณ",
"ANDROID_MCP_ALLOW_SHELL": "ใส่ค่าของคุณ",
"ANDROID_MCP_ALLOW_WRITE": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"android": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@us-all/android-mcp"
],
"env": {
"ADB_PATH": "ใส่ค่าของคุณ",
"ANDROID_HOME": "ใส่ค่าของคุณ",
"ANDROID_SERIAL": "ใส่ค่าของคุณ",
"ANDROID_TOOLS": "ใส่ค่าของคุณ",
"ANDROID_DISABLE": "ใส่ค่าของคุณ",
"ANDROID_MCP_ALLOW_SHELL": "ใส่ค่าของคุณ",
"ANDROID_MCP_ALLOW_WRITE": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ADB_PATH envANDROID_HOME envANDROID_SERIAL envANDROID_TOOLS envANDROID_DISABLE envANDROID_MCP_ALLOW_SHELL envANDROID_MCP_ALLOW_WRITE envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub us-all ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.14.4) เข้า registry 5 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี GitHub, Desktop Commander, Cloudflare MCP
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
The Android diagnostic & forensic MCP — when an app crashes, leaks memory, drains battery, or behaves unexpectedly, this is what you point at the device.
76 tools across logcat / dumpsys / package internals / system properties / processes. 5 MCP Prompts (crash-investigation, memory-leak-detection, permission-audit, app-startup-profile, ui-element-locator) and a
device-healthaggregation. Pure ADB, no Appium / uiautomator2 dependency. 2-tier security (write + shell gates).
dumpsys (mem/gfx/cpu), getprop, processes, package internals, app intents, port forwards. Cross-platform competitors hide this surface.crash-investigation, memory-leak-detection, ui-element-locator, app-startup-profile, permission-audit. Workflow templates the model invokes directly.device-health (battery + memory + cpu + network in one call), analyze-app (package info + memory + activities).ANDROID_MCP_ALLOW_WRITE (gates installs/taps/pushes) and ANDROID_MCP_ALLOW_SHELL (gates arbitrary adb shell) are separate flags. Distinct trust levels.child_process.ANDROID_TOOLS/ANDROID_DISABLE 9 categories, search-tools meta.device-health renders as a snapshot card on ChatGPT clients (battery, RAM, Wi-Fi + 4-section grid) via _meta["openai/outputTemplate"]. Claude clients receive the same JSON content.MCP_TRANSPORT=http for ChatGPT Apps SDK or remote clients (Bearer auth via MCP_HTTP_TOKEN).Connect the server to Claude Desktop or Claude Code, then paste any of these:
com.us-all.api keeps crashing on this Pixel 6 emulator. Pull the last crash log, the offending stack frames, and any recent permission changes."*com.us-all.api over the last 5 minutes. Show heap deltas, GC pressure, and the largest allocators."*com.us-all.api — measure activity launch time, identify the slowest fragment init, and suggest where to add tracing."*mobile-next/mobile-mcp (4.7K★) is the cross-platform action-oriented MCP. Different problem space:
| mobile-mcp | @us-all/android-mcp (this) | |
|---|---|---|
| Platform | iOS + Android (cross-platform) | Android only (specialist) |
| Posture | Action-oriented ("drive the app via NL") | Diagnostic ("tell me why it broke") |
| UI surface | Accessibility-tree-first, action loops | UI hierarchy + screenshots + diagnostic dumps |
| Diagnostic depth | minimal | logcat / dumpsys / getprop / processes / crashes |
| Aggregations | — | device-health, analyze-app |
| MCP Prompts | — | 5 (diagnostic-themed) |
| Security gates | basic | 2-tier (write + shell separate) |
| Distribution | broad (12+ IDE buttons) | npm + Docker |
Use both — they're complementary. mobile-mcp drives the device through your QA flows; this MCP tells you why it broke when something does. Especially:
dumpsys gfxinfo + activity launch timing.dumpsys package permission state and recent grants.{
"mcpServers": { "android": { "command": "npx", "args": ["-y", "@us-all/android-mcp"], "env": { "ANDROID_MCP_ALLOW_WRITE": "true" } } } }
claude mcp add android -s user \
-e ANDROID_MCP_ALLOW_WRITE=true \ -e ANDROID_MCP_ALLOW_SHELL=true \ -- npx -y @us-all/android-mcp
docker run --rm \
--device /dev/bus/usb \ -e ANDROID_MCP_ALLOW_WRITE=true \ ghcr.io/us-all/android-mcp-server:latest
git clone https://github.com/us-all/android-mcp-server.git
cd android-mcp-server && pnpm install && pnpm build node dist/index.js
PATH (or set ADB_PATH)ANDROID_SERIAL= to target a specific one| Variable | Required | Default | Description |
|---|---|---|---|
ANDROID_HOME | ❌ | auto-detect | Android SDK path |
ADB_PATH | ❌ | adb (PATH) | Path to ADB binary |
ANDROID_SERIAL | ❌ | auto (single device) | Target device serial |
ANDROID_MCP_ALLOW_WRITE | ❌ | false | Enable write operations (install, tap, push) |
ANDROID_MCP_ALLOW_SHELL | ❌ | false | Enable arbitrary adb shell execution |
ANDROID_TOOLS | ❌ | — | Comma-sep allowlist of categories. Biggest token saver. |
ANDROID_DISABLE | ❌ | — | Comma-sep denylist. Ignored when ANDROID_TOOLS is set. |
MCP_TRANSPORT | ❌ | stdio | http to enable Streamable HTTP transport |
MCP_HTTP_TOKEN | conditional | — | Bearer token. Required when MCP_TRANSPORT=http |
MCP_HTTP_PORT | ❌ | 3000 | HTTP listen port |
MCP_HTTP_HOST | ❌ | 127.0.0.1 | HTTP bind host (DNS rebinding protection auto-enabled for localhost) |
MCP_HTTP_SKIP_AUTH | ❌ | false | Skip Bearer auth — e.g. behind a reverse proxy that handles it |
Categories (9): device, apps, ui, logcat, emulator, files, system, debug, shell (always-gated by ANDROID_MCP_ALLOW_SHELL), plus always-on meta.
When MCP_TRANSPORT=http: POST /mcp (Bearer-auth JSON-RPC) + GET /health (public liveness).
| Scenario | Tools | Schema tokens | vs default |
|---|---|---|---|
| default (all categories) | 76 | 9,200 | — |
typical (ANDROID_TOOLS=device,ui,apps,logcat) | 37 | 5,000 | −46% |
narrow (ANDROID_TOOLS=device,ui) | 19 | 2,500 | −73% |
Plus search-tools meta-tool (always enabled) for runtime tool discovery.
By default, only read operations are permitted. Write operations (tap, install-app, push-file, etc.) return an error unless ANDROID_MCP_ALLOW_WRITE=true. Shell command execution requires a separate ANDROID_MCP_ALLOW_SHELL=true for additional security — even with write enabled, raw shell stays blocked unless this is explicitly set.
Workflow templates available via MCP prompts/list:
crash-investigation — pull crash logs + stack frames + recent permission changes for a target package.memory-leak-detection — track heap delta over a window; cluster by allocator.ui-element-locator — find a UI element by visual + accessibility hints; return tap coordinates.app-startup-profile — cold-start profile: activity launch + fragment init + first frame.permission-audit — flag dangerous permissions held by under-used 3rd-party apps.URI-based read-only entities:
android://devices — connected devicesandroid://device/{serial} — device details (model/brand/version/display)android://app/{packageName}/activities — activities exposed by a package (exported/launchable flags)android://device/{serial}/processes — running processes9 categories. Use search-tools to discover at runtime; full list collapsed below.
| Category | Tools |
|---|---|
| System (battery / network / settings / display / orientation / port-fwd / wifi / mobile-data) | 19 |
| Apps (install / launch / permissions / intents / data clear) | 14 |
| UI (tap / swipe / screenshot / hierarchy / accessibility / annotated tap-by-index / screen recording) | 14 |
| Emulator (AVD start/stop, snapshot mgmt) | 7 |
| Device (list / info / properties / wireless connect) | 5 |
| Debug (bugreport / mem / gfx / cpu / doctor) | 5 |
| Logcat (capture / filter / clear / crash extract) | 4 |
| Files (list / pull / push / delete) | 4 |
Shell (gated execute-shell) | 1 |
Aggregations (device-health, analyze-app) | 2 |
Meta (search-tools) | 1 |
Full tool list
list-devices, get-device-info, get-device-properties, connect-device, disconnect-device
list-packages, get-package-info, install-app, uninstall-app, launch-app, stop-app, clear-app-data, grant-permission, revoke-permission, open-url, send-broadcast, get-current-activity, is-app-installed, get-app-intents
take-screenshot, dump-ui-hierarchy, ui-snapshot-a11y, tap, long-press, swipe, input-text, press-key, drag-and-drop, start-screen-recording, pull-screen-recording, double-tap, take-annotated-screenshot, tap-element
get-logcat, clear-logcat, search-logcat, get-crash-logs
list-avds, start-emulator, stop-emulator, list-snapshots, load-snapshot, save-snapshot, delete-snapshot
list-files, pull-file, push-file, delete-file
get-battery-info, get-network-info, change-setting, get-setting, set-display-size, set-display-density, keep-screen-on, port-forward, reverse-forward, list-forwards, remove-forward, toggle-wifi, toggle-mobile-data, open-notification, lock-device, unlock-device, get-orientation, set-orientation, list-settings
bugreport, get-mem-info, get-gfx-info, get-cpu-info, doctor
execute-shell — gated by ANDROID_MCP_ALLOW_SHELL
device-health — battery + memory + cpu + network in one call (~7KB response, 4 sub-systems with caveats). analyze-app — package info + memory + activities aggregation.
search-tools — query other tools by keyword; always enabled.
Claude → MCP stdio → src/index.ts
├── adb.ts (execFile wrapper) ├── tools/utils.ts (wrapToolHandler, shellEscape, validation) └── tools/{device,apps,ui,logcat,emulator,files,system,debug,shell,aggregations}.ts ↓ ADB CLI (USB / TCP-IP / Emulator) ↓ Android Device
Built on @us-all/mcp-toolkit:
extractFields — token-efficient response projections (skipped for ADB flat-array endpoints)aggregate(fetchers, caveats) — fan-out helper for device-health / analyze-appcreateWrapToolHandler — WriteBlockedError/ShellBlockedErrorตัดมาแค่ช่วงต้น อ่านต่อใน repo