terminate_app
Force-stop an app
How to use it
terminate_app is exposed by the Mobile Device MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the terminate_app tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Mobile Device MCP
claude mcp add mobile-device-mcp -- npx -y @srmorete/mobile-device-mcp@latestOther tools in Mobile Device MCP (13)
Double-tap at screen coordinates
Install an app from a host-local file (.apk for Android, .app for iOS simulator, .app/.ipa for iOS device). Replaces existing installs
Launch an app by bundle ID / package name
List installed apps
List available iOS and Android devices
Long-press at screen coordinates (configurable duration)
Press a hardware/navigation button (home, back, enter, volumeUp/Down, dpadUp/Down/Left/Right/Center)
Execute sandboxed JavaScript on-device (see runcode below)
Capture the device screen (JPEG)
Swipe from start to end coordinates
Tap at screen coordinates
Type text into the focused element
Get the UI element tree as a flat list, with optional search and limit. Off-screen elements are excluded unless includeinvisible: true