uninstall_app
Remove Android apps from devices by specifying package names, enabling developers to manage app installations during testing and development workflows.
Instructions
Uninstall an app
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package_name | Yes | ||
| device_serial | No |
Implementation Reference
- src/adb_mcp_server/server.py:680-683 (handler)The main handler function for the 'uninstall_app' MCP tool. It is decorated with @mcp.tool() which handles both registration and schema definition via type hints. Executes ADB uninstall command on the specified package.@mcp.tool() def uninstall_app(package_name: str, device_serial: str | None = None) -> str: """Uninstall an app""" return run_adb(["uninstall", package_name], device_serial)