Skip to main content
Glama

install_app

Deploy APK files to Android devices connected to the espresso-mcp server. Simplify app installation by specifying the app path to execute the process efficiently.

Instructions

Install an App APK on the connected Android device

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
app_pathYes

Implementation Reference

  • The install_app tool handler decorated with @mcp.tool(), which registers and implements the installation of an APK file on the connected Android device using adb install command.
    @mcp.tool() def install_app(app_path: str) -> str: """Install an App APK on the connected Android device""" result = subprocess.run(["adb", "install", app_path], capture_output=True, text=True) if result.returncode != 0: raise RuntimeError(f"Error installing App: {result.stderr}") return f"App '{app_path}' has been installed successfully."

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/vs4vijay/espresso-mcp'

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