Skip to main content
Glama

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
NameRequiredDescriptionDefault
package_nameYes
device_serialNo

Implementation Reference

  • 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)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rahulkr/r_adb_mcp_server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server