phone-harness-mcp
v0.1.0Connect AI agents to real iPhones and Androids
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
phone_list_available_devices List phones
List the phones running on this account, whose ids the other tools take as `device`, and the phones the account can start.
phone_start_device Start a phone
Start a phone and wait until it is ready; returns its device id. With nothing named, the account's default phone (a temporary Android emulator) starts. `platform` and `kind` go together (android/emulator, or ios/device for the account's own iPhone). `device_id` is an id from phone_list_available_devices: a particular iPhone, or the account's saved Android phone (apps and logins kept between sessions). A rented phone bills the account by the minute for up to `minutes` (default 30), so stop it with phone_stop_device when done.
| Parameter | Type | Description |
|---|---|---|
device_id | ||
kind | ||
minutes | integer | |
platform |
phone_stop_device Stop a phone
End a running phone session so it stops billing. Anything not saved on the phone is lost.
| Parameter | Type | Description |
|---|---|---|
device * | string |
phone_get_screen_size Screen size
The phone's screen size in the coordinate space the tap and swipe tools use.
| Parameter | Type | Description |
|---|---|---|
device * | string |
phone_take_screenshot Take a screenshot
Take a screenshot of the phone. Use it to understand what is on screen when the text list is not enough. The image is usually smaller than the screen; the text before it says how to convert a point you see into screen coordinates. Do not reuse an old screenshot: the screen changes.
| Parameter | Type | Description |
|---|---|---|
device * | string | |
max_size | integer | |
scale |
phone_save_screenshot Save a screenshot
Save a screenshot to a file on this machine: PNG when the name ends in .png, else JPEG. Full size unless `max_size` or `scale` says otherwise.
| Parameter | Type | Description |
|---|---|---|
device * | string | |
save_to * | string | |
max_size | ||
scale |
phone_list_elements_on_screen List what is on screen
List the text visible on screen with the center of each piece, ready to tap with phone_click_on_screen_at_coordinates. On Android the positions come from the accessibility tree; on an iPhone from reading the pixels. Call it again after the screen changes.
| Parameter | Type | Description |
|---|---|---|
device * | string | |
format | string |
phone_click_on_screen_at_coordinates Tap
Tap the screen at (x, y) in screen coordinates, such as a center from phone_list_elements_on_screen.
| Parameter | Type | Description |
|---|---|---|
device * | string | |
x * | number | |
y * | number |
phone_long_press_on_screen_at_coordinates Long press
Press and hold at (x, y) in screen coordinates for `duration` milliseconds (default 800).
| Parameter | Type | Description |
|---|---|---|
device * | string | |
x * | number | |
y * | number | |
duration | integer |
phone_swipe_on_screen Swipe
Swipe in a direction: the way the finger moves, so "up" reveals what is below. Starts at (x, y), or the screen center, and travels `distance` pixels (default 40% of the screen).
| Parameter | Type | Description |
|---|---|---|
device * | string | |
direction * | string | |
distance | ||
x | ||
y |
phone_type_keys Type text
Type text into the focused field. Tap the field first so the keyboard is up; text sent with nothing focused goes nowhere. `submit` presses Enter afterwards.
| Parameter | Type | Description |
|---|---|---|
device * | string | |
text * | string | |
submit | boolean |
phone_press_button Press a button
Press a system button: HOME, BACK (Android; an iPhone has none), APP_SWITCHER, or ENTER.
| Parameter | Type | Description |
|---|---|---|
button * | string | |
device * | string |
phone_list_apps List apps
List the apps installed on the phone: package ids on Android, bundle ids on an iPhone. Any of them can be passed to phone_launch_app.
| Parameter | Type | Description |
|---|---|---|
device * | string |
phone_launch_app Launch an app
Open an app by the name on its icon ("Settings", "Notes", "Chrome") or, on Android, its package id.
| Parameter | Type | Description |
|---|---|---|
device * | string | |
name * | string |
phone_get_foreground_app Foreground app
Which app is in front right now. Not every phone reports it; then take a screenshot instead.
| Parameter | Type | Description |
|---|---|---|
device * | string |