Android UI Agent MCP Server
Provides Android UI automation tools via MCP, enabling device interaction, UI snapshot, and gesture recording.
README
Android UI Agent MCP Server
uiautomator2 기반 Android UI 자동화를 MCP 도구로 제공합니다.
Quickstart
cd /home/physics91/dev/android-tester
pip install -e .
adb devices
python src/server.py
MCP 클라이언트 설정 예시 (Claude Code):
{
"mcpServers": {
"android-ui-agent": {
"command": "python",
"args": ["/home/physics91/dev/android-tester/src/server.py"]
}
}
}
기본 사용 흐름:
device_list로 디바이스 확인device_snapshot으로 UI 스냅샷/refs 획득device_tap,device_type등으로 상호작용
MCP 툴 목록
- Device:
device_list(연결 목록),device_select(기본 지정),device_info(정보),device_unlock(잠금 해제) - Snapshot & Find:
device_snapshot(UI 스냅샷+refs),screenshot(base64 PNG),find_element(조건 검색) - Interaction:
device_tap,device_double_tap,device_long_press,device_type,device_swipe,clear_text - Navigation:
app_start,app_stop,app_current,go_back,go_home,press_key,open_notification,open_quick_settings,set_orientation - Wait:
wait_seconds,wait_for_element,wait_for_text,wait_for_activity,wait_for_element_gone - Watchers:
watcher_add,watcher_remove,watcher_list,watcher_start,watcher_stop,watcher_trigger_once - Recording:
start_gesture_recording,add_gesture_event,stop_gesture_recording,play_gesture_recording,list_gesture_recordings,export_gesture_recording,import_gesture_recording,delete_gesture_recording - Performance:
get_performance_metrics,start_performance_monitor,stop_performance_monitor
의존성
mcp>=1.0.0- MCP 서버 프레임워크uiautomator2>=3.4.0- Android UI 자동화Pillow>=10.0.0- 이미지 처리
테스트
# Android 디바이스 연결 필요
pytest tests/test_server.py -v
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.