Android ADB MCP Server
Android ADB MCP サーバー
AIアシスタントがAndroid Debug Bridge(ADB)を介してAndroidデバイスと対話できるようにするModel Context Protocol(MCP)サーバー。このサーバーはAI機能とAndroidデバイス管理のギャップを埋め、Android開発とテスト運用のシームレスな自動化を実現します。
⚙️ クイックセットアップ
サーバーを MCP 構成ファイルに追加します。
{
"mcpServers": {
"android-adb": {
"command": "npx",
"args": ["-y", "@landicefu/android-adb-mcp-server"],
"env": {},
"disabled": false,
"alwaysAllow": []
}
}
}構成場所
Claude デスクトップ:
~/Library/Application Support/Claude/claude_desktop_config.json(macOS)Cline/Roo コード:
~/Library/Application Support/Code/User/globalStorage/rooveterinaryinc.roo-cline/settings/cline_mcp_settings.json(macOS)Windows/Linuxの場合は、同等のアプリケーションサポートディレクトリを確認してください。
設定後、AI アシスタントを再起動して新しいサーバー設定を読み込みます。
Related MCP server: MCP Android Agent
📋 前提条件
**ADB (Android Debug Bridge)**がインストールされ、システム PATH で利用可能になっている必要があります。
ターミナルで
adb versionを実行してインストールを確認します。
クリップボード機能の場合:
macOS :
osascript(組み込み)Windows : PowerShell (組み込み)
Linux :
xclip(apt-get install xclipまたは同等のコマンドでインストール)
Node.js 16.x 以上
🚀 機能
複数の Android デバイスに接続して管理する
Androidデバイスでシェルコマンドを実行する
アプリケーションのインストールとアンインストール
ローカルシステムと Android デバイス間でファイルをプッシュおよびプルする
Androidデバイスでアプリケーションを起動する
スクリーンショットを撮ってローカルに保存するか、クリップボードにコピーします
複数のデバイスが接続されている場合のスマートデバイスの選択
🛠️ 利用可能なツール
道具 | 説明 | 必須パラメータ | オプションパラメータ |
| 接続されているデバイスの一覧 | なし | なし |
| シェルコマンドを実行する |
|
|
| APKファイルをインストールする |
|
|
| アプリケーションをアンインストールする |
|
|
| インストールされたパッケージの一覧 | なし |
|
| デバイスからファイルを取得する |
|
|
| ファイルをデバイスにプッシュする |
|
|
| アプリケーションを起動する |
|
|
| スクリーンショットを撮って保存する |
|
|
| スクリーンショットをクリップボードに保存する | なし |
|
デバイス管理
サーバーはデバイスの選択をインテリジェントに処理します。
接続されているデバイスが1つだけの場合は、自動的に使用されます
複数のデバイスが接続されている場合は、
device_idパラメータを指定する必要があります。デバイスが接続されていない場合はエラーが返されます
スクリーンショットのパス解像度
スクリーンショットを保存するためのoutput_path指定すると、パスは次のように解決されます。
絶対パスはそのまま使用されます
~で始まるパスはユーザーのホームディレクトリに展開されます相対パスはユーザーのホームディレクトリを基準に解決されます
これにより、スクリーンショットは MCP サーバーが書き込み権限を持つ場所に保存されるようになります。
🔍 トラブルシューティング
よくある問題
「ADBは利用できません」というエラー
ADBがインストールされ、システムPATHに含まれていることを確認してください
ターミナルで
adb versionを実行して確認します
「Androidデバイスが接続されていません」というエラー
デバイスが
adb devicesに正しく接続されているか確認してくださいデバイスでUSBデバッグが有効になっていることを確認してください
adb kill-serverとadb start-serverを実行して ADB を再起動してみてください。
「複数のデバイスが接続されています」というエラー
ツール呼び出しで
device_idパラメータを指定しますadb_devicesツールで利用可能なデバイスのリストを取得する
クリップボードへのスクリーンショットが機能しない
必要なプラットフォーム固有のツールがインストールされていることを確認する
🔧 代替インストール方法
オプション1: npmからインストールする
# Install globally
npm install -g @landicefu/android-adb-mcp-server
# Or install locally in your project
npm install @landicefu/android-adb-mcp-serverオプション2: ソースからの手動インストール
リポジトリをクローンします。
git clone https://github.com/landicefu/android-adb-mcp-server.git cd android-adb-mcp-server依存関係をインストールしてビルドします。
npm install npm run build直接パスで構成します:
{ "mcpServers": { "android-adb": { "command": "node", "args": ["/path/to/android-adb-mcp-server/build/index.js"], "env": {}, "disabled": false, "alwaysAllow": [] } } }
📄 ライセンス
このプロジェクトは ISC ライセンスに基づいてライセンスされています - 詳細については LICENSE ファイルを参照してください。
🤝 貢献する
貢献を歓迎します!お気軽にプルリクエストを送信してください。
リポジトリをフォークする
機能ブランチを作成します(
git checkout -b feature/amazing-feature)変更をコミットします (
git commit -m 'Add some amazing feature')ブランチにプッシュする (
git push origin feature/amazing-feature)プルリクエストを開く
This server cannot be deployed
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
The Telnyx MCP server is an official implementation of the Model Context Protocol that enables AI clients (like Claude Desktop, Cursor, and OpenAI Agents) to interact with Telnyx's telephony, messaging, and AI assistant APIs. It provides comprehensive capabilities including making and managing phone calls, sending SMS/MMS messages, purchasing and configuring phone numbers, creating AI assistants with custom instructions, managing cloud storage buckets, scraping and embedding website content, and handling integration secrets. The server exists as both a local implementation and a remotely hosted version, allowing developers to integrate real-world communication infrastructure directly into AI applications.
The Mercado Pago MCP Server implements the Model Context Protocol to provide AI agents and LLMs with access to Mercado Pago's APIs and tools within compatible development environments. It acts as an intermediary that translates Mercado Pago resources into executable functions (tools) that AI applications can invoke to perform actions and automate flows. The server simplifies integration, enables using documentation to implement or improve code, and optimizes operations through natural language interactions without manual implementations.
Related MCP Servers
- AlicenseAqualityCmaintenanceA Model Context Protocol (MCP) server that enables AI assistants to control and interact with Android devices, allowing for device management, app debugging, system analysis, and UI automation through natural language commands.8438Apache 2.0
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables AI agents to control and automate Android devices through natural language, supporting actions like app management, UI interactions, and device monitoring.58MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that provides Android Debug Bridge functionality for automating Android devices, enabling remote device management, screen operations, app management, file operations, and shell command execution.2011 npm1MIT
- FlicenseAqualityDmaintenanceA MCP server that enables AI assistants to control Android devices via ADB, supporting device info, screen control, input simulation, app management, shell execution, file transfer, and UI parsing.20-