MCP-ADB
@isseikz
MCP-ADB について
MCP (Model Context Protocol) Server to control Android TV
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"mcp-adb": {
"command": "node",
"args": [
"/path/to/mcp-adb/build/index.js"
],
"env": {
"ADB_PATH": "/path/to/adb"
}
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is MCP-ADB?
MCP-ADB is a Model Context Protocol (MCP) server that integrates with Android Debug Bridge (ADB) to allow AI assistants to interact with connected Android devices. It is intended for developers and users who want to control Android devices programmatically through an AI assistant.
How to use MCP-ADB?
Clone the repository, install dependencies with npm install, and build the project with npm run build. Then configure the MCP server in Claude Desktop’s claude_desktop_config.json by specifying the path to the built index.js file and optionally the ADB_PATH environment variable. Use the provided tools (screenshot, pressKey) and access resources (adb://devices, adb://screenshots/{filename}) to interact with Android devices.
Key features of MCP-ADB
- Capture screenshots from connected Android devices with automatic resizing
- Return screenshot data as base64-encoded PNG strings
- Send key events (navigation, back, home) to Android devices
- Target specific devices when multiple devices are connected
- List all connected Android devices via resource URIs
- Access screenshots and device information through resource URIs
Use cases of MCP-ADB
- Take a screenshot of an Android device and use AI to analyze its content
- Send navigation commands (DPAD, back, home) to automate device interaction
- List all connected Android devices to manage multi-device setups
- Retrieve a stored screenshot by filename for later processing
FAQ from MCP-ADB
What does MCP-ADB do?
MCP-ADB provides an MCP server that connects an AI assistant to Android devices via ADB, enabling screenshot capture, key event simulation, and device listing.
What are the prerequisites for MCP-ADB?
You need Node.js (v16 or higher), ADB installed and available in PATH (or set via the ADB_PATH environment variable), and connected Android device(s) with USB debugging enabled.
How do I install MCP-ADB?
Clone the repository, then run npm install and npm run build to compile the TypeScript code to JavaScript in the build directory.
How do I configure MCP-ADB with Claude Desktop?
Edit claude_desktop_config.json (found in Claude Desktop’s installation directory or via Settings → Developer → Edit Config) and add an entry under mcpServers with the command node and args pointing to the built index.js file, plus an optional ADB_PATH environment variable.
What tools are available in MCP-ADB?
Two tools: screenshot captures a screenshot (optionally targeting a device by ID) and returns base64 image data; pressKey sends a key event (e.g., KEYCODE_DPAD_DOWN, KEYCODE_BACK) to a device.
「その他」の他のコンテンツ
Nginx UI
0xJackyYet another WebUI for Nginx
IDA Pro MCP
mrexodiaAI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
コメント