MCPVault

unlock_screen

MCP tool from MCP Android Server Python by nim444

Unlock the screen (turn on and swipe if necessary)

How to use it

unlock_screen is exposed by the MCP Android Server Python MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the unlock_screen tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install MCP Android Server Python

$uv pip install uiautodev
FULL MCP ANDROID SERVER PYTHON LISTING

Other tools in MCP Android Server Python (27)

check_adb_and_list_devices

Check if ADB is installed and list connected devices

clear_app_data

Clear user data/cache of a specified app

click

Tap on an element by text, resourceId, or description

connect_device

Connect to an Android device and get basic info

drag

Drag an element to a specific screen location

dump_hierarchy

Dump the UI hierarchy of the current screen as XML

get_current_app

Get info about the app currently in the foreground

get_device_info

Get detailed device info: serial, resolution, battery, etc.

get_device_status

Get complete device status and readiness information

get_element_info

Get info on UI elements (text, bounds, clickable, etc.)

get_installed_apps

List all installed apps with version and package info

get_toast

Get the last toast message shown on screen

long_click

Perform a long click on an element

mcp_health

Check if the MCP server is running properly

press_key

Simulate hardware key press (e.g. home, back, menu, etc.)

screen_off

Turn off the screen

screen_on

Turn on the screen

screenshot

Take and save a screenshot from the device

scroll_to

Scroll until a given element becomes visible

send_text

Input text into currently focused field (optionally clearing before)

start_app

Start an app by its package name

stop_all_apps

Stop all currently running apps

stop_app

Stop an app by its package name

swipe

Swipe from one coordinate to another

wait_activity

Wait until a specific activity appears

wait_for_element

Wait for an element to appear on screen

wait_for_screen_on

Wait asynchronously until the screen is turned on