ERIUS PHONE

io.github.Protremix由 GitHub 帳號 Protremix 發布v0.2.0更新於 Oct 28, 2026

Drive a hosted ERIUS PHONE Android device: read the screen, tap, type, install APKs, get crash logs.

發布方自己的服務:PhoneMCP: AI-powered texts

概覽

AI 產生的概覽

讓助理操作託管的 ERIUS PHONE Android 裝置:讀取畫面、點擊輸入、啟動應用程式、安裝 APK 並取得當機日誌。

可以做什麼
  • 查看帳號資訊、列出裝置與即時狀態,或查詢單一裝置的前景應用程式
  • 以無障礙樹或截圖影像讀取畫面,或等待指定文字出現
  • 在裝置上點擊、長按、輸入文字、按鍵、滑動與捲動
  • 啟動、停止、列出、安裝與解除安裝應用程式,開啟網址並送出 intent
  • 讀取裝置的當機日誌緩衝區以取得堆疊資訊
適用情境
適合需要讓助理操作真實 Android 手機或平板進行應用程式測試、QA、介面自動化或重現當機的情況,不必自行撰寫 adb 串接程式碼。
執行需求
透過 uvx 或 pip 以 stdio 在本機執行,需要 Python 3.10+ 以及連線 ERIUS PHONE API 的網路。需要申請早期存取取得的 API 金鑰,放在 ERIUS_PHONE_API_KEY;ERIUS_PHONE_DEFAULT_DEVICE 為選用。變數需寫入 MCP 客戶端的 env 設定區塊。
安裝前請注意
API 金鑰可控制裝置,應像密碼一樣保管,不要寫進共享設定檔。助理可以改變裝置狀態:點擊、輸入、安裝與解除安裝應用程式、強制停止以及送出 intent。install_apk 會把本機 APK 檔案完整上傳到託管服務,截圖與畫面資料也會傳送給該第三方。此套件仍為 1.0 之前的早期版本,工具名稱與參數可能變動。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 ERIUS PHONE,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

erius-phone-mcp

[Erius Phone Mcp on AI Agents Listing] [M8ven Score]

An MCP server that turns your ERIUS PHONE device into native tools for Claude Code, Claude Desktop, Cursor, or any other MCP client. An ERIUS PHONE device is a real Android phone or tablet dedicated to your agent. Once this server is connected, your agent can:

  • list its devices
  • read the screen as an accessibility tree or a screenshot
  • tap, long-press, type, swipe and scroll
  • launch and stop apps, open URLs and send intents
  • install and uninstall APKs
  • pull crash logs

The agent drives the device directly. You don't write any glue code.

Early access: this package is pre-1.0 (0.2.0). Tool names and arguments may still change before 1.0.

Requirements

Install

Option A: uvx (no install step). If you have uv, your MCP client can launch the server with uvx erius-phone-mcp. uv fetches the package and keeps it in its own environment. The client configs below show this form.

Option B: pip, into its own virtual environment so its dependencies don't clash with your other Python projects:

bash
python3 -m venv ~/.venvs/erius-phone-mcp~/.venvs/erius-phone-mcp/bin/pip install erius-phone-mcp

This installs an erius-phone-mcp command at ~/.venvs/erius-phone-mcp/bin/erius-phone-mcp. Use that absolute path as the command in your client config: GUI apps such as Claude Desktop and Cursor usually don't see your venv's PATH. python -m erius_phone_mcp does the same thing as running the command.

Configuration

The server is configured entirely through environment variables:

VariableRequiredWhat it is
ERIUS_PHONE_API_KEYyesYour ERIUS PHONE API key. Every request is authenticated with it and scoped to your account.
ERIUS_PHONE_DEFAULT_DEVICEnoThe device id to use when a tool call doesn't name one (e.g. vanilla). Without it, the agent passes device on each call; list_devices shows the ids.
ERIUS_PHONE_API_URLnoAPI base URL. Default https://api.eriusphone.com; only set it if we gave you a different one.
ERIUS_PHONE_TIMEOUTnoHTTP timeout per request, in seconds. Default 30.

Getting an API key

Request access at https://eriusphone.com. During early access the ERIUS PHONE team sets up each account by hand. You'll receive your API key and device id(s) directly from us. If you signed up and haven't heard back, email [email protected]. The same key signs you in to the dashboard at https://eriusphone.com/dashboard/, which shows your devices live.

Treat the key like a password: anyone who has it can control your device.

Important: MCP clients start this server as a subprocess, and they generally do not pass along variables you export in your shell. Put the variables in the client's env block, as shown below.

Add it to your MCP client

In every example, replace the key and device id with your own. If you installed with pip instead of using uvx, replace "command": "uvx", "args": ["erius-phone-mcp"] with "command": "/home/you/.venvs/erius-phone-mcp/bin/erius-phone-mcp".

Claude Code

bash
claude mcp add erius-phone \  -e ERIUS_PHONE_API_KEY=your-api-key \  -e ERIUS_PHONE_DEFAULT_DEVICE=your-device-id \  -- uvx erius-phone-mcp

Add -s user to make the server available in all your projects, or -s project to write it to a shared .mcp.json. Don't commit your key to a shared .mcp.json. Claude Code expands ${VAR} references in that file, so you can keep the key in an environment variable instead:

json
{  "mcpServers": {    "erius-phone": {      "command": "uvx",      "args": ["erius-phone-mcp"],      "env": {        "ERIUS_PHONE_API_KEY": "${ERIUS_PHONE_API_KEY}",        "ERIUS_PHONE_DEFAULT_DEVICE": "your-device-id"      }    }  }}

Run /mcp inside Claude Code to check that erius-phone is connected.

Claude Desktop

Edit claude_desktop_config.json (Settings → Developer → Edit Config). On macOS it's in ~/Library/Application Support/Claude/; on Windows it's in %APPDATA%\Claude\.

json
{  "mcpServers": {    "erius-phone": {      "command": "uvx",      "args": ["erius-phone-mcp"],      "env": {        "ERIUS_PHONE_API_KEY": "your-api-key",        "ERIUS_PHONE_DEFAULT_DEVICE": "your-device-id"      }    }  }}

If Claude Desktop can't find uvx, put its absolute path in command (which uvx). Fully quit and reopen Claude Desktop after editing.

Cursor

Put the same mcpServers block in ~/.cursor/mcp.json to use it in all projects, or in .cursor/mcp.json for one project. Then enable erius-phone under Cursor Settings → MCP.

Any other MCP client

The server speaks MCP over stdio. Point your client at uvx erius-phone-mcp, or at the erius-phone-mcp executable, and pass the environment variables above.

Tools

Every tool that acts on a device takes an optional device argument. If you leave it out, the tool uses ERIUS_PHONE_DEFAULT_DEVICE.

Account and devices

ToolDescription
whoamiWhich account and key this server is using, and the device ids it can access. A quick way to check the key works.
list_devicesEvery device your key can access, with live status (booted, Android version, screen size).
get_deviceFull status of one device, including the app currently in the foreground.

Seeing the screen

ToolDescription
snapshotAccessibility-tree snapshot of the current screen: every visible element with its text, role and a ref you can pass to tap/type/scroll. Refs reset on every snapshot.
screenshotThe screen as MCP image content, so the model sees it directly. Default: JPEG, longest side 1024 px (tens of KB). format, quality, max_side and scale change that; format="png", max_side=null gives the full-size PNG (about 3 MB on a phone). A text line gives the image and screen sizes.
foregroundJust the foreground app (package, activity) and whether a crash dialog is showing.
wait_for_textWait until some text appears on screen, up to timeout_ms (max 120000). Returns the snapshot it saw.

Acting on the screen

ToolDescription
tapTap by ref, by visible text/content_desc, or at raw x,y pixels.
long_pressLong-press by ref, by text/content_desc, or at x,y (optional hold time ms).
type_textType into a field. Can tap a ref/text_target first, clear the field, and press Enter after.
press_keyback, home, enter, delete, tab, escape, up, down, left, right, space, power, volup, voldown, recent, menu, wakeup, or a numeric keycode.
swipeSwipe between two points in device pixels.
scrollScroll a container up/down/left/right. Pass the ref of the ScrollView/List itself, not of a row inside it.

Apps

ToolDescription
launch_appLaunch an installed app by package name (e.g. com.android.settings).
open_urlOpen an http/https/market URL, optionally in a specific app.
send_intentStart an activity with any intent action, e.g. android.settings.WIFI_SETTINGS, with optional data, package, component and extras.
stop_appForce-stop an app.
list_appsInstalled apps; third_party_only=True for user-installed ones only.
install_apkUpload and install an APK from a file on the machine running this server. Returns package name, version, and whether the install succeeded.
uninstall_appUninstall an app by package name.
get_crash_logThe device's crash log buffer (logcat -b crash). Use it after an app crashes to see the real stack trace.

Quick example

Once the server is connected, ask your agent in plain language, e.g. "List my ERIUS devices, go to the home screen, and open Contacts." Here's what happens under the hood. The outputs below are real, lightly trimmed.

1. Find your device. The agent calls list_devices:

json
{"devices": [  {"id": "vanilla", "description": "redroid Android 13, no Google services", "state": "device",   "bootCompleted": true, "android": "13", "sdk": 33, "screen": {"width": 720, "height": 1280}},  {"id": "tablet1", "form": "tablet", "description": "redroid Android 13 (vanilla, tablet)", "state": "device",   "bootCompleted": true, "android": "13", "sdk": 33, "screen": {"width": 1600, "height": 2560}}]}

2. Go home and look at the screen. press_key(key="home", device="vanilla") returns {"ok": true}, then snapshot(device="vanilla") returns the foreground app plus this tree:

- Group  - ScrollView [ref=1]    - Group      - AppWidgetHostView (Search)        ...      - Text [ref=4] "Gallery" (Gallery)  - View (Home)  - Group    - Text [ref=5] "Contacts" (Contacts)    - Text [ref=6] "WebView Browser Tester" (WebView Browser Tester)    - Text [ref=7] "Camera" (Camera)

3. Tap something. tap(device="vanilla", ref="5"), tap(device="vanilla", text="Contacts") and tap(device="vanilla", x=102, y=1116) all open Contacts and return {"ok": true}. After any action, take a fresh snapshot, because refs are only valid until the next one.

4. Check the result. foreground(device="vanilla") now reports the Contacts app, and screenshot(device="vanilla") returns the screen as an image your agent sees directly.

Installing an APK for QA works the same way:

install_apk(device="vanilla", apk_path="/path/to/app.apk")→ {"ok": true, "package": "com.erius.dashtest", "versionName": "1.0", "label": "ERIUS Dash Test",   "adbOutput": "Performing Streamed Install\nSuccess", "ms": 94, ...}

Tips and limits

  • Errors are passed through. If the API refuses an action, the tool call fails with the API's error code and message, e.g. HTTP 404: SelectorNotFound ... nothing on screen matches {"text": "..."} or HTTP 422: no_launcher_activity. The agent can read the message and adjust.
  • Typing needs a ready field. Keystrokes sent while a field is still opening are lost. If tapping a field opens a new screen (as Android Settings' search does), tap it, wait with snapshot/wait_for_text, then call type_text without a target. Check the result with snapshot.
  • ASCII-only typing. type_text supports printable ASCII only (an adb limitation): no emoji, accented characters or non-Latin scripts.
  • Scroll by container. scroll needs the ref of the scrollable container (a ScrollView/List line in the snapshot). If the container has no ref, use swipe.
  • Screenshots cost context. The default screenshot is a JPEG with its longest side at 1024 px (tens of KB). A full-size PNG of a phone (1440×3120) is about 3 MB, more than many MCP clients accept in one tool result. Prefer snapshot (text, much smaller) and take screenshots only when you need pixels.
  • Coordinates from a scaled screenshot. x,y are device pixels unless you pass image_width and image_height (the size of the screenshot you read them from) to tap, long_press or swipe.
  • install_apk reads a local file. The path is on the machine running erius-phone-mcp, not on the phone. The APK is streamed from disk and uploaded in full on each call.
  • One server process = one API key. To use several accounts, add several server entries with different names and keys.
  • Rate limits. The API allows about 30 requests per second per IP and queues at most 8 requests per device; beyond that you get HTTP 429.

Troubleshooting

  • ERIUS_PHONE_API_KEY is not set: the variable didn't reach the server process. Put it in the client's env block, not just your shell. The server also prints a warning about this on stderr at startup, which shows up in your client's MCP logs.
  • no device id given and ERIUS_PHONE_DEFAULT_DEVICE is not set: pass device= in the tool call or set ERIUS_PHONE_DEFAULT_DEVICE. list_devices shows your ids.
  • HTTP 401: the key is wrong or revoked. HTTP 403: the device id doesn't exist or isn't on your account. Run whoami to see which devices your key can use.
  • HTTP 503 device_offline: the device is restarting. Retry shortly.
  • could not reach the ERIUS PHONE API at ...: the URL is wrong, or the API is unreachable from your machine. Check ERIUS_PHONE_API_URL, and raise ERIUS_PHONE_TIMEOUT if you're on a slow link.

License

MIT. The full license text is in the LICENSE file shipped with the package.

來源:README.md,提交 dbb6310

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.2.0最新Oct 10, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Phone-Mcp 整合