launch_app
Launch Android applications by package name using ADB commands. This tool starts apps on connected devices for development, testing, and debugging workflows.
Instructions
Launch an app by package name
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package_name | Yes | ||
| device_serial | No |
Implementation Reference
- src/adb_mcp_server/server.py:587-594 (handler)Handler function for the 'launch_app' tool. Launches the specified Android app package using the ADB 'monkey' command with LAUNCHER intent. The @mcp.tool() decorator registers this function as an MCP tool.@mcp.tool() def launch_app(package_name: str, device_serial: str | None = None) -> str: """Launch an app by package name""" return run_adb([ "shell", "monkey", "-p", package_name, "-c", "android.intent.category.LAUNCHER", "1" ], device_serial)