Skip to main content
Glama
mobile-next

Mobile Next MCP Server

Official
by mobile-next

mobile_uninstall_app

Remove applications from iOS or Android mobile devices by specifying the device identifier and app bundle ID or package name.

Instructions

Uninstall an app from mobile device

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deviceYesThe device identifier to use. Use mobile_list_available_devices to find which devices are available to you.
bundle_idYesBundle identifier (iOS) or package name (Android) of the app to be uninstalled

Implementation Reference

  • src/server.ts:311-324 (registration)
    Registration of the 'mobile_uninstall_app' tool, including input schema (device, bundle_id) and handler that delegates to the appropriate Robot's uninstallApp method
    tool( "mobile_uninstall_app", "Uninstall App", "Uninstall an app from mobile device", { device: z.string().describe("The device identifier to use. Use mobile_list_available_devices to find which devices are available to you."), bundle_id: z.string().describe("Bundle identifier (iOS) or package name (Android) of the app to be uninstalled"), }, async ({ device, bundle_id }) => { const robot = getRobotFromDevice(device); await robot.uninstallApp(bundle_id); return `Uninstalled app ${bundle_id}`; } );
  • Implementation of uninstallApp in AndroidRobot using adb uninstall command
    public async uninstallApp(bundleId: string): Promise<void> { try { this.adb("uninstall", bundleId); } catch (error: any) { const stdout = error.stdout ? error.stdout.toString() : ""; const stderr = error.stderr ? error.stderr.toString() : ""; const output = (stdout + stderr).trim(); throw new ActionableError(output || error.message); } }
  • Implementation of uninstallApp in IosRobot using go-ios uninstall command
    public async uninstallApp(bundleId: string): Promise<void> { await this.assertTunnelRunning(); try { await this.ios("uninstall", "--bundleid", bundleId); } catch (error: any) { const stdout = error.stdout ? error.stdout.toString() : ""; const stderr = error.stderr ? error.stderr.toString() : ""; const output = (stdout + stderr).trim(); throw new ActionableError(output || error.message); } }
  • Implementation of uninstallApp in MobileDevice (for simulators) using mobilecli apps uninstall command
    public async uninstallApp(bundleId: string): Promise<void> { this.runCommand(["apps", "uninstall", bundleId]); }

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/mobile-next/mobile-mcp'

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