Skip to main content
Glama

Phone-Eye 📱👁️

AIエージェントに、実際のAndroidスマホを見せ、操作させましょう。

あなたのコーディングエージェントは、コードを読み、コマンドを実行し、ドキュメントを閲覧できます。しかし、実際のスマホ上で、実際のピクセルで、構築中のアプリを見ることができるでしょうか? Phone-Eyeは、それに目と指を与えます。

phone_look("what's on screen, and where is the login button?")
  → "Login button at (540, 1830) — a green 'Sign in' …"
phone_tap(540, 1830)
phone_look("did the next page load?")

5つの動詞、フレームワークなし: エージェントはそれらを組み合わせて、必要なワークフローを構成します。あらゆるMCPクライアント (Claude Code、Codex、Cursor、dshなど) で動作します。

なぜ

スマホで動くものを構築・テストするなら、このループをご存じでしょう: 実機でレイアウトが崩れ、手動でスクリーンショットを撮り、画面を言葉で説明し(「右上の歯車、アカウントの隣」)、エージェントとスマホの間で座標デコーダーを演じる。Phone-Eyeはそのループを閉じます — エージェントは、コードベースで反復するのと同じように、デバイスと反復します。

融合された2つのチャネル:

  • ビジョン — ビジョンモデルが、ライブスクリーンショットに関する自然言語の質問に答えます(ゲームキャンバス、画像、ピクセルが表示できるあらゆるものに対応)。

  • UIツリー — アクセシビリティツリーが持つ正確なテキストと境界を取得するためのuiautomatorダンプ。

ビジョンはプラグ可能です。 describe_image(path, question)を公開するMCPサーバーならどれでも動作します — クラウドのGLMビジョンがすぐに使えるほか、ローカルのQwen-VLエンドポイントを指定すれば、ピクセルがLAN外に出ることはありません。

Related MCP server: scrcpy-mcp

インストール

要件: Python 3.10以上、PATHにadb(platform-tools / android-tools)、USBデバッグが有効なスマホ、そして任意のMCPビジョンサーバー。

git clone https://github.com/boheastill/phone-eye
cd phone-eye
pip install -r requirements.txt

# env (defaults shown):
export ANDROID_SERIAL=""                      # empty = first adb device; or 192.168.x.x:5555
export PHONE_EYE_VISION_URL="http://127.0.0.1:8102/mcp"  # your vision MCP

クライアント(stdio)に接続します:

// Claude Code / dsh-mcp-client / any stdio MCP config
{
  "mcpServers": {
    "phone-eye": { "command": "python", "args": ["/path/to/phone-eye/server.py"] }
  }
}

または、自社のフリートの背後でHTTPサービス(streamable-http)として実行し、http://<host>:8122/mcpを追加します — docs/fleet.mdを参照。

スマホを接続する(一度だけ)

USBで一度接続すれば、その後はWi-Fiでずっと使えます:

adb devices                      # USB: accept the debugging prompt on the phone
adb tcpip 5555                   # switch to Wi-Fi mode
adb connect <phone-ip>:5555      # unplug and go

ツール

Tool

説明

phone_look(question?, use_tree?)

ライブ画面についてビジョンモデルに質問; UIツリーのテキストと境界を融合

phone_tap(x, y)

タップ

phone_swipe(x1, y1, x2, y2, ms?)

スワイプ

phone_type(text)

ASCIIを入力(スペース可; CJKはクリップボード経由が必要 — 既知のadbの癖)

phone_screenshot()

スクリーンショットをディスクに保存し、パスを返す

できること / できないこと

✔ 1台の実Androidデバイスに対するエージェントの目と手、デバイスへのインストール不要、root不要 ✔ ビジョン優先(UIツリーでは見えない場所でも機能)で、精度のためのツリー融合 ✔ プライバシーオプション: ビジョンをLAN限定モデルに向ける

✘ テストフレームワークではない(DSL/レコーダーなし — エージェントがロジック) ✘ iOSではない、デバイスファームでもない(まだ) ✘ 人間向けのモバイルUIではない(それは別の製品)

ステータスとロードマップ

フェーズ1(現在): 5つの動詞、単一デバイス、プラグ可能なビジョン — 実ハードウェア(Redmi K40 Gaming / Android 13)でエンドツーエンドに検証済み。これまでの一番のお気に入りの芸当: 自分の画面に表示されたUSBデバッグ認証ダイアログを発見し、ボタンを読み取り、「許可」を自分でタップしました。

  • フェーズ2: オフラインビジョンのクイックスタート、マルチデバイス対応、リトライ/検証ラッパー

  • その他すべて: リクエスト駆動 — イシューを開くとキューで優先されます。

ライセンス

MIT

FAQ

ビジョンサーバー?持っていません。 describe_image(path, question)を公開するMCPサーバーならどれでも動作します。最も手軽なクラウドオプションはGLMビジョンエンドポイントです。完全オフラインの場合は、ローカルのQwen-VL(llama.cpp / OllamaのOpenAI互換 + 20行のアダプター)で、すべてのピクセルをLAN内に保てます。

なぜdshネイティブプラグインではないのですか? MCPファーストにより、同じ5つの動詞がすべてのクライアントで機能します。dshユーザーは@deepseek-ai/dsh-mcp-clientまたはdsh plugin addで接続できます。

検証済みデバイス

デバイス

Android

接続

備考

Redmi K40 Gaming (ares)

13 (HyperOS)

Wi-Fi adb (adb tcpip 5555)

作者のフリートの日常使用機

この表にPRで追加してください。

A
license - permissive license
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables full Android control from any AI agent via 7 MCP tools, including screen capture, touch interaction, app management, and system control.
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    MCP 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.
    38
    259
    86
    MIT
  • A
    license
    B
    quality
    B
    maintenance
    An 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.
    13
    9
    1
    Apache 2.0

View all related MCP servers

Related MCP Connectors

  • OCR, transcription, file extraction, and image generation for AI agents via MCP.

  • Give AI agents real phone numbers, messages, and voice calls via MCP.

  • Live browser debugging for AI assistants — DOM, console, network via MCP.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/boheastill/phone-eye'

If you have feedback or need assistance with the MCP directory API, please join our Discord server