webadb-agent
Controls a physical Android phone or Docker-hosted Android emulator via ADB from the browser and from AI agents. Provides a live screen view in the browser (click = tap, drag = swipe) plus an ADB shell terminal, and MCP tools such as screenshot, tap, swipe, key, type_text, shell, open_app, and device_info.
Runs an Android emulator in Docker as an alternative device backend when no physical phone is available, exposing it over ADB to the bridge for the same web UI and agent access.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@webadb-agentopen Settings on the Android device and take a screenshot"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
webadb-agent π±ππ€
HP Android kamu β di web, bisa dikendalikan AI agent juga.
Satu service ringan yang bikin HP Android fisik (atau emulator di Docker) bisa diakses dari browser dan dari AI agent, kayak emulator tapi devicenya punya kamu sendiri.
[HP fisik] ββUSB/WiFiβββ
βββΊ adb server ββΊ webadb-agent bridge ββΊ Browser (layar live, klik=tap)
[Emulator Docker] ββββββ βββΊ REST API (untuk agent remote)
βββΊ MCP server (untuk agent lokal)Gabungan 3 project
Project | Yang diambil |
yume-chan/ya-webadb (Tango) | ADB client murni TypeScript ( |
Pola remote proxy via tunnel + loop agent inspect β act β verify + MCP server | |
Emulator Android di Docker sebagai backend alternatif HP fisik |
Related MCP server: scrcpy-mcp
Quick start (HP fisik)
# 1. Di PC: install platform-tools, colok HP, aktifkan USB debugging
adb start-server && adb devices
# 2. Jalankan bridge
cd packages/bridge && npm install && npm run build
node dist/index.js bridge --port 8080
# β catat bearer token yang tercetak
# β¦ATAU via Docker (lihat docs/DOCKER.md):
cp .env.example .env # isi WEBADB_TOKEN
docker compose up -d --build
# 3. Buka http://localhost:8080, masukkan token β layar HP live di web,
# klik = tap, drag = swipe. Ada juga terminal ADB shell.Quick start (emulator Docker, tanpa HP)
Butuh Linux + KVM + Docker. Lihat docs/EMULATOR.md.
docker compose -f docker/docker-compose.emulator.yml up -d
adb connect localhost:5555
node packages/bridge/dist/index.js bridge --serial localhost:5555Untuk AI agent
Remote (tunnel, pola ala agent-device proxy) β lihat docs/REMOTE-ACCESS.md:
cloudflared tunnel --url http://127.0.0.1:8080
curl -H "Authorization: Bearer $TOKEN" $TUNNEL_URL/api/screenshot -o s.pngLokal (MCP stdio) β tambah ke config MCP client:
{ "mcpServers": { "webadb-agent": {
"command": "node", "args": ["/path/to/packages/bridge/dist/index.js", "mcp"] } } }Tools: screenshot, tap, swipe, key, type_text, shell, open_app, device_info.
Prompt siap pakai: examples/agent-prompt.md. Referensi REST: docs/AGENT-API.md.
Mau pakai framework agent (OpenManus/OpenHands/agent-zero/Hermes) sebagai driver? Lihat docs/AGENT-FRAMEWORKS.md.
Ada juga skill siap pakai skills/phone-operator/SKILL.md (format agentskills.io, untuk Claude Code/Hermes/dll).
Struktur
packages/bridge/src/ β adb.ts (lapisan ADB) Β· server.ts (web UI + REST + WS)
mcp.ts (MCP stdio) Β· index.ts (CLI)
packages/web/ β UI web tanpa build step
docs/ β ARCHITECTURE.md Β· AGENT-API.md Β· REMOTE-ACCESS.md Β· EMULATOR.md
AGENT-FRAMEWORKS.md (OpenManus/OpenHands/agent-zero/Hermes) Β· DOCKER.md
skills/phone-operator/ β SKILL.md (agentskills.io, untuk Claude Code/Hermes)
docker/ β compose emulator + Dockerfile bridge
examples/ β agent-prompt.mdRoadmap
scrcpy/H.264 streaming via
@yume-chan/scrcpy(ganti screencap polling)Mode WebUSB langsung di browser (tanpa bridge) via
@yume-chan/adb-daemon-webusbFile manager di web UI Β· [ ] multi-device Β· [ ] rekam layar
Lisensi
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
A real Android phone in the cloud for MCP agents: observe the screen, act, reset to a saved state.
Control real Android and iOS devices with LLM agents β tap, swipe, type, automate flows.
Cloud Android phones for AI agents: create a phone, read the screen, tap, type, install APKs, park.
Melaya is a remote MCP server. It gives an assistant hands on your own Android phone and browser: it reads the screen through the accessibility tree, then taps, types and navigates inside the apps and sites you allow-list, with no per-app API. It also builds, schedules and runs agent pipelines across 6k+ connected tools. OAuth 2.1, nothing to install.
Related MCP Servers
- FlicenseAqualityDmaintenanceA MCP server that enables AI assistants to control Android devices via ADB, supporting device info, screen control, input simulation, app management, shell execution, file transfer, and UI parsing.20-
- AlicenseAqualityAmaintenanceMCP server that gives AI agents full vision and control over Android devices via ADB and scrcpy. Supports screenshots, input, apps, UI automation, shell, files, and clipboard.38154 npm122MIT
- AlicenseBqualityDmaintenanceAn MCP server that allows AI agents to drive real Android devices via adb, capturing screenshots, reading the live UI tree, and performing actions like tap, swipe, and type.135 npm1Apache 2.0
- AlicenseAqualityDmaintenanceAn MCP server that gives AI agents full control of Android devices and emulators through plain ADB β no companion APK, no extra daemon, no telemetry.266 npm4MIT