Chisle
The coding-agent plugin that bills 52% of a bare model across 20 live tasks. Terse persona + tool-output compressor + context diet.
翻訳待ち
リポジトリ情報はまだ収集していません。
No updates detected yet. GitHub releases will appear here.
Live Android emulator viewer for AI agent browser panes (WebCodecs + adb) with foldable posture controls and an MCP server
翻訳待ち
Loading the full README.
Read the full README ↗Live Android emulator viewer for the browser, plus an MCP server so an AI agent can drive it. Built for the browser pane of AI coding tools (such as Claude Code): you and the agent watch and control the same emulator, in real time, including foldable postures.
adb exec-out screenrecord (H.264) over WebSocket, decoded in the browser with WebCodecs.adb shell input commands.adb.adb) and, to list and start AVDs, the emulator.
Found through ANDROID_HOME, ANDROID_SDK_ROOT or the default SDK location; override with ADB and EMULATOR.npx @acertijosapps/android-viewer
Open http://localhost:8093 and pick a device. Deep links: ?avd=Pixel_10 or ?serial=emulator-5554.
android-viewer [options] Start the viewer
android-viewer mcp [options] Start the MCP server on stdio
-p, --port <port> Viewer port (default 8093, env PORT)
--host <host> Interface to bind (default 127.0.0.1, env HOST)
--viewer-url <url> Viewer the MCP talks to (default http://localhost:8093)
Other environment variables: MAX_DIM (longest side of the encoded video, default 1024),
BIT_RATE (default 6M), SCREENSHOT_MAX (longest side of MCP screenshots, default 1024) and
DEBUG=1 (logs every input command).
Claude Code:
claude mcp add android-viewer -- npx -y @acertijosapps/android-viewer mcp
Any other MCP client:
{
"mcpServers": {
"android-viewer": {
"command": "npx",
"args": ["-y", "@acertijosapps/android-viewer", "mcp"]
}
}
}
Also listed in the official MCP Registry as
io.github.acertijosapps/android-viewer.
Keep the viewer running (npx @acertijosapps/android-viewer) to watch what the agent does. Without
it, the MCP drives the device through adb directly.
| Tool | What it does |
|---|---|
list_devices | AVDs on the machine (with serial and booted when running) and other adb devices |
launch_avd | Start an AVD by name |
get_state | Display size, rotation, current posture, available postures and the viewer URL |
screenshot | PNG of the active display, longest side ≤ 1024 px |
tap | input tap |
swipe | input swipe; same start and end with ≥ 500 ms is a long press |
press_key | back, home, recents, power, wakeup, volup, voldown, enter, delete, tab, escape |
type_text | input text (printable ASCII) |
rotate | Rotate 90° left or right (emulators) |
set_posture | closed, half_opened, opened, rear_display, a state id, or reset; returns the new state |
Coordinates are normalized to 0–1 over the screenshot (x = pixel_x / image_width), so they hold
in any posture or orientation. serial is optional when only one device is connected.
Add the viewer to .claude/launch.json and open it with preview_start android-viewer:
{
"version": "0.0.1",
"configurations": [
{
"name": "android-viewer",
"runtimeExecutable": "npx",
"runtimeArgs": ["-y", "@acertijosapps/android-viewer"],
"port": 8093,
"autoPort": false
}
]
}
The MCP uses the viewer's API; you can call it too. serial goes in the query string or the body
and is optional with a single device. POST requests require content-type: application/json and a
local origin, so other websites can't drive your devices.
| Endpoint | |
|---|---|
GET /api/devices | [{ avd, serial, booted, model }]: serial: null = stopped, booted: null = didn't answer in time |
GET /api/state | Display size, rotation, displayId, posture and available postures |
GET /api/screenshot?max=<px> | PNG; real screen size in X-Screen-Width / X-Screen-Height |
POST /api/tap | { x, y } |
POST /api/swipe | { x1, y1, x2, y2, ms } |
POST /api/key | { key } |
POST /api/text | { text } |
POST /api/posture | { posture } |
POST /api/rotate | { direction: "left" | "right" } |
POST /api/launch | { avd } |
When a viewer tab is watching the device, actions go through its live session: the viewer updates at once and a watchdog restarts the stream if a gesture produces no frames.
This is the beginning of the README. Read the rest at the original. Read the full README ↗