connect
Establishes a mobile device connection and initializes the Android or iOS SDK runtime, reporting compatibility warnings and upgrade recommendations.
Instructions
Create or reuse the connection identified by deviceId and appId, initialize its Android or iOS SDK runtime, and report runtime and Release compatibility. Surface compatibilityWarning and a non-null compatibility.upgradeRecommendation to the user as non-blocking advisories.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | Prepared Host endpoint IPv4 address; to-run uses 127.0.0.1 for USB devices and simulators. | |
| port | Yes | Prepared Host endpoint port after ADB forwarding, iproxy, or direct simulator resolution. | |
| appId | Yes | Android package name or iOS bundle identifier. | |
| deviceId | Yes | Canonical ADB serial, CoreDevice identifier, or simulator UDID. | |
| platform | Yes | SDK platform to load into the target process. | |
| runtimePort | Yes | Device-side MobileEasyUse runtime listen port. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | ||
| port | Yes | ||
| state | Yes | ||
| target | Yes | ||
| runtime | Yes | Runtime identity reported by the SDK loaded in the target App. | |
| connected | Yes | ||
| fridaTarget | Yes | ||
| compatibility | Yes | Compatibility between the App Release and this MCP version, or null when the online catalog could not be checked. | |
| compatibilityWarning | No | Non-blocking notice that compatibility could not be checked; surface it to the user. |