airi-android
1
Airi Android is a Model Context Protocol server designed to integrate Language Model applications with Android devices. It serves as a subproject of the airi project, facilitating seamless interaction between LLM services and Android functionalities.
アイリ Android
A MCP server to allow airi LLM to use Android Device. This project is child project of airi.
Usage
With Docker:
// mcp.json
{
"mcpServers": {
"airi-android": {
"command": "docker",
"args": [
"run",
"--rm",
"--init",
"-i",
"-e",
"ADB_HOST",
"ghcr.io/lemonnekogh/airi-android:v0.2.1"
],
"env": {
"ADB_HOST": "host.docker.internal"
}
}
}
}
Setup development environment
Package manager
-
Install
uv
here. -
Install dependencies.
uv sync
ADB connection
- Install platform-tools from here.
- Connect your Android device via USB, or use the AVD (Android Virtual Device) via
adb connect
.
Start the server
Run the mcp inspector it will start the server.
uv run mcp dev src/main.py
Open the inspector at http://localhost:6274
.