
martingeidobler/android-mcp-server
Browser automationこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
martingeidobler/android-mcp-server は [https://github.com/martingeidobler/android-mcp-server.] からインポートされた MCP サーバーの候補です
概要
martingeidobler/android-mcp-server は [https://github.com/martingeidobler/android-mcp-server.] からインポートされた MCP サーバーの候補です
概要(AI 翻訳)
ADB経由でAndroidエミュレータやデバイスを制御するためのMCPサーバー。 AI は、スクリーンショットを撮る、要素をタップし、ログを読み込み、バグを文書化することで、Android アプリを閲覧、やり取り、デバッグする機能を提供します。
npm パッケージ | GitHub | 問題
^ 見栄えが良くなる。 より多くのデモおよびテスト ケース。
##特徴
- 完全な人間の特徴をもつ装置制御のための25用具 -スクリーンショットキャプチャインテリジェントな圧縮(シャープベース、最大1280px)
- UIツリー検査 — 要素階層をバインド、テキスト、リソースID、および状態で読み込みます
- タッチオートメーション — タップ、スワイプ、スクロール、タイプテキスト、プレスハードウェアキー
- 要素ターゲティング — リソースID、テキスト、またはコンテンツデックで要素を見つけてタップする
- アプリのライフサイクル — APKをインストールし、アプリを起動し、現在のアクティビティを調べる
- Logcatの統合 —パッケージ、ログレベル、またはタイムスタンプによるフィルタリング
- デバイス管理 — リストデバイス、開始エミュレータ、デバイス情報の取得
- コンパウンドアクション — [
tap_and_wait] は、タップ + 決済 + UI ツリーを 1 往復組み合わせます - 永続的 ADB シェル — 単一のシェルセッションを再利用して、コマンド実行を高速化
- デバイス情報キャッシング — セッションごとにデバイスプロパティをクエリ
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Android MCP Server
MCP server for controlling Android emulators and devices via ADB. Gives AI assistants the ability to see, interact with, and debug Android apps — taking screenshots, tapping elements, reading logs, and documenting bugs.
npm Package | GitHub | Issues
^ Sped up for better viewing. More demos and test cases.
Features
- 25 tools for complete Android device control
- Screenshot capture with intelligent compression (Sharp-based, max 1280px)
- UI tree inspection — read element hierarchy with bounds, text, resource IDs, and state
- Touch automation — tap, swipe, scroll, type text, press hardware keys
- Element targeting — find and tap elements by resource-id, text, or content-desc
- App lifecycle — install APKs, launch apps, inspect current activity
- Logcat integration — filter by package, log level, or timestamp
- Device management — list devices, start emulators, get device info
- Compound actions —
tap_and_waitcombines tap + settle + UI tree in one round trip - Persistent ADB shell — reuses a single shell session for faster command execution
- Device info caching — queries device properties once per session
- Multi-device support — target specific devices by ID
- Zero app modifications — works with any Android app via ADB, no SDK integration needed
Prerequisites
- Node.js 18+
- Android SDK with platform-tools (ADB) and emulator
- A running Android emulator or connected device
Finding your ANDROID_HOME
The server auto-discovers the SDK at ~/Library/Android/sdk (macOS) or via ANDROID_HOME. If your SDK is elsewhere, set ANDROID_HOME in the MCP config (see below).
To check:
# macOS
ls ~/Library/Android/sdk/platform-tools/adb
インストール
npx -y android-mcp-server設定
{
"mcpServers": {
"android": {
"command": "npx",
"args": ["-y", "android-mcp-server"],
"env": {
"ANDROID_HOME": "/path/to/android/sdk"
}
}
}
}