MCP server for driving Android devices over ADB. C# .NET 8, direct ADB protocol, on-device agent for fast UI ops, multi-device by serial.
Drift inferred · capture-to-capture
No drift recorded — single capability capture; advisories appear once its surface changes.
tools
-
clear_app_data
pm clear
-
clear_recents
remove non-home tasks via am stack remove
-
click
tap (x, y)
-
device_info
device info
-
dump_hierarchy
XML / lean JSON view tree
-
find_element
selector → matching nodes
-
get_package_info
single-app summary
-
get_top_activity
foreground component from dumpsys activity
-
input_text
type ASCII into focused field
-
install_apk
push + pm install
-
key_event
KEYCODE by name or number
-
launch_app
monkey -p <pkg> launcher intent
-
list_devices
enumerate devices visible to adb
-
list_packages
installed packages with metadata
-
long_press
hold (x, y) for duration_ms
-
press_back
KEYCODE_BACK
-
press_home
KEYCODE_HOME
-
press_recents
KEYCODE_APP_SWITCH
-
pull_file
device -> host file copy
-
push_file
host -> device file copy
-
screen_size
display W×H from wm size
-
screenshot
PNG via on-device agent
-
scroll_to_edge
fling to edge
-
scroll_until_visible
scroll loop with stability + edge detection
-
set_package_enabled
pm enable / pm disable-user
-
shell
arbitrary adb shell (60 s timeout)
-
stop_app
am force-stop
-
swipe
swipe with duration
-
swipe_direction
directional swipe sized to the screen
-
tap_element
tap element center
-
wait_for_element
poll hierarchy until match or timeout
-
wake_unlock
wake screen + wm dismiss-keyguard (no PIN)
analyzed commit 18c41dd · analyzer v33 · 1w ago
skills & prompt files 1
- agent-rules TheDeathDragon-AndroidMCP-18c41dd/CLAUDE.md
code files: 38
declared dependencies 1
- AdvancedSharpAdbClient@3.6.16