Android Viewer
What it does
Drive Android emulators: screenshots, taps, swipes, keys, text, rotation and foldable postures.
- Connects パソコンで動く
- Account or key No key needed
- Category 開発者ツール
インストール
使っているAIアプリを選んで、設定をコピーしてください。
チェック 3/3 合格 · あなたのパソコンで動きます
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
Claude につなげますが、先に準備が必要です
Android Viewer のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
Android Viewer に登録してキーを作る
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
パソコン版 Claude アプリの設定ファイルを開く
SettingsDeveloperEdit Config
この設定を貼り付けて保存
{ "mcpServers": { "android-viewer": { "command": "npx", "args": [ "-y", "@acertijosapps/android-viewer", "mcp" ], "env": { "ANDROID_VIEWER_URL": "your-value", "ANDROID_HOME": "your-value" } } } }キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Claude を終了してもう一度開く
試してみる
Android Viewer を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が Android Viewer を使っていると言うか、回答に Android Viewer のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT はまだ Android Viewer につなげません
Android Viewer はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません
代わりにできること
A · Android Viewer につなげるアプリを使う
- Android Viewer のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
- Android Viewer のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)
- Android Viewer のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)
- Android Viewer のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)
B · 開発者ツール の中で ChatGPT につなげる別のサーバー
同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました
- Sentry✓ ChatGPT
- Compiler Explorer✓ ChatGPT
- GitDiagram✓ ChatGPT
Claude Code につなげますが、先に準備が必要です
Android Viewer のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)
Android Viewer に登録してキーを作る
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
ターミナルを開く
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
このコマンドを貼り付けて Enter
claude mcp add --scope user android-viewer --env ANDROID_VIEWER_URL=your-value --env ANDROID_HOME=your-value -- npx -y @acertijosapps/android-viewer mcpEnter の前に「your-value」を自分のキーに書き換えてください
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Claude Code で /mcp と入力
Android Viewer が一覧にあり、接続済みと表示されれば OK です
試してみる
Android Viewer を使って、私に何ができるか教えて、1 つやってみせて✓ Claude Code が Android Viewer を使っていると言うか、回答に Android Viewer のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Cursor につなげますが、先に準備が必要です
Android Viewer のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)
Android Viewer に登録してキーを作る
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
キーを入力
Android Viewer の設定で ANDROID_VIEWER_URL, ANDROID_HOME が空です。自分のキーを入れて保存します
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Cursor の AI チャットを Agent モードで開く
試してみる
Android Viewer を使って、私に何ができるか教えて、1 つやってみせて✓ Cursor が Android Viewer を使っていると言うか、回答に Android Viewer のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
VS Code につなげますが、先に準備が必要です
Android Viewer のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)
Android Viewer に登録してキーを作る
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
キーを入力
Android Viewer の設定で ANDROID_VIEWER_URL, ANDROID_HOME が空です。自分のキーを入れて保存します
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
VS Code の AI チャットを Agent モードで開く
試してみる
Android Viewer を使って、私に何ができるか教えて、1 つやってみせて✓ VS Code が Android Viewer を使っていると言うか、回答に Android Viewer のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
開発者向け:ターミナルのコマンドと JSON 設定
パソコンにインストール
Claude Code
claude mcp add --scope user android-viewer --env ANDROID_VIEWER_URL=your-value --env ANDROID_HOME=your-value -- npx -y @acertijosapps/android-viewer mcpClaude Desktop (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"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"android-viewer": {
"command": "npx",
"args": [
"-y",
"@acertijosapps/android-viewer",
"mcp"
],
"env": {
"ANDROID_VIEWER_URL": "your-value",
"ANDROID_HOME": "your-value"
}
}
}
}VS Code (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"
}
}
}
}自分で入力する値
ANDROID_VIEWER_URLenvViewer to show actions live (default http://localhost:8093); without it, adb is used directlyANDROID_HOMEenvAndroid SDK location, if adb and emulator are not found automatically
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
ひと目でわかる
- 週あたりのダウンロードi
- 657/週
- 接続方法
- パソコンで動く
- 最新バージョンi
- 1.0.2
- レジストリ公開日i
- 2026年11月3日
- コードの最終更新i
- 2026年11月3日
- 作者
- acertijosapps
- パッケージ
npm: @acertijosapps/android-viewer- ウェブサイト
- github.com
- レジストリでの状態
- 有効
使えるアプリ
このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。
パソコン上で動かせるアプリ
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
できること
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月12日にチェック
- ✓ 合格
作者とリポジトリが一致
レジストリ名は、リポジトリを所有するGitHubアカウント acertijosapps で確認済みです
- ✓ 合格
今もメンテナンスされている
コードの最終更新:9 日前
- ✓ 合格
ライセンスがある
MITを使用
- – 対象外
エンドポイントが応答する
これはパソコンで動くため、インターネット上のエンドポイントはありません
- – 対象外
OAuthでサインイン
パソコンで動き、代わりにローカルの設定を使います
- … 未チェック
ツールの説明に隠れた指示がない
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
話し合い
質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
ユーザーレビュー
まだレビューはありません
開発者ツールのほかのサーバーとの比較i
- このカテゴリのほかの5810件のうち0%よりスターが多い
- このカテゴリのほかの5810件のうち70%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの5810件のうち100%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
Android Viewerは安全ですか?
当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
パソコンで動きますか、それともクラウドですか?
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は9 日前、最新バージョン(1.0.2)がレジストリに届いたのは9 日前です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
同じカテゴリのほかの候補
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Serena MCP: the IDE for your agent
A powerful toolkit for coding, providing semantic retrieval and editing capabilities.
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
@acertijosapps/android-viewer
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.
- Live video:
adb exec-out screenrecord(H.264) over WebSocket, decoded in the browser with WebCodecs. - Input: click, drag, long press and scroll become
adb shell inputcommands. - Every AVD on your machine: pick a running emulator or start a stopped one from the viewer.
- Emulator controls: Back, Home, Recents, Power, Volume, Rotate, full-resolution screenshot.
- Foldables: Closed / Half-opened / Opened / Rear display. On emulators they move the simulated hinge, like the emulator's own controls; the stream follows the active display when you fold or rotate.
- MCP server: the same actions as tools, so the agent's taps show up live in the viewer.
- Nothing to install on the device: no APK, no server push; only
adb.
Requirements
- Node.js 18 or later.
- Android SDK platform tools (
adb) and, to list and start AVDs, the emulator. Found throughANDROID_HOME,ANDROID_SDK_ROOTor the default SDK location; override withADBandEMULATOR. - A browser with WebCodecs (Chromium-based browsers, Safari 16.4+, Firefox 130+).
- Works on macOS, Linux and Windows.
Quick start
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).
Use it with an AI agent (MCP)
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.
In the Claude Code browser pane
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 } ] }
HTTP API
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.
How it works
- One session per device, shared by every tab, stopped when the last one closes.
- Every second it reads
dumpsys display(size, rotation and the physical display behind logical display 0) andcmd device_state state. When the display changes, it waits for it to settle and restartsscreenrecordwith--display-idof the new panel: folding a device switches panels. screenrecordonly 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.- Only one
screenrecordruns per device at a time: two of them exhaust the emulator's software encoder (err=-38). Restarts requested by clients are rate-limited. - Screenshots use raw
screencap(compressing PNG inside the emulator is slow under load), are scaled down by area averaging and encoded as PNG withnode:zlib, with no native dependencies.
Limitations
- Drags are sent on release (one
input swipewith the real duration), not live. - No keyboard passthrough or audio yet; use
type_textandpress_key. - Higher latency than a native client such as scrcpy.
- The software encoder slows down with several emulators recording at once; with little free RAM (emulators paged out to swap) every
adb shellcall can take seconds. - If an app requests its own posture (
DeviceStateManager.requestState), it wins overset_posturewhile it is in the foreground. Flip_Horizontal_Foldstyle AVDs with a single physical display change state when closed, but the picture stays the same.
Why not ws-scrcpy?
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.
Contributing
Branching model (main · beta), Conventional Commits and releases are described in CONTRIBUTING.md; changes are listed in CHANGELOG.md.
Author
Made by AcertijosApps. See the rest of our libraries at acertijosapps.com/librerias.
Questions or proposals: acertijos.contacto@gmail.com or open an issue.
License
MIT