What is アイリ Android?
アイリ Android is an MCP (Model Context Protocol) server that allows large language models (LLMs) to control Android devices. It is a child project of airi and provides tools for input control, device information retrieval, UI hierarchy extraction, and shell command execution.
How to use アイリ Android?
You can run アイリ Android either via Docker (recommended) or directly using Bun. In Docker, set the ADB_HOST environment variable and optionally USE_STDIO=true for stdio transport. For direct usage, install Bun and Android Platform Tools, connect an Android device (USB or ADB), then run bun run start (HTTP mode) or USE_STDIO=true bun run start (stdio mode). Configure your MCP client with the appropriate mcp.json entry as shown in the README.
Key features of アイリ Android
- Input control: tap, swipe, text, keyevent, press, roll
- Device information: screen size, density, CPU, battery
- UI hierarchy XML retrieval and activity inspection
- Shell command execution on the device
- Device connection management (connect and reset)
Use cases of アイリ Android
- Automate Android device input for testing or accessibility
- Retrieve device status (battery, CPU, screen) via LLM queries
- Perform UI hierarchy analysis for app interaction
- Execute shell commands remotely through AI assistants
- Manage multiple device connections and switch between them
コメント