Skip to content

Mobile MCP: let AI agents drive your iOS and Android apps. MCP server for simulators, emulators and real devices. Works with Claude Code, Codex, Cursor and any MCP client.

Prompt examples (#41)

Kris87c03e6b35af
diff --git a/README.md b/README.md
index 1d9733e..ecb7eac 100644
--- a/README.md
+++ b/README.md
@@ -86,6 +86,64 @@ claude mcp add mobile -- npx -y @mobilenext/mobile-mcp@latest ⁠
[Read more in our wiki](https://github.com/mobile-next/mobile-mcp/wiki)! 🚀
+
+### 🛠️ How to Use 📝
+
+After adding the MCP server to your IDE/Client, you can instruct your AI assistant to use the available tools.
+For example, in Cursor's agent mode, you could use the prompts below to quickly validate, test and iterate on UI intereactions, read information from screen, go through complex workflows.
+Be descriptive, straight to the point.
+
+### ✨ Example Prompts
+
+#### Workflows
+
+You can specifiy detailed workflows in a single prompt, verify business logic, setup automations. You can go crazy:
+
+**Search for a video, comment, like and share it.**
+```
+Find the video called " Beginner Recipe for Tonkotsu Ramen" by Way of Ramen, click on like video, after liking write a comment " this was delicious, will make it next Friday", share the video with the first contact in your whatsapp list.
+```
+
+**Download a successful step counter app, register, setup workout and 5 start the app**
+```
+Find and Download a free "Pomodoro" app that has more thank 1k stars.
+Launch the app, register with my email, after registration find how to start a pomodoro timer.
+When the pomodoro timer started, go back to the app store and rate the app 5 stars,
+and leave a comment how useful the app is.
+```
+
+**Search in Substack, read, highlight, comment and save an article**
+```
+Open Substack website, search for "Latest trends in AI automation 2025", open the first article,
+highlight the section titled "Emerging AI trends", and save article to reading list for later review,
+comment a random paragraph summary.
+```
+
+**Reserve a workout class, set timer**
+```
+Open ClassPass, search for yoga classes tomorrow morning within 2 miles,
+book the highest-rated class at 7 AM, confirm reservation,
+ setup a timer for the booked slot in the phone
+```
+
+**Find a local event, setup calendar event**
+```
+Open Eventbrite, search for AI startup meetup events happening this weekend in "Austin, TX",
+select the most popular one, register and RSVP yes to the even, setup a calendar event as a reminder.
+```
+
+**Check weather forecast and send a Whatsapp/Telegram/Slack message**
+```
+Open Weather app, check tomorrow's weather forecast for "Berlin", and send the summary
+via Whatsapp/Telegram/Slack to contact "Lauren Trown", thumbs up their response.
+```
+
+- **Schedule a meeting in Zoom and share invite via email**
+```
+Open Zoom app, schedule a meeting titled "AI Hackathon" for tomorrow at 10 AM with a duration of 1 hour,
+copy the invitation link, and send it via Gmail to contacts "[email protected]".
+```
+
## Prerequisites
What you will need to connect MCP with your agent and mobile devices:
@@ -116,96 +174,6 @@ On iOS, you'll need Xcode and to run the Simulator before using Mobile MCP with
- `xcrun simctl list`
- `xcrun simctl boot "iPhone 16"`
-# Mobile Commands and interaction tools
-
-The commands and tools support both accessibility-based locators (preferred) and coordinate-based inputs, giving you flexibility when accessibility/automation IDs are missing for reliable and seemless automation.
-
-## mobile_list_apps
-- **Description:** List all the installed apps on the device
-- **Parameters:**
- - `bundleId` (string): The application's unique bundle/package identifier like: com.google.android.keep or com.apple.mobilenotes )
-
-## mobile_launch_app
-- **Description:** Launches the specified app on the device/emulator
-- **Parameters:**
- - `bundleId` (string): The application's unique bundle/package identifier like: com.google.android.keep or com.apple.mobilenotes )
-
-## mobile_terminate_app
-- **Description:** Terminates a running application
-- **Parameters:**
- - `packageName` (string): Based on the application's bundle/package identifier calls am force stop or kills the app based on pid.
-
-## mobile_get_screen_size
-- **Description:** Get the screen size of the mobile device in pixels
-- **Parameters:** None
-
-## mobile_click_on_screen_at_coordinates
-- **Description:** Taps on specified screen coordinates based on coordinates.
-- **Parameters:**
- - `x` (number): X-coordinate
- - `y` (number): Y-coordinate
-
-## mobile_list_elements_on_screen
-- **Description:** List elements on screen and their coordinates, with display text or accessibility label.
-- **Parameters:** None
-
-## mobile_element_tap
-- **Description:** Taps on a UI element identified by accessibility locator
-- **Parameters:**
- - `element` (string): Human-readable element description (e.g., "Login button")
- - `ref` (string): Accessibility/automation ID or reference from a snapshot
-
-## mobile_tap
-- **Description:** Taps on specified screen coordinates
-- **Parameters:**
- - `x` (number): X-coordinate
- - `y` (number): Y-coordinate
-
-## mobile_press_button
-- **Description:** Press a button on device (home, back, volume, enter, power button.)
-- **Parameters:** None
-
-## mobile_open_url
-- **Description:** Open a URL in browser on device
-- **Parameters:**
- - `url` (string): The URL to be opened (e.g., "https://example.com").
-
-## mobile_type_text
-- **Description:** Types text into a focused UI element (e.g., TextField, SearchField)
-- **Parameters:**
- - `text` (string): Text to type
- - `submit` (boolean): Whether to press Enter/Return after typing
-
-## mobile_element_swipe
-- **Description:** Performs a swipe gesture from one UI element to another
-- **Parameters:**
- - `startElement` (string): Human-readable description of the start element
- - `startRef` (string): Accessibility/automation ID of the start element
- - `endElement` (string): Human-readable description of the end element
- - `endRef` (string): Accessibility/automation ID of the end element
-
-## mobile_swipe
-- **Description:** Performs a swipe gesture between two sets of screen coordinates
-- **Parameters:**
- - `startX` (number): Start X-coordinate
- - `startY` (number): Start Y-coordinate
- - `endX` (number): End X-coordinate
- - `endY` (number): End Y-coordinate
-
-## mobile_press_key
-- **Description:** Presses hardware keys or triggers special events (e.g., back button on Android)
-- **Parameters:**
- - `key` (string): Key identifier (e.g., HOME, BACK, VOLUME_UP, etc.)
-
-## mobile_take_screenshot
-- **Description:** Captures a screenshot of the current device screen
-- **Parameters:** None
-
-## mobile_get_source
-- **Description:** Fetches the current device UI structure (accessibility snapshot) (xml format)
-- **Parameters:** None
-
-
# Thanks to all contributors ❤️
### We appreciate everyone who has helped improve this project.