1. Conduid
  2. Data
  3. Uiautomator2 MCP Server
MCP server · Data

Uiautomator2 MCP Server

A MCP (Model Context Protocol) server that provides tools for controlling and interacting with Android devices using uiautomator2.

69Good

Scored 22 hours ago · breakdown

About Uiautomator2 MCP Server

Uiautomator2 MCP Server is an MCP server published by tanbro in the Data category: a MCP (Model Context Protocol) server that provides tools for controlling and interacting with Android devices using uiautomator2. Conduid read 77 tools from its source: activity_wait_appear, app_auto_grant_permissions, app_clear, app_current, app_info, app_install and 71 more. It is published to PyPI as uiautomator2-mcp-server and runs with uvx.

The repository has 60 stars and 13 forks, and its last commit was on 1 Dec 2026. Conduid has no tagged release on record for it. It passes all 1 static checks Conduid ran on the repository. Its topics include adb, adbutils, android, artificial-intelligence, automation and bot.

Install

Claude Code
claude mcp add uiautomator2-mcp-server -- uvx uiautomator2-mcp-server stdio
Run
uvx uiautomator2-mcp-server stdio
uvx
uvx uiautomator2-mcp-server
pip
pip install uiautomator2-mcp-server
From source
git clone https://github.com/tanbro/uiautomator2-mcp-server

Tools (77)

activity_wait_appearWait for an activity to appear.
app_auto_grant_permissionsauto grant permissions
app_clearStop and clear app data: pm clear
app_currentGet current app info
app_infoGet app info
app_installInstall app
app_listList installed app package names
app_list_runningList running apps
app_startLaunch application
app_stopStop one application
app_stop_allStop all third party applications
app_uninstallUninstall an app
app_uninstall_allUninstall all apps
app_waitWait until app launched
clear_textClear text in the current input field
clickClick at specific coordinates
connectConnect to an Android device
delayDelay for a specific amount of time.
device_listList of Adb Device with state:device
disconnectDisconnect from an Android device
disconnect_allDisconnect from all Android devices
double_clickDouble click at specific coordinates
dragSwipe from one point to another point.
dump_hierarchyDump window hierarchy.
get_orientationGet current device screen orientation.
get_toastGet the most recent Android Toast message from the device.
hide_keyboardHide keyboard
infoGet device info
initInstall essential resources (minicap, minitouch, uiautomator ...) to device.
long_clickLong click at specific coordinates
open_notificationOpen the notification panel.
open_quick_settingsOpen the quick settings panel.
press_keyPress a key
purgePurge all resources (minicap, minitouch, uiautomator ...) from device.
read_clipboardRead clipboard from device
reset_toastClear the cached Toast message on the device.
save_dump_hierarchyDump window hierarchy and save to file.
save_screenshotSave screenshot of device to file
screen_offTurn screen off
screen_onTurn screen on
screen_recordRecord screen to file with blocking wait. For non-blocking recording use screen_record_start.
screen_record_startStart screen recording to file. Runs in background, use screen_record_stop to stop.
screen_record_stopStop screen recording for the device. Stops any active background recording task.
screenshotTake screenshot of device
send_textSend text to the current input field
set_focused_textSet text to the currently focused input element.
set_orientationSet device screen orientation.
shell_commandRun a shell command on an Android device
show_toastDisplay a Toast message on the Android device.
start_scrcpyStartup scrcpy in background and returns process id.
stop_scrcpyStop a running scrcpy process by pid.
swipeSwipe from one point to another
swipe_downSwipe from top edge to bottom.
swipe_extSwipe from screen edge.
swipe_leftSwipe from right edge to left.
swipe_pointsSwipe through multiple points
swipe_rightSwipe from left edge to right.
swipe_upSwipe from bottom edge to top.
unlockUnlock the device screen. Simulates swipe up from the bottom.
window_sizeGet window size of an Android device
write_clipboardWrite clipboard to device
xpath_clickFind element by XPath and perform click.
xpath_click_nowaitFind element by XPath and click immediately without waiting.
xpath_existsCheck if element exists by XPath without waiting.
xpath_get_attribFind element by XPath and get a specific attribute value.
xpath_get_boundsFind element by XPath and get its bounding box.
xpath_get_infoFind element by XPath and get its complete information.
xpath_get_textFind element by XPath and get its text content.
xpath_long_pressFind element by XPath and perform long press.
xpath_save_screenshotFind element by XPath and save screenshot to file.
xpath_screenshotFind element by XPath and take screenshot.
xpath_scrollFind element by XPath and scroll within it.
xpath_scroll_toScroll the entire screen to find an element by XPath.
xpath_set_textFind element by XPath and set its text content.
xpath_swipeFind element by XPath and swipe within it.
xpath_wait_appearWait until element is found using XPath.
xpath_wait_goneWait until element disappears using XPath.

Security checks

  • ✓README presentThe repository's README runs to about 3.2K words.

5 checks have not been run yet.

README

The repository's README runs to about 3.2K words. The original in the repository is authoritative.

Read full README
Questions

About Uiautomator2 MCP Server

How do I install Uiautomator2 MCP Server?

In Claude Code, run claude mcp add uiautomator2-mcp-server -- uvx uiautomator2-mcp-server stdio. Other MCP clients take the command after "--" in their server configuration.

Is Uiautomator2 MCP Server safe to use with an AI agent?

Its trust score is 69 out of 100 (good). It passes all 1 static checks Conduid ran on the repository. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Uiautomator2 MCP Server still maintained?

Yes — the last commit was 18 hours ago. The repository has 60 stars and 13 forks.

What tools does Uiautomator2 MCP Server provide?

Conduid read 77 tools from the source: activity_wait_appear, app_auto_grant_permissions, app_clear, app_current, app_info, app_install, app_list, app_list_running and 69 more.