Skip to content

Mobile MCP: let AI agents drive your iOS and Android apps. MCP server for simulators, emulators and real devices. Works with Claude Code, Codex, Cursor and any MCP client.

docs: translate README to Japanese and Simplified Chinese

gmegidish2d9e23b1fdb4
diff --git a/README.ja.md b/README.ja.md
new file mode 100644
index 0000000..dccd365
--- /dev/null
+++ b/README.ja.md
@@ -0,0 +1,572 @@
+# Mobile Next - モバイル開発・自動化のための MCP サーバー | iOS、Android、シミュレーター、エミュレーター、実機
+
+[English](README.md) | **日本語** | [简体中文](README.zh-CN.md)
+
+これは MCP サーバーです。プラットフォームに依存しないインターフェースを通じて、スケーラブルなモバイル自動化と開発を可能にし、iOS や Android の個別知識を不要にします。エミュレーター、シミュレーター、実機(iOS および Android)で実行できます。
+
+このサーバーにより、エージェントや LLM は、構造化されたアクセシビリティスナップショット、またはスクリーンショットに基づく座標タップを通じて、ネイティブの iOS / Android アプリケーションおよびデバイスを操作できます。
+
+**Claude Code、Codex、Gemini、GitHub Copilot、Antigravity に対応** — その他 MCP 互換クライアントでも動作します。
+
+自分のマシン上のデバイスに対して実行することも、**[Mobile Next Cloud](https://mobilenext.ai/cloud?utm_source=github&utm_medium=readme&utm_campaign=mobile-mcp&utm_content=intro)** 上の実際の iOS / Android 実機に対して実行することもできます。同じツール群を、ローカルセットアップなしで利用できます。
+
+<h4 align="center">
+ <a href="https://github.com/mobile-next/mobile-mcp">
+ <img src="https://img.shields.io/github/stars/mobile-next/mobile-mcp" alt="Mobile Next Stars" />
+ </a>
+ <a href="https://www.npmjs.com/package/@mobilenext/mobile-mcp">
+ <img src="https://img.shields.io/npm/dm/@mobilenext/mobile-mcp?logo=npm&style=flat&color=red" alt="npm" />
+ </a>
+ <a href="https://github.com/mobile-next/mobile-mcp/releases">
+ <img src="https://img.shields.io/github/release/mobile-next/mobile-mcp" />
+ </a>
+ <a href="https://insiders.vscode.dev/redirect?url=vscode%3Amcp%2Finstall%3F%7B%22name%22%3A%22mobile-mcp%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40mobilenext%2Fmobile-mcp%40latest%22%5D%7D">
+ <img src="https://img.shields.io/badge/VS_Code-VS_Code?style=flat-square&label=Install%20Server&color=0098FF" alt="Install in VS Code" />
+ </a>
+ <a href="https://github.com/mobile-next/mobile-mcp/wiki">
+ <img src="https://img.shields.io/badge/documentation-wiki-blue" alt="wiki" />
+ </a>
+ <a href="https://mobilenext.ai/join-slack?utm_source=github&utm_medium=readme&utm_campaign=mobile-mcp&utm_content=badge">
+ <img src="https://img.shields.io/badge/join-Slack-blueviolet?logo=slack&style=flat" alt="join on Slack" />
+ </a>
+</h4>
+
+
+https://github.com/user-attachments/assets/bb084777-beb3-4930-ae6f-8d3fe694ddde
+
+
+<p align="center">
+ <a href="https://github.com/mobile-next/">
+ <img alt="mobile-mcp" src="https://raw.githubusercontent.com/mobile-next/mobile-next-assets/refs/heads/main/mobile-mcp-banner.png" width="600" />
+ </a>
+</p>
+
+### 主なユースケース
+
+モバイル自動化のスケールをどのように支援するか:
+
+- 📲 テストやデータ入力シナリオのためのネイティブアプリ自動化(iOS および Android)
+- 📝 シミュレーター / エミュレーターや実機(iPhone、Samsung、Google Pixel など)を手動操作せずに実行するスクリプト化されたフローとフォーム入力
+- 🧭 LLM が駆動する複数ステップのユーザージャーニーの自動化
+- 👆 エージェントベースのフレームワークのための汎用的なモバイルアプリケーション操作
+- 🤖 モバイル自動化やデータ抽出のユースケースにおけるエージェント間通信の実現
+
+## 主な機能
+
+- 🚀 **アクセシビリティ優先 — 高速かつ低コスト**: ネイティブのアクセシビリティツリーからアプリを操作します(ビジョンモデル不要、画像トークン不要)。必要な場合のみスクリーンショット + 座標にフォールバックします。
+- 📱 **1 つの API であらゆるターゲットへ**: 同じツールが iOS と Android の両方で動作します — シミュレーター、エミュレーター、実機を問いません。
+- 🧠 **プラットフォームの専門知識は不要**: XCUITest も Espresso もプラットフォームごとのつなぎコードも不要です。目的を伝えればエージェントが実行します。
+- 🧰 **完全なデバイス制御**: タップ、スワイプ、ジェスチャー、アプリのインストール / 起動 / 終了、画面録画、ハードウェアボタン、ディープリンク、画面の向き。
+- 📊 **構造化された決定的な出力**: 実際の UI 要素を読み取って構造化データを抽出し、スクリーンショットのみのアプローチにありがちな曖昧さを削減します。
+
+### 🎯 対応プラットフォーム
+
+| ターゲット | 対応 | セットアップ |
+|---|:---:|---|
+| iOS シミュレーター | ✅ | Xcode と起動済みのシミュレーター (`xcrun simctl`) |
+| iOS 実機 | ✅ | USB 接続され、信頼済みのデバイス |
+| Android エミュレーター | ✅ | Android SDK と実行中のエミュレーター (`adb`) |
+| Android 実機 | ✅ | `adb` と、有効化・認可済みの USB デバッグ |
+
+## 🔧 利用可能な MCP ツール
+
+### デバイス管理
+- **`mobile_list_available_devices`** - 利用可能なすべてのデバイス(シミュレーター、エミュレーター、実機)を一覧表示します
+- **`mobile_get_screen_size`** - モバイルデバイスの画面サイズをピクセル単位で取得します
+- **`mobile_get_orientation`** - デバイスの現在の画面の向きを取得します
+- **`mobile_set_orientation`** - 画面の向きを変更します(縦向き / 横向き)
+- **`mobile_set_location`** - デバイスが報告する GPS 位置情報を上書きする、または上書きを解除します
+- **`mobile_clipboard`** - デバイスのクリップボードを読み取る、または置き換えます
+
+### リモートデバイス(Mobile Next Cloud)
+- **`mobile_login_to_cloud_provider`** - このマシンをクラウドデバイスプロバイダーで認証します(ブラウザベースのデバイスコードログイン)
+- **`mobile_list_remote_devices`** - クラウドフリートから予約可能なデバイスモデルを一覧表示します
+- **`mobile_allocate_remote_device`** - 物理クラウドデバイスを専有利用のために予約します
+- **`mobile_release_remote_device`** - 予約済みのクラウドデバイスをフリートに返却します
+
+### アプリ管理
+- **`mobile_list_apps`** - デバイスにインストールされているすべてのアプリを一覧表示します
+- **`mobile_get_foreground_app`** - 現在フォアグラウンドにあるアプリを取得します
+- **`mobile_launch_app`** - パッケージ名を指定してアプリを起動します
+- **`mobile_terminate_app`** - 実行中のアプリを停止・終了します
+- **`mobile_install_app`** - ファイル(.apk、.ipa、.app、.zip)からアプリをインストールします
+- **`mobile_uninstall_app`** - バンドル ID またはパッケージ名を指定してアプリをアンインストールします
+
+### 画面操作
+- **`mobile_take_screenshot`** - 画面に何が表示されているかを把握するためにスクリーンショットを撮影します
+- **`mobile_save_screenshot`** - スクリーンショットをファイルに保存します
+- **`mobile_list_elements_on_screen`** - UI 要素を座標やプロパティとともに一覧表示します
+- **`mobile_click_on_screen_at_coordinates`** - 指定した x,y 座標をクリックします
+- **`mobile_double_tap_on_screen`** - 指定した座標をダブルタップします
+- **`mobile_long_press_on_screen_at_coordinates`** - 指定した座標を長押しします
+- **`mobile_swipe_on_screen`** - 任意の方向にスワイプします(上、下、左、右)
+- **`mobile_start_screen_recording`** - デバイス画面の録画をビデオファイルへ開始します
+- **`mobile_stop_screen_recording`** - 実行中の画面録画を停止し、ビデオを保存します
+
+### 入力とナビゲーション
+- **`mobile_type_keys`** - フォーカスされた要素にテキストを入力します(送信の有無を選択可能)
+- **`mobile_press_button`** - デバイスのボタンを押します(HOME、BACK、VOLUME_UP/DOWN、ENTER など)
+- **`mobile_open_url`** - デバイスのブラウザで URL を開きます
+
+### ログとクラッシュレポート
+- **`mobile_get_device_logs`** - デバイスのライブログを収集します(Android は logcat、iOS は unified log)。ファイルへの保存も可能です
+- **`mobile_list_crashes`** - デバイス上で利用可能なクラッシュレポートを一覧表示します
+- **`mobile_get_crash`** - ID を指定してクラッシュレポートの全文を取得します
+
+## 🏗️ Mobile MCP のアーキテクチャ
+
+<p align="center">
+ <a href="https://raw.githubusercontent.com/mobile-next/mobile-next-assets/refs/heads/main/mobile-mcp-arch-1.png">
+ <img alt="mobile-mcp" src="https://raw.githubusercontent.com/mobile-next/mobile-next-assets/refs/heads/main/mobile-mcp-arch-1.png" width="600">
+ </a>
+</p>
+
+
+## 📚 Wiki ページ
+
+セットアップ、設定、デバッグに関する詳細は [wiki ページ](https://github.com/mobile-next/mobile-mcp/wiki) をご覧ください。
+
+
+## 前提条件
+
+MCP をエージェントおよびモバイルデバイスに接続するために必要なもの:
+
+- [Xcode コマンドラインツール](https://developer.apple.com/xcode/resources/)
+- [Android Platform Tools](https://developer.android.com/tools/releases/platform-tools)
+- [node.js](https://nodejs.org/en/download/) v20 以上
+- [MCP](https://modelcontextprotocol.io/introduction) に対応した基盤モデルまたはエージェント。例: [Claude MCP](https://modelcontextprotocol.io/quickstart/server)、[OpenAI Agent SDK](https://openai.github.io/openai-agents-python/mcp/)、[Copilot Studio](https://www.microsoft.com/en-us/microsoft-copilot/blog/copilot-studio/introducing-model-context-protocol-mcp-in-copilot-studio-simplified-integration-with-ai-apps-and-agents/)
+
+## インストールと設定
+
+**標準設定** はほとんどのツールで動作します:
+
+```json
+{
+ "mcpServers": {
+ "mobile-mcp": {
+ "command": "npx",
+ "args": ["-y", "@mobilenext/mobile-mcp@latest"]
+ }
+ }
+}
+```
+
+<details>
+<summary>Amp</summary>
+
+Amp の VS Code 拡張機能の設定画面から追加するか、`settings.json` ファイルを更新してください:
+
+```json
+"amp.mcpServers": {
+ "mobile-mcp": {
+ "command": "npx",
+ "args": [
+ "@mobilenext/mobile-mcp@latest"
+ ]
+ }
+}
+```
+
+**Amp CLI:**
+
+ターミナルで次のコマンドを実行します:
+
+```bash
+amp mcp add mobile-mcp -- npx @mobilenext/mobile-mcp@latest
+```
+
+</details>
+
+<details>
+<summary>Antigravity 2</summary>
+
+Antigravity には MCP サーバーを追加する CLI コマンドがないため、手動で追加します。`~/.gemini/config/mcp_config.json` を編集して次を追加してください:
+
+```json
+{
+ "mcpServers": {
+ "mobile-mcp": {
+ "command": "npx",
+ "args": ["-y", "@mobilenext/mobile-mcp@latest"]
+ }
+ }
+}
+```
+
+</details>
+
+<details>
+<summary>Cline</summary>
+
+Cline をセットアップするには、上記の json を MCP 設定ファイルに追加するだけです。
+
+[詳細は wiki をご覧ください](https://github.com/mobile-next/mobile-mcp/wiki/Cline)
+
+</details>
+
+<details>
+<summary>Claude Code</summary>
+
+Claude Code CLI を使って Mobile MCP サーバーを追加します:
+
+```bash
+claude mcp add mobile-mcp -- npx -y @mobilenext/mobile-mcp@latest
+```
+</details>
+
+<details>
+<summary>Claude Desktop</summary>
+
+[MCP インストールガイド](https://modelcontextprotocol.io/quickstart/user) に従い、上記の json 設定を使用してください。
+
+</details>
+
+<details>
+<summary>Codex</summary>
+
+Codex CLI を使って Mobile MCP サーバーを追加します:
+
+```bash
+codex mcp add mobile-mcp npx "@mobilenext/mobile-mcp@latest"
+```
+
+あるいは、設定ファイル `~/.codex/config.toml` を作成または編集して次を追加します:
+
+```toml
+[mcp_servers.mobile-mcp]
+command = "npx"
+args = ["@mobilenext/mobile-mcp@latest"]
+```
+
+詳細は Codex の MCP ドキュメントをご覧ください。
+
+</details>
+
+<details>
+<summary>Copilot</summary>
+
+Copilot CLI を使って対話的に Mobile MCP サーバーを追加します:
+
+```text
+/mcp add
+```
+
+設定ファイル `~/.copilot/mcp-config.json` を編集して次を追加することもできます:
+
+```json
+{
+ "mcpServers": {
+ "mobile-mcp": {
+ "type": "local",
+ "command": "npx",
+ "tools": [
+ "*"
+ ],
+ "args": [
+ "@mobilenext/mobile-mcp@latest"
+ ]
+ }
+ }
+}
+```
+
+詳細は Copilot CLI のドキュメントをご覧ください。
+
+</details>
+
+<details>
+<summary>Cursor</summary>
+
+#### ボタンをクリックしてインストール:
+
+[<img src="https://cursor.com/deeplink/mcp-install-dark.svg" alt="Install in Cursor">](https://cursor.com/en/install-mcp?name=Mobile%20MCP&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBtb2JpbGVuZXh0L21vYmlsZS1tY3BAbGF0ZXN0Il19)
+
+#### または手動でインストール:
+
+`Cursor Settings` -> `MCP` -> `Add new MCP Server` を開きます。名前は任意で、`command` タイプを選び、コマンドに `npx -y @mobilenext/mobile-mcp@latest` を指定します。`Edit` をクリックして設定の確認やコマンド引数の追加もできます。
+
+</details>
+
+<details>
+<summary>Gemini CLI</summary>
+
+Gemini CLI を使って Mobile MCP サーバーを追加します:
+
+```bash
+gemini mcp add mobile-mcp npx -y @mobilenext/mobile-mcp@latest
+```
+
+</details>
+
+<details>
+<summary>Goose</summary>
+
+#### ボタンをクリックしてインストール:
+
+[![Install in Goose](https://block.github.io/goose/img/extension-install-dark.svg)](https://block.github.io/goose/extension?cmd=npx&arg=-y&arg=%40mobilenext%2Fmobile-mcp%40latest&id=mobile-mcp&name=Mobile%20MCP&description=Mobile%20automation%20and%20development%20for%20iOS%2C%20Android%2C%20simulators%2C%20emulators%2C%20and%20real%20devices)
+
+#### または手動でインストール:
+
+`Advanced settings` -> `Extensions` -> `Add custom extension` を開きます。名前は任意で、タイプに `STDIO` を選び、`command` に `npx -y @mobilenext/mobile-mcp@latest` を設定します。「Add Extension」をクリックしてください。
+
+</details>
+
+<details>
+<summary>Kiro</summary>
+
+MCP サーバーの[ドキュメント](https://kiro.dev/docs/mcp/)に従ってください。例えば `.kiro/settings/mcp.json` に次のように記述します:
+
+```json
+{
+ "mcpServers": {
+ "mobile-mcp": {
+ "command": "npx",
+ "args": [
+ "@mobilenext/mobile-mcp@latest"
+ ]
+ }
+ }
+}
+```
+
+</details>
+
+<details>
+<summary>opencode</summary>
+
+MCP サーバーのドキュメントに従ってください。例えば `~/.config/opencode/opencode.json` に次のように記述します:
+
+```json
+{
+ "$schema": "https://opencode.ai/config.json",
+ "mcp": {
+ "mobile-mcp": {
+ "type": "local",
+ "command": [
+ "npx",
+ "@mobilenext/mobile-mcp@latest"
+ ],
+ "enabled": true
+ }
+ }
+}
+```
+
+</details>
+
+<details>
+<summary>Windsurf</summary>
+
+Windsurf の設定を開き、MCP servers に移動して、`command` タイプの新しいサーバーを次の内容で追加します:
+
+```bash
+npx @mobilenext/mobile-mcp@latest
+```
+
+または、上記の標準設定を設定ファイルの `mcpServers` の下に追加してください。
+
+</details>
+
+
+[詳細は wiki をご覧ください](https://github.com/mobile-next/mobile-mcp/wiki)! 🚀
+
+### ✅ 動作確認
+
+サーバーの設定が完了したら、エージェントにデバイスの一覧を尋ねてみましょう:
+
+> list available devices
+
+実行中のシミュレーター、エミュレーター、接続済みのデバイスが返ってくるはずです。返ってくれば、Mobile MCP は正しく設定されています。リストが空の場合は、シミュレーターまたはエミュレーターが起動していることを確認してください([前提条件](#前提条件)を参照)。さらに詳しくは [wiki](https://github.com/mobile-next/mobile-mcp/wiki) をご覧ください。
+
+### ☁️ クラウドデバイスでスケールする
+
+数百台規模のデバイスにスケールしたい場合は? CI/CD パイプラインで Mobile MCP を使いたい場合は?
+
+エージェントで次のようにプロンプトを入力してください:
+```text
+log in to mobile next cloud and then show me which remote devices are available to me
+```
+
+### SSE サーバーモード
+
+Mobile MCP はデフォルトで stdio 上で動作します。代わりに SSE サーバーを起動するには、`--listen` フラグを使用します:
+
+```bash
+npx @mobilenext/mobile-mcp@latest --listen 3000
+```
+
+これは `localhost:3000` にバインドします。特定のインターフェースにバインドするには:
+
+```bash
+npx @mobilenext/mobile-mcp@latest --listen 0.0.0.0:3000
+```
+
+その後、MCP クライアントが `http://<host>:3000/mcp` に接続するよう設定します。
+
+#### 認可
+
+SSE サーバーで Bearer トークンによる認可を要求するには、環境変数 `MOBILEMCP_AUTH` を設定します:
+
+```bash
+MOBILEMCP_AUTH=my-secret-token npx @mobilenext/mobile-mcp@latest --listen 3000
+```
+
+設定すると、すべてのリクエストにヘッダー `Authorization: Bearer my-secret-token` を含める必要があります。
+
+### 🛠️ 使い方
+
+IDE / クライアントに MCP サーバーを追加したら、AI アシスタントに対して利用可能なツールを使うよう指示できます。
+例えば Cursor のエージェントモードでは、以下のプロンプトを使って UI 操作の検証・テスト・改善を素早く行ったり、画面から情報を読み取ったり、複雑なワークフローを実行したりできます。
+具体的に、要点を押さえて記述してください。
+
+### ✨ プロンプト例
+
+#### ワークフロー
+
+1 つのプロンプトで詳細なワークフローを指定し、ビジネスロジックを検証したり、自動化を構築したりできます。かなり大胆な指示も可能です:
+
+**動画を検索し、コメント、いいね、共有する**
+```
+Find the video called " Beginner Recipe for Tonkotsu Ramen" by Way of
+Ramen, click on like video, after liking write a comment " this was
+delicious, will make it next Friday", share the video with the first
+contact in your whatsapp list.
+```
+
+**人気の歩数計アプリをダウンロードし、登録し、ワークアウトを設定して 5 つ星を付ける**
+```
+Find and Download a free "Pomodoro" app that has more than 1k stars.
+Launch the app, register with my email, after registration find how to
+start a pomodoro timer. When the pomodoro timer started, go back to the
+app store and rate the app 5 stars, and leave a comment how useful the
+app is.
+```
+
+**Substack で検索し、記事を読み、ハイライト、コメント、保存する**
+```
+Open Substack website, search for "Latest trends in AI automation 2025",
+open the first article, highlight the section titled "Emerging AI trends",
+and save article to reading list for later review, comment a random
+paragraph summary.
+```
+
+**ワークアウトのクラスを予約し、タイマーを設定する**
+```
+Open ClassPass, search for yoga classes tomorrow morning within 2 miles,
+book the highest-rated class at 7 AM, confirm reservation,
+setup a timer for the booked slot in the phone
+```
+
+**地域のイベントを探し、カレンダーに予定を登録する**
+```
+Open Eventbrite, search for AI startup meetup events happening this
+weekend in "Austin, TX", select the most popular one, register and RSVP
+yes to the event, setup a calendar event as a reminder.
+```
+
+**天気予報を確認し、Whatsapp / Telegram / Slack でメッセージを送る**
+```
+Open Weather app, check tomorrow's weather forecast for "Berlin", and
+send the summary via Whatsapp/Telegram/Slack to contact "Lauren Trown",
+thumbs up their response.
+```
+
+- **Zoom で会議を予定し、招待をメールで共有する**
+```
+Open Zoom app, schedule a meeting titled "AI Hackathon" for tomorrow at
+10AM with a duration of 1 hour, copy the invitation link, and send it via
+Gmail to contacts "[email protected]".
+```
+
+## 実行と設定
+
+### 環境変数
+
+| 変数 | 説明 | 例 |
+|---|---|---|
+| `MOBILEMCP_AUTH` | SSE サーバーで Bearer トークンを必須にします。設定すると、すべてのリクエストが `Authorization: Bearer <token>` を送信する必要があります。 | `MOBILEMCP_AUTH=my-secret-token` |
+| `MOBILEMCP_DISABLE_TELEMETRY` | 匿名の利用テレメトリを無効にします。 | `MOBILEMCP_DISABLE_TELEMETRY=1` |
+| `MOBILEMCP_ALLOW_UNSAFE_URLS` | `mobile_open_url` が標準外の URL スキームを開くことを許可します(デフォルトではブロックされます)。 | `MOBILEMCP_ALLOW_UNSAFE_URLS=1` |
+| `MOBILEMCP_LEGACY_ROBOT` | Android デバイスおよび iOS 実機に対して、従来のプラットフォーム固有のロボットを使用します。iOS シミュレーターは引き続き `mobilecli` を使用します。 | `MOBILEMCP_LEGACY_ROBOT=1` |
+
+### シミュレーター、エミュレーター、実機
+
+起動時、Mobile MCP は次のものに接続できます:
+- macOS / Linux 上の iOS シミュレーター
+- Linux / Windows / macOS 上の Android エミュレーター
+- iOS または Android の実機(適切なプラットフォームツールとドライバーが必要です)
+
+Mobile Next Mobile MCP を実行する前に、モバイルプラットフォームの SDK(Xcode、Android SDK)が正しくインストール・設定されていることを確認してください。
+
+### テレメトリ
+
+Mobile MCP は PostHog を通じて匿名の利用テレメトリを収集します。無効にするには、環境変数 `MOBILEMCP_DISABLE_TELEMETRY` を設定します:
+
+```bash
+MOBILEMCP_DISABLE_TELEMETRY=1 npx @mobilenext/mobile-mcp@latest
+```
+
+json 設定の場合:
+
+```json
+{
+ "mcpServers": {
+ "mobile-mcp": {
+ "command": "npx",
+ "args": ["-y", "@mobilenext/mobile-mcp@latest"],
+ "env": {
+ "MOBILEMCP_DISABLE_TELEMETRY": "1"
+ }
+ }
+ }
+}
+```
+
+### シミュレーター / エミュレーターでの「ヘッドレス」モード実行
+
+実機がマシンに接続されていない場合でも、バックグラウンドでエミュレーターまたはシミュレーターを使って Mobile MCP を実行できます。
+
+例えば Android の場合:
+1. エミュレーターを起動します(avdmanager / emulator コマンド)。
+2. 必要なフラグを付けて Mobile MCP を実行します。
+
+iOS の場合は、Xcode が必要で、そのシミュレーターインスタンスで Mobile MCP を使う前に Simulator を起動しておく必要があります。
+- `xcrun simctl list`
+- `xcrun simctl boot "iPhone 16"`
+
+## 🧩 Mobile Next の一部として
+
+Mobile MCP は、実際のモバイルデバイスを動かすためのツールキットの 1 つです:
+
+- **[mobilewright](https://github.com/mobile-next/mobilewright)** — 「モバイル版 Playwright」。エージェント主導の探索を iOS / Android 向けの**再現可能で決定的なテスト**に変える準備ができたら、mobilewright へ進みましょう。
+- **[mobilecli](https://github.com/mobile-next/mobilecli)** — Mobile MCP が土台としている汎用デバイス CLI。コマンドラインまたは JSON-RPC API から、デバイス、シミュレーター、エミュレーターを制御できます。
+- **[Mobile Next Cloud](https://mobilenext.ai/cloud?utm_source=github&utm_medium=readme&utm_campaign=mobile-mcp&utm_content=part-of-mobile-next)** — 同じスタックをレンタルで。実際の iOS / Android 実機をオンデマンドで利用できます。エージェントに `log in to mobile next cloud and then show me which remote devices are available to me` とプロンプトを送るだけで始められます。
+
+## 🚀 ロードマップ
+
+Mobile MCP は継続的に改善しています。次に何を作っているかは [ROADMAP.md](ROADMAP.md) をご覧ください。優先順位はコミュニティのフィードバックに大きく影響されるため、見たいものをぜひ教えてください。
+
+## 🤝 コントリビュート
+
+コード、ドキュメント、バグ報告、アイデア — あらゆるコントリビュートを歓迎します。
+
+- ⭐ **[リポジトリにスターを付ける](https://github.com/mobile-next/mobile-mcp)** — Mobile MCP を他の人に知ってもらう最も簡単な方法です。
+- ビルド、テスト、プルリクエストの作成方法については [CONTRIBUTING.md](CONTRIBUTING.md) をお読みください。
+- 取り組めるものを探すには [オープンな issue](https://github.com/mobile-next/mobile-mcp/issues) をご覧ください。
+- 質問やアイデアは [Slack コミュニティ](https://mobilenext.ai/join-slack?utm_source=github&utm_medium=readme&utm_campaign=mobile-mcp&utm_content=contributing) でも歓迎します。
+
+[行動規範](CODE_OF_CONDUCT.md)にも目を通してください。
+
+# すべてのコントリビューターに感謝します ❤️
+
+### このプロジェクトの改善に協力してくださったすべての方に感謝します。
+
+ <a href = "https://github.com/mobile-next/mobile-mcp/graphs/contributors">
+ <img src = "https://contrib.rocks/image?repo=mobile-next/mobile-mcp"/>
+ </a>
+
+## プライバシーポリシー
+
+Mobile MCP はローカルで実行され、接続したデバイスとのみ通信します。
+データの収集、利用、保持、連絡先については、Mobile Next のプライバシーポリシー
+https://mobilenext.ai/privacy をご覧ください。
diff --git a/README.md b/README.md
index 025eda2..b8ba8c4 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,9 @@
# Mobile Next - MCP server for Mobile Development and Automation | iOS, Android, Simulator, Emulator, and Real Devices
-This is a [Model Context Protocol (MCP) server](https://github.com/modelcontextprotocol) that enables scalable mobile automation, development through a platform-agnostic interface, eliminating the need for distinct iOS or Android knowledge. You can run it on emulators, simulators, and real devices (iOS and Android).
+**English** | [日本語](README.ja.md) | [简体中文](README.zh-CN.md)
+
+This is an MCP Server that enables scalable mobile automation, development through a platform-agnostic interface, eliminating the need for distinct iOS or Android knowledge. You can run it on emulators, simulators, and real devices (iOS and Android).
+
This server allows Agents and LLMs to interact with native iOS/Android applications and devices through structured accessibility snapshots or coordinate-based taps based on screenshots.
**Works with Claude Code, Codex, Gemini, GitHub Copilot, Antigravity** — or any MCP-compatible client.
@@ -379,7 +382,7 @@ You should get back your running simulators, emulators, and connected devices. I
Want to scale to hundreds of devices? Use Mobile MCP in your CI/CD pipeline?
-In your Agent, prompt:
+In your Agent, prompt:
```text
log in to mobile next cloud and then show me which remote devices are available to me
```
diff --git a/README.zh-CN.md b/README.zh-CN.md
new file mode 100644
index 0000000..d833d1b
--- /dev/null
+++ b/README.zh-CN.md
@@ -0,0 +1,572 @@
+# Mobile Next - 用于移动开发与自动化的 MCP 服务器 | iOS、Android、模拟器、仿真器与真机
+
+[English](README.md) | [日本語](README.ja.md) | **简体中文**
+
+这是一个 MCP 服务器,它通过与平台无关的接口实现可扩展的移动自动化与开发,让你无需掌握 iOS 或 Android 的专门知识。你可以在仿真器、模拟器以及真机(iOS 和 Android)上运行它。
+
+该服务器让智能体和 LLM 能够通过结构化的无障碍(accessibility)快照,或基于截图的坐标点击,来与原生 iOS/Android 应用和设备交互。
+
+**支持 Claude Code、Codex、Gemini、GitHub Copilot、Antigravity** —— 以及任何兼容 MCP 的客户端。
+
+你可以在自己机器上的设备运行它,也可以通过 **[Mobile Next Cloud](https://mobilenext.ai/cloud?utm_source=github&utm_medium=readme&utm_campaign=mobile-mcp&utm_content=intro)** 在云端真实 iOS 和 Android 设备上运行 —— 工具完全相同,无需本地环境配置。
+
+<h4 align="center">
+ <a href="https://github.com/mobile-next/mobile-mcp">
+ <img src="https://img.shields.io/github/stars/mobile-next/mobile-mcp" alt="Mobile Next Stars" />
+ </a>
+ <a href="https://www.npmjs.com/package/@mobilenext/mobile-mcp">
+ <img src="https://img.shields.io/npm/dm/@mobilenext/mobile-mcp?logo=npm&style=flat&color=red" alt="npm" />
+ </a>
+ <a href="https://github.com/mobile-next/mobile-mcp/releases">
+ <img src="https://img.shields.io/github/release/mobile-next/mobile-mcp" />
+ </a>
+ <a href="https://insiders.vscode.dev/redirect?url=vscode%3Amcp%2Finstall%3F%7B%22name%22%3A%22mobile-mcp%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40mobilenext%2Fmobile-mcp%40latest%22%5D%7D">
+ <img src="https://img.shields.io/badge/VS_Code-VS_Code?style=flat-square&label=Install%20Server&color=0098FF" alt="Install in VS Code" />
+ </a>
+ <a href="https://github.com/mobile-next/mobile-mcp/wiki">
+ <img src="https://img.shields.io/badge/documentation-wiki-blue" alt="wiki" />
+ </a>
+ <a href="https://mobilenext.ai/join-slack?utm_source=github&utm_medium=readme&utm_campaign=mobile-mcp&utm_content=badge">
+ <img src="https://img.shields.io/badge/join-Slack-blueviolet?logo=slack&style=flat" alt="join on Slack" />
+ </a>
+</h4>
+
+
+https://github.com/user-attachments/assets/bb084777-beb3-4930-ae6f-8d3fe694ddde
+
+
+<p align="center">
+ <a href="https://github.com/mobile-next/">
+ <img alt="mobile-mcp" src="https://raw.githubusercontent.com/mobile-next/mobile-next-assets/refs/heads/main/mobile-mcp-banner.png" width="600" />
+ </a>
+</p>
+
+### 主要使用场景
+
+我们如何帮助你扩展移动自动化:
+
+- 📲 面向测试或数据录入场景的原生应用自动化(iOS 和 Android)
+- 📝 无需手动操作模拟器/仿真器或真机(iPhone、三星、Google Pixel 等)即可执行的脚本化流程与表单交互
+- 🧭 由 LLM 驱动的多步骤用户旅程自动化
+- 👆 面向智能体框架的通用移动应用交互能力
+- 🤖 为移动自动化和数据提取场景提供智能体之间的通信能力
+
+## 主要特性
+
+- 🚀 **无障碍优先 —— 快速且低成本**: 基于原生无障碍树驱动应用(无需视觉模型,不消耗图像 token),仅在必要时回退到截图 + 坐标方式。
+- 📱 **一套 API,覆盖所有目标**: 同一套工具同时适用于 iOS 和 Android —— 模拟器、仿真器和真机皆可。
+- 🧠 **无需平台专业知识**: 不需要 XCUITest,不需要 Espresso,也不需要各平台的胶水代码 —— 描述目标,智能体来完成。
+- 🧰 **完整的设备控制**: 点击、滑动与手势;应用安装/启动/终止;屏幕录制;硬件按键;深度链接;屏幕方向。
+- 📊 **结构化、确定性的输出**: 读取真实的 UI 元素并提取结构化数据,减少纯截图方案带来的歧义。
+
+### 🎯 平台支持
+
+| 目标 | 是否支持 | 环境准备 |
+|---|:---:|---|
+| iOS 模拟器 | ✅ | Xcode 以及已启动的模拟器 (`xcrun simctl`) |
+| iOS 真机 | ✅ | 通过 USB 连接并已信任的设备 |
+| Android 仿真器 | ✅ | Android SDK 以及运行中的仿真器 (`adb`) |
+| Android 真机 | ✅ | `adb`,并已启用并授权 USB 调试 |
+
+## 🔧 可用的 MCP 工具
+
+### 设备管理
+- **`mobile_list_available_devices`** - 列出所有可用设备(模拟器、仿真器和真机)
+- **`mobile_get_screen_size`** - 获取移动设备的屏幕尺寸(像素)
+- **`mobile_get_orientation`** - 获取设备当前的屏幕方向
+- **`mobile_set_orientation`** - 更改屏幕方向(竖屏/横屏)
+- **`mobile_set_location`** - 覆盖设备上报的 GPS 位置,或清除该覆盖
+- **`mobile_clipboard`** - 读取或替换设备剪贴板内容
+
+### 远程设备(Mobile Next Cloud)
+- **`mobile_login_to_cloud_provider`** - 将本机与云设备提供方进行认证(基于浏览器的设备码登录)
+- **`mobile_list_remote_devices`** - 列出可从云设备池中预约的设备型号
+- **`mobile_allocate_remote_device`** - 预约一台物理云设备以供独占使用
+- **`mobile_release_remote_device`** - 将已预约的云设备释放回设备池
+
+### 应用管理
+- **`mobile_list_apps`** - 列出设备上已安装的所有应用
+- **`mobile_get_foreground_app`** - 获取当前处于前台的应用
+- **`mobile_launch_app`** - 使用包名启动应用
+- **`mobile_terminate_app`** - 停止并终止正在运行的应用
+- **`mobile_install_app`** - 从文件安装应用(.apk、.ipa、.app、.zip)
+- **`mobile_uninstall_app`** - 使用 bundle ID 或包名卸载应用
+
+### 屏幕交互
+- **`mobile_take_screenshot`** - 截取屏幕截图以了解屏幕上的内容
+- **`mobile_save_screenshot`** - 将截图保存为文件
+- **`mobile_list_elements_on_screen`** - 列出 UI 元素及其坐标和属性
+- **`mobile_click_on_screen_at_coordinates`** - 点击指定的 x,y 坐标
+- **`mobile_double_tap_on_screen`** - 双击指定坐标
+- **`mobile_long_press_on_screen_at_coordinates`** - 长按指定坐标
+- **`mobile_swipe_on_screen`** - 向任意方向滑动(上、下、左、右)
+- **`mobile_start_screen_recording`** - 开始将设备屏幕录制为视频文件
+- **`mobile_stop_screen_recording`** - 停止当前的屏幕录制并保存视频
+
+### 输入与导航
+- **`mobile_type_keys`** - 向获得焦点的元素输入文本,可选择是否提交
+- **`mobile_press_button`** - 按下设备按键(HOME、BACK、VOLUME_UP/DOWN、ENTER 等)
+- **`mobile_open_url`** - 在设备浏览器中打开 URL
+
+### 日志与崩溃报告
+- **`mobile_get_device_logs`** - 采集设备实时日志(Android 上为 logcat,iOS 上为 unified log),可选择保存到文件
+- **`mobile_list_crashes`** - 列出设备上可用的崩溃报告
+- **`mobile_get_crash`** - 按 ID 获取崩溃报告的完整内容
+
+## 🏗️ Mobile MCP 架构
+
+<p align="center">
+ <a href="https://raw.githubusercontent.com/mobile-next/mobile-next-assets/refs/heads/main/mobile-mcp-arch-1.png">
+ <img alt="mobile-mcp" src="https://raw.githubusercontent.com/mobile-next/mobile-next-assets/refs/heads/main/mobile-mcp-arch-1.png" width="600">
+ </a>
+</p>
+
+
+## 📚 Wiki 页面
+
+关于安装、配置和调试的更多细节,请查看我们的 [wiki 页面](https://github.com/mobile-next/mobile-mcp/wiki)。
+
+
+## 前置条件
+
+将 MCP 与你的智能体和移动设备连接起来所需要的东西:
+
+- [Xcode 命令行工具](https://developer.apple.com/xcode/resources/)
+- [Android Platform Tools](https://developer.android.com/tools/releases/platform-tools)
+- [node.js](https://nodejs.org/en/download/) v20 及以上
+- 支持 [MCP](https://modelcontextprotocol.io/introduction) 的基础模型或智能体,例如 [Claude MCP](https://modelcontextprotocol.io/quickstart/server)、[OpenAI Agent SDK](https://openai.github.io/openai-agents-python/mcp/)、[Copilot Studio](https://www.microsoft.com/en-us/microsoft-copilot/blog/copilot-studio/introducing-model-context-protocol-mcp-in-copilot-studio-simplified-integration-with-ai-apps-and-agents/)
+
+## 安装与配置
+
+**标准配置** 适用于大多数工具:
+
+```json
+{
+ "mcpServers": {
+ "mobile-mcp": {
+ "command": "npx",
+ "args": ["-y", "@mobilenext/mobile-mcp@latest"]
+ }
+ }
+}
+```
+
+<details>
+<summary>Amp</summary>
+
+可以通过 Amp 的 VS Code 扩展设置界面添加,或者更新你的 `settings.json` 文件:
+
+```json
+"amp.mcpServers": {
+ "mobile-mcp": {
+ "command": "npx",
+ "args": [
+ "@mobilenext/mobile-mcp@latest"
+ ]
+ }
+}
+```
+
+**Amp CLI:**
+
+在终端中运行以下命令:
+
+```bash
+amp mcp add mobile-mcp -- npx @mobilenext/mobile-mcp@latest
+```
+
+</details>
+
+<details>
+<summary>Antigravity 2</summary>
+
+Antigravity 没有添加 MCP 服务器的 CLI 命令,因此需要手动添加。编辑 `~/.gemini/config/mcp_config.json` 并加入:
+
+```json
+{
+ "mcpServers": {
+ "mobile-mcp": {
+ "command": "npx",
+ "args": ["-y", "@mobilenext/mobile-mcp@latest"]
+ }
+ }
+}
+```
+
+</details>
+
+<details>
+<summary>Cline</summary>
+
+配置 Cline 时,只需将上面的 json 添加到你的 MCP 设置文件中即可。
+
+[更多内容见我们的 wiki](https://github.com/mobile-next/mobile-mcp/wiki/Cline)
+
+</details>
+
+<details>
+<summary>Claude Code</summary>
+
+使用 Claude Code CLI 添加 Mobile MCP 服务器:
+
+```bash
+claude mcp add mobile-mcp -- npx -y @mobilenext/mobile-mcp@latest
+```
+</details>
+
+<details>
+<summary>Claude Desktop</summary>
+
+参照 [MCP 安装指南](https://modelcontextprotocol.io/quickstart/user),使用上面的 json 配置。
+
+</details>
+
+<details>
+<summary>Codex</summary>
+
+使用 Codex CLI 添加 Mobile MCP 服务器:
+
+```bash
+codex mcp add mobile-mcp npx "@mobilenext/mobile-mcp@latest"
+```
+
+或者,创建或编辑配置文件 `~/.codex/config.toml` 并加入:
+
+```toml
+[mcp_servers.mobile-mcp]
+command = "npx"
+args = ["@mobilenext/mobile-mcp@latest"]
+```
+
+更多信息请参阅 Codex 的 MCP 文档。
+
+</details>
+
+<details>
+<summary>Copilot</summary>
+
+使用 Copilot CLI 交互式地添加 Mobile MCP 服务器:
+
+```text
+/mcp add
+```
+
+你也可以编辑配置文件 `~/.copilot/mcp-config.json` 并加入:
+
+```json
+{
+ "mcpServers": {
+ "mobile-mcp": {
+ "type": "local",
+ "command": "npx",
+ "tools": [
+ "*"
+ ],
+ "args": [
+ "@mobilenext/mobile-mcp@latest"
+ ]
+ }
+ }
+}
+```
+
+更多信息请参阅 Copilot CLI 文档。
+
+</details>
+
+<details>
+<summary>Cursor</summary>
+
+#### 点击按钮安装:
+
+[<img src="https://cursor.com/deeplink/mcp-install-dark.svg" alt="Install in Cursor">](https://cursor.com/en/install-mcp?name=Mobile%20MCP&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBtb2JpbGVuZXh0L21vYmlsZS1tY3BAbGF0ZXN0Il19)
+
+#### 或手动安装:
+
+依次进入 `Cursor Settings` -> `MCP` -> `Add new MCP Server`。名称可自定义,类型选择 `command`,命令填写 `npx -y @mobilenext/mobile-mcp@latest`。你也可以点击 `Edit` 来核对配置或添加命令行参数。
+
+</details>
+
+<details>
+<summary>Gemini CLI</summary>
+
+使用 Gemini CLI 添加 Mobile MCP 服务器:
+
+```bash
+gemini mcp add mobile-mcp npx -y @mobilenext/mobile-mcp@latest
+```
+
+</details>
+
+<details>
+<summary>Goose</summary>
+
+#### 点击按钮安装:
+
+[![Install in Goose](https://block.github.io/goose/img/extension-install-dark.svg)](https://block.github.io/goose/extension?cmd=npx&arg=-y&arg=%40mobilenext%2Fmobile-mcp%40latest&id=mobile-mcp&name=Mobile%20MCP&description=Mobile%20automation%20and%20development%20for%20iOS%2C%20Android%2C%20simulators%2C%20emulators%2C%20and%20real%20devices)
+
+#### 或手动安装:
+
+依次进入 `Advanced settings` -> `Extensions` -> `Add custom extension`。名称可自定义,类型选择 `STDIO`,并将 `command` 设为 `npx -y @mobilenext/mobile-mcp@latest`。然后点击 “Add Extension”。
+
+</details>
+
+<details>
+<summary>Kiro</summary>
+
+请参照 MCP 服务器[文档](https://kiro.dev/docs/mcp/)。例如在 `.kiro/settings/mcp.json` 中:
+
+```json
+{
+ "mcpServers": {
+ "mobile-mcp": {
+ "command": "npx",
+ "args": [
+ "@mobilenext/mobile-mcp@latest"
+ ]
+ }
+ }
+}
+```
+
+</details>
+
+<details>
+<summary>opencode</summary>
+
+请参照 MCP 服务器文档。例如在 `~/.config/opencode/opencode.json` 中:
+
+```json
+{
+ "$schema": "https://opencode.ai/config.json",
+ "mcp": {
+ "mobile-mcp": {
+ "type": "local",
+ "command": [
+ "npx",
+ "@mobilenext/mobile-mcp@latest"
+ ],
+ "enabled": true
+ }
+ }
+}
+```
+
+</details>
+
+<details>
+<summary>Windsurf</summary>
+
+打开 Windsurf 设置,进入 MCP servers,使用 `command` 类型添加一个新服务器:
+
+```bash
+npx @mobilenext/mobile-mcp@latest
+```
+
+或者按照上文所示,将标准配置添加到设置中的 `mcpServers` 下。
+
+</details>
+
+
+[在我们的 wiki 中了解更多](https://github.com/mobile-next/mobile-mcp/wiki)! 🚀
+
+### ✅ 验证是否正常工作
+
+服务器配置完成后,让你的智能体列出设备:
+
+> list available devices
+
+你应当会看到正在运行的模拟器、仿真器以及已连接的设备。如果能看到,说明 Mobile MCP 已正确接入。如果列表为空,请确认已经启动了模拟器或仿真器(参见[前置条件](#前置条件))—— 需要更多帮助请查看 [wiki](https://github.com/mobile-next/mobile-mcp/wiki)。
+
+### ☁️ 扩展规模,使用云设备
+
+想扩展到数百台设备?想在 CI/CD 流水线中使用 Mobile MCP?
+
+在你的智能体中输入提示词:
+```text
+log in to mobile next cloud and then show me which remote devices are available to me
+```
+
+### SSE 服务器模式
+
+Mobile MCP 默认通过 stdio 运行。若要改为启动 SSE 服务器,请使用 `--listen` 参数:
+
+```bash
+npx @mobilenext/mobile-mcp@latest --listen 3000
+```
+
+这会绑定到 `localhost:3000`。若要绑定到指定网络接口:
+
+```bash
+npx @mobilenext/mobile-mcp@latest --listen 0.0.0.0:3000
+```
+
+然后将你的 MCP 客户端配置为连接 `http://<host>:3000/mcp`。
+
+#### 认证授权
+
+若要在 SSE 服务器上强制使用 Bearer token 授权,请设置环境变量 `MOBILEMCP_AUTH`:
+
+```bash
+MOBILEMCP_AUTH=my-secret-token npx @mobilenext/mobile-mcp@latest --listen 3000
+```
+
+设置之后,所有请求都必须包含请求头 `Authorization: Bearer my-secret-token`。
+
+### 🛠️ 如何使用
+
+将 MCP 服务器添加到你的 IDE/客户端之后,你就可以指示 AI 助手使用这些可用工具。
+例如在 Cursor 的 agent 模式下,你可以使用下面的提示词来快速验证、测试和迭代 UI 交互,从屏幕读取信息,或者走完复杂的流程。
+描述要具体,直击要点。
+
+### ✨ 提示词示例
+
+#### 工作流
+
+你可以在一条提示词中指定详细的工作流,验证业务逻辑,搭建自动化。可以尽情发挥:
+
+**搜索视频,评论、点赞并分享**
+```
+Find the video called " Beginner Recipe for Tonkotsu Ramen" by Way of
+Ramen, click on like video, after liking write a comment " this was
+delicious, will make it next Friday", share the video with the first
+contact in your whatsapp list.
+```
+
+**下载一款热门计步应用,注册、设置锻炼并给出五星好评**
+```
+Find and Download a free "Pomodoro" app that has more than 1k stars.
+Launch the app, register with my email, after registration find how to
+start a pomodoro timer. When the pomodoro timer started, go back to the
+app store and rate the app 5 stars, and leave a comment how useful the
+app is.
+```
+
+**在 Substack 中搜索、阅读、高亮、评论并保存文章**
+```
+Open Substack website, search for "Latest trends in AI automation 2025",
+open the first article, highlight the section titled "Emerging AI trends",
+and save article to reading list for later review, comment a random
+paragraph summary.
+```
+
+**预约健身课程并设置计时器**
+```
+Open ClassPass, search for yoga classes tomorrow morning within 2 miles,
+book the highest-rated class at 7 AM, confirm reservation,
+setup a timer for the booked slot in the phone
+```
+
+**查找本地活动并创建日历事件**
+```
+Open Eventbrite, search for AI startup meetup events happening this
+weekend in "Austin, TX", select the most popular one, register and RSVP
+yes to the event, setup a calendar event as a reminder.
+```
+
+**查看天气预报并通过 Whatsapp/Telegram/Slack 发送消息**
+```
+Open Weather app, check tomorrow's weather forecast for "Berlin", and
+send the summary via Whatsapp/Telegram/Slack to contact "Lauren Trown",
+thumbs up their response.
+```
+
+- **在 Zoom 中安排会议并通过邮件分享邀请**
+```
+Open Zoom app, schedule a meeting titled "AI Hackathon" for tomorrow at
+10AM with a duration of 1 hour, copy the invitation link, and send it via
+Gmail to contacts "[email protected]".
+```
+
+## 运行与配置
+
+### 环境变量
+
+| 变量 | 说明 | 示例 |
+|---|---|---|
+| `MOBILEMCP_AUTH` | 要求 SSE 服务器使用 Bearer token —— 设置后每个请求都必须发送 `Authorization: Bearer <token>`。 | `MOBILEMCP_AUTH=my-secret-token` |
+| `MOBILEMCP_DISABLE_TELEMETRY` | 关闭匿名使用情况遥测。 | `MOBILEMCP_DISABLE_TELEMETRY=1` |
+| `MOBILEMCP_ALLOW_UNSAFE_URLS` | 允许 `mobile_open_url` 打开非标准的 URL scheme(默认被阻止)。 | `MOBILEMCP_ALLOW_UNSAFE_URLS=1` |
+| `MOBILEMCP_LEGACY_ROBOT` | 对 Android 设备和 iOS 真机使用旧版的平台专用 robot。iOS 模拟器仍然使用 `mobilecli`。 | `MOBILEMCP_LEGACY_ROBOT=1` |
+
+### 模拟器、仿真器与真机
+
+启动后,Mobile MCP 可以连接到:
+- macOS/Linux 上的 iOS 模拟器
+- Linux/Windows/macOS 上的 Android 仿真器
+- iOS 或 Android 真机(需要相应的平台工具和驱动)
+
+在运行 Mobile Next Mobile MCP 之前,请确保已正确安装并配置移动平台 SDK(Xcode、Android SDK)。
+
+### 遥测
+
+Mobile MCP 通过 PostHog 收集匿名的使用情况遥测数据。若要关闭,请设置环境变量 `MOBILEMCP_DISABLE_TELEMETRY`:
+
+```bash
+MOBILEMCP_DISABLE_TELEMETRY=1 npx @mobilenext/mobile-mcp@latest
+```
+
+对于 json 配置:
+
+```json
+{
+ "mcpServers": {
+ "mobile-mcp": {
+ "command": "npx",
+ "args": ["-y", "@mobilenext/mobile-mcp@latest"],
+ "env": {
+ "MOBILEMCP_DISABLE_TELEMETRY": "1"
+ }
+ }
+ }
+}
+```
+
+### 在模拟器/仿真器上以“无头”模式运行
+
+当你的机器上没有连接真机时,可以让 Mobile MCP 配合后台运行的仿真器或模拟器工作。
+
+例如在 Android 上:
+1. 启动一个仿真器(avdmanager / emulator 命令)。
+2. 使用所需参数运行 Mobile MCP。
+
+在 iOS 上,你需要安装 Xcode,并在通过 Mobile MCP 使用某个模拟器实例之前先启动 Simulator。
+- `xcrun simctl list`
+- `xcrun simctl boot "iPhone 16"`
+
+## 🧩 Mobile Next 的一部分
+
+Mobile MCP 是驱动真实移动设备这套工具集中的一环:
+
+- **[mobilewright](https://github.com/mobile-next/mobilewright)** —— “移动端的 Playwright”。当你准备把智能体驱动的探索式操作变成 iOS 和 Android 上**可重复、确定性的测试**时,就该升级到 mobilewright。
+- **[mobilecli](https://github.com/mobile-next/mobilecli)** —— Mobile MCP 所构建于其上的通用设备 CLI: 通过命令行或 JSON-RPC API 控制设备、模拟器和仿真器。
+- **[Mobile Next Cloud](https://mobilenext.ai/cloud?utm_source=github&utm_medium=readme&utm_campaign=mobile-mcp&utm_content=part-of-mobile-next)** —— 同一套技术栈,按需租用: 随时可用的真实 iOS 和 Android 设备。只需向你的智能体输入提示词 `log in to mobile next cloud and then show me which remote devices are available to me` 即可开始。
+
+## 🚀 路线图
+
+我们持续改进 Mobile MCP。想了解我们接下来在做什么,请查看 [ROADMAP.md](ROADMAP.md) —— 优先级在很大程度上取决于社区反馈,所以请告诉我们你希望看到什么。
+
+## 🤝 参与贡献
+
+我们欢迎各种形式的贡献 —— 代码、文档、错误报告和想法。
+
+- ⭐ **[给仓库点个 star](https://github.com/mobile-next/mobile-mcp)** —— 这是帮助更多人发现 Mobile MCP 最简单的方式。
+- 阅读 [CONTRIBUTING.md](CONTRIBUTING.md) 了解如何构建、测试并提交 pull request。
+- 浏览[待处理的 issue](https://github.com/mobile-next/mobile-mcp/issues) 寻找可以着手的工作。
+- 也欢迎在我们的 [Slack 社区](https://mobilenext.ai/join-slack?utm_source=github&utm_medium=readme&utm_campaign=mobile-mcp&utm_content=contributing) 中提问和分享想法。
+
+也请阅读我们的[行为准则](CODE_OF_CONDUCT.md)。
+
+# 感谢所有贡献者 ❤️
+
+### 感谢每一位帮助改进这个项目的人。
+
+ <a href = "https://github.com/mobile-next/mobile-mcp/graphs/contributors">
+ <img src = "https://contrib.rocks/image?repo=mobile-next/mobile-mcp"/>
+ </a>
+
+## 隐私政策
+
+Mobile MCP 在本地运行,仅与你所连接的设备通信。
+有关数据收集、使用、保留以及联系方式,请查看 Mobile Next 隐私政策:
+https://mobilenext.ai/privacy。