Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Drive Android emulators: screenshots, taps, swipes, keys, text, rotation and foldable postures.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
ANDROID_VIEWER_URL, ANDROID_HOME你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"android-viewer": {
"command": "npx",
"args": [
"-y",
"@acertijosapps/android-viewer",
"mcp"
],
"env": {
"ANDROID_VIEWER_URL": "your-value",
"ANDROID_HOME": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add android-viewer --env ANDROID_VIEWER_URL=your-value --env ANDROID_HOME=your-value -- npx -y @acertijosapps/android-viewer mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"android-viewer": {
"command": "npx",
"args": [
"-y",
"@acertijosapps/android-viewer",
"mcp"
],
"env": {
"ANDROID_VIEWER_URL": "your-value",
"ANDROID_HOME": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"android-viewer": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@acertijosapps/android-viewer",
"mcp"
],
"env": {
"ANDROID_VIEWER_URL": "your-value",
"ANDROID_HOME": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
ANDROID_VIEWER_URL envANDROID_HOME env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 acertijosapps 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.0.2)于3天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Recta
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Cheaper cross-chain stablecoin routes for AI agents; 5 % of the verified saving, nothing if none.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
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 Viewer port (default 8093, env PORT) --host Interface to bind (default 127.0.0.1, env HOST) --viewer-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= | 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.
dumpsys display (size, rotation and the physical display behind logical display 0) and cmd device_state state. When the display changes, it waits for it to settle and restarts screenrecord with --display-id of the new panel: folding a device switches panels.screenrecord only emits frames when the screen changes, so the viewer keeps the GOP since the last IDR for late joiners and sends a screenshot while there is no video.screenrecord runs per device at a time: two of them exhaust the emulator's software encoder (err=-38). Restarts requested by clients are rate-limited.screencap (compressing PNG inside the emulator is slow under load), are scaled down by area averaging and encoded as PNG with node:zlib, with no native dependencies.input swipe with the real duration), not live.type_text and press_key.adb shell call can take seconds.DeviceStateManager.requestState), it wins over set_posture while it is in the foreground.Flip_Horizontal_Fold style AVDs with a single physical display change state when closed, but the picture stays the same.ws-scrcpy was tried first: streaming and input work, but the video freezes on a posture change until you reload (its scrcpy 1.19 server stays bound to the previous display), and it has no posture controls.
Branching model (main · beta), Conventional Commits and releases are described in CONTRIBUTING.md; changes are listed in CHANGELOG.md.
Made by AcertijosApps. See the rest of our libraries at acertijosapps.com/librerias.
Questions or proposals: acertijos.contacto@gmail.com or open an issue.
MIT