Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, get in touch and we’ll put it right.

UIAutomator2 MCP Server

PYPI · UIAUTOMATOR2-MCP-SERVER

Android mobile automation with uiautomator2. AI bot for taps, swipes, apps, XPath testing, RPA.

−15 this week 73 Trust /100

Last scanned (20 hours ago)

Scores higher than 69% of PyPI servers

Category Browser Automation

Trust breakdown (7 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →

Supply Chain Security49
  • Malware scan not yet available for this package.Unverified
  • No known CVEs affecting this package version or its production dependencies.Pass
  • Runs setuptools.build_meta at install time, a recognised build step with no custom scripting around it. View diagnostics → Pass
  • 4 of 30 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency71
  • Repository check failed: no source repository is declared. See how to fix → View diagnostics → Fail
  • Cryptographically verified build provenance (signed, bound to tanbro/uiautomator2-mcp-server). View diagnostics → Pass
  • Clear OSI-approved license (Apache-2.0).Pass
  • Actively maintained (last published 9 days ago).Pass
  • Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability77
  • AI-judged instruction clarity (excellent).Pass
  • Tool/resource definitions use about 3894 tokens (~50/item across 77 items; 77 tools + 0 resources), lean.Pass
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management100
  • No destabilizing schema changes in the last 30 days.Pass
Tool Coverage98
  • 97% of tools have a non-trivial description (not blank, and not just the tool's name).Partial
  • 98% of tool parameters carry a description.Partial
  • Structured output schemas are declared (45% of tools); any adoption earns full credit.Pass
Tool Safety75
  • No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
  • 0 of 4 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation; "purge" implies "purge" and declares no destructiveHint at all, which the MCP spec reads as destructive by default. See how to fix → Fail
  • An AI judge read all 78 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
  • Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 4 Nov 26 −15
    • Malware scan: pass → unverified ▼ security
  • 31 Oct 26 0
    • Stability: 0.97 → pass security
  • 30 Oct 26 0
    • Stability: pass → 0.97 functional
  • 28 Oct 26 +15
    • Malware scan: unverified → pass ▲ security
  • 27 Oct 26 −15
    • Malware scan: pass → unverified ▼ security
  • 26 Oct 26 +15
    • Malware scan: unverified → pass ▲ security
  • 24 Oct 26 −15
    • Malware scan: pass → unverified ▼ security
    • Stability: 0.97 → pass security
  • 23 Oct 26 +15
    • Malware scan: unverified → pass ▲ security
    • Stability: pass → 0.97 functional
Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 4 Nov 2026 · Analysed pypi/uiautomator2-mcp-server@0.3.3

Provenance Verified

A signed build attestation was found and verified, binding this exact artifact to the source repository it claims to come from.

Result Verified
Ecosystem pypi
Reason Verified
Discovered via Registry attestation endpoint
Source repo tanbro/uiautomator2-mcp-server
Certificate issuer https://token.actions.githubusercontent.com
Certificate SAN https://github.com/tanbro/uiautomator2-mcp-server/.github/workflows/ci.yml@refs/tags/v0.3.3
Rekor log index 980207134
Predicate type PyPI publish attestation https://docs.pypi.org/attestations/publish/v1
Subject digest sha256:6a6a6e96f9361f6b701a48a12df7963b9186e786355d591b85658bde3fb3f9b7

Background: How many MCP packages publish verified provenance →

Install scripts 1 script
Hook Tier Command
build_backend allowlisted setuptools.build_meta

Background: Why install scripts are a supply-chain risk →

Dependencies 30 packages
Packages resolved 30
Stale 3
No linked repository 1
Tree resolution Complete

Background: SBOMs and build attestations, explained →

MCP tools · 77 exposed · ~3,851 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →

Tool Tokens
stop_scrcpy ~78

Stop a running scrcpy process by pid. scrcpy is an application mirrors Android devices (video and audio) connected via USB or TCP/IP and allows control using the computer's keyboard and mouse.

NameTypeReqDescription
pidintegeryesProcess id of the scrcpy process to stop
timeoutnumber–Seconds to wait for process to terminate.

No output schema declared.

No examples provided.

swipe ~91

Swipe from one point to another

NameTypeReqDescription
durationnumber–duration. Default is 0.0.
fxintegeryesFrom position X coordinate
fyintegeryesFrom position Y coordinate
serialstringyesAndroid device serialno
stepinteger––
txintegeryesTo position X coordinate
tyintegeryesTo position Y coordinate

No output schema declared.

No examples provided.

swipe_down ~48

Swipe from top edge to bottom.

NameTypeReqDescription
scalenumberyesPercentage of swipe distance from edge, range (0, 1.0).
serialstringyesAndroid device serial number.

No output schema declared.

No examples provided.

swipe_ext ~65

Swipe from screen edge.

NameTypeReqDescription
directionstringyesSwipe direction, one of left, right, up, down.
scalenumberyesPercentage of swipe distance from edge, range (0, 1.0).
serialstringyesAndroid device serial number.

No output schema declared.

No examples provided.

swipe_left ~48

Swipe from right edge to left.

NameTypeReqDescription
scalenumberyesPercentage of swipe distance from edge, range (0, 1.0).
serialstringyesAndroid device serial number.

No output schema declared.

No examples provided.

swipe_points ~61

Swipe through multiple points

NameTypeReqDescription
durationnumber–Duration of swipe in seconds, default is 0.5
pointsarrayyesList of (x, y) coordinates to swipe through
serialstringyesAndroid device serialno

No output schema declared.

No examples provided.

swipe_right ~48

Swipe from left edge to right.

NameTypeReqDescription
scalenumberyesPercentage of swipe distance from edge, range (0, 1.0).
serialstringyesAndroid device serial number.

No output schema declared.

No examples provided.

swipe_up ~48

Swipe from bottom edge to top.

NameTypeReqDescription
scalenumberyesPercentage of swipe distance from edge, range (0, 1.0).
serialstringyesAndroid device serial number.

No output schema declared.

No examples provided.

unlock ~52

Unlock the device screen. Simulates swipe up from the bottom. For devices with secure lock like PIN, pattern, or password, this only brings up the lock screen.

NameTypeReqDescription
serialstringyesAndroid device serial number.

No output schema declared.

No examples provided.

window_size ~27

Get window size of an Android device

NameTypeReqDescription
serialstringyesAndroid device serialno

Structured output declared, but exposes no named fields.

No examples provided.

write_clipboard ~38

Write clipboard to device

NameTypeReqDescription
serialstringyesAndroid device serialno
textstringyesThe actual text in the clip.

No output schema declared.

No examples provided.

xpath_click ~49

Find element by XPath and perform click.

NameTypeReqDescription
serialstringyesAndroid device serial number.
timeoutnumberyesMaximum wait time in seconds.
xpathstringyesElement XPath expression.
NameTypeReqDescription
resultbooleanyes–

No examples provided.

xpath_click_nowait ~41

Find element by XPath and click immediately without waiting.

NameTypeReqDescription
serialstringyesAndroid device serial number.
xpathstringyesElement XPath expression.

No output schema declared.

No examples provided.

xpath_exists ~38

Check if element exists by XPath without waiting.

NameTypeReqDescription
serialstringyesAndroid device serial number.
xpathstringyesElement XPath expression.
NameTypeReqDescription
resultbooleanyes–

No examples provided.

xpath_get_attrib ~53

Find element by XPath and get a specific attribute value.

NameTypeReqDescription
keystringyesAttribute name to retrieve.
serialstringyesAndroid device serial number.
xpathstringyesElement XPath expression.
NameTypeReqDescription
resultstringyes–

No examples provided.

xpath_get_bounds ~40

Find element by XPath and get its bounding box.

NameTypeReqDescription
serialstringyesAndroid device serial number.
xpathstringyesElement XPath expression.
NameTypeReqDescription
resultarrayyes–

No examples provided.

xpath_get_info ~40

Find element by XPath and get its complete information.

NameTypeReqDescription
serialstringyesAndroid device serial number.
xpathstringyesElement XPath expression.

Structured output declared, but exposes no named fields.

No examples provided.

xpath_get_text ~40

Find element by XPath and get its text content.

NameTypeReqDescription
serialstringyesAndroid device serial number.
xpathstringyesElement XPath expression.
NameTypeReqDescription
resultstringyes–

No examples provided.

xpath_long_press ~39

Find element by XPath and perform long press.

NameTypeReqDescription
serialstringyesAndroid device serial number.
xpathstringyesElement XPath expression.

No output schema declared.

No examples provided.

xpath_save_screenshot ~59

Find element by XPath and save screenshot to file.

NameTypeReqDescription
filestringyesFile path to save the screenshot. Format determined by extension.
serialstringyesAndroid device serial number.
xpathstringyesElement XPath expression.
NameTypeReqDescription
resultstringyes–

No examples provided.

xpath_screenshot ~51

Find element by XPath and take screenshot.

NameTypeReqDescription
formatstringyesImage format, jpeg or png.
serialstringyesAndroid device serial number.
xpathstringyesElement XPath expression.
NameTypeReqDescription
resultarrayyes–

No examples provided.

xpath_scroll ~53

Find element by XPath and scroll within it.

NameTypeReqDescription
directionstringyesScroll direction, one of forward or backward.
serialstringyesAndroid device serial number.
xpathstringyesElement XPath expression.
NameTypeReqDescription
resultbooleanyes–

No examples provided.

xpath_scroll_to ~72

Scroll the entire screen to find an element by XPath.

NameTypeReqDescription
directionstringyesScroll direction, one of forward or backward.
max_swipesintegeryesMaximum swipe attempts.
serialstringyesAndroid device serial number.
xpathstringyesTarget element XPath expression to scroll to.
NameTypeReqDescription
resultbooleanyes–

No examples provided.

xpath_set_text ~51

Find element by XPath and set its text content.

NameTypeReqDescription
serialstringyesAndroid device serial number.
textstringyesText content to set.
xpathstringyesElement XPath expression.

No output schema declared.

No examples provided.

xpath_swipe ~78

Find element by XPath and swipe within it.

NameTypeReqDescription
directionstringyesSwipe direction, one of left, right, up, down.
scalenumber–Percentage of swipe distance, range (0, 1.0).
serialstringyesAndroid device serial number.
xpathstringyesElement XPath expression.

No output schema declared.

No examples provided.

xpath_wait_appear ~51

Wait until element is found using XPath.

NameTypeReqDescription
serialstringyesAndroid device serial number.
timeoutnumberyesMaximum wait time in seconds.
xpathstringyesElement XPath expression.
NameTypeReqDescription
resultbooleanyes–

No examples provided.

xpath_wait_gone ~50

Wait until element disappears using XPath.

NameTypeReqDescription
serialstringyesAndroid device serial number.
timeoutnumberyesMaximum wait time in seconds.
xpathstringyesElement XPath expression.
NameTypeReqDescription
resultbooleanyes–

No examples provided.

Install

How do I install the UIAutomator2 MCP Server server?

UIAutomator2 MCP Server runs locally as a PyPI package, launched with uvx uiautomator2-mcp-server. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

pypi · uiautomator2-mcp-server

# add to Claude Code
claude mcp add tanbro-uiautomator2-mcp-server -- uvx uiautomator2-mcp-server
Common questions

What is the UIAutomator2 MCP Server server?

UIAutomator2 MCP Server is listed in the public MCP registry as io.github.tanbro/uiautomator2-mcp-server. Android mobile automation with uiautomator2. AI bot for taps, swipes, apps, XPath testing, RPA. This page covers its PyPI package (uiautomator2-mcp-server).

Is the UIAutomator2 MCP Server server safe to use?

UIAutomator2 MCP Server scores 73 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 4 November 2026. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

What tools does the UIAutomator2 MCP Server server expose?

UIAutomator2 MCP Server exposes 77 tools: init, purge, shell_command, device_list, connect, and 72 more. Their descriptions and schemas cost roughly 3,851 tokens of context every time the server is loaded.

Is the UIAutomator2 MCP Server server still maintained?

UIAutomator2 MCP Server is still listed as active in the MCP registry. We last reached this channel on 4 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

What licence is the UIAutomator2 MCP Server server under?

UIAutomator2 MCP Server declares the Apache-2.0 licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.