ios-copilot-mcp-demo

This project demonstrates the automation of an iOS app using the Model Context Protocol (MCP) to simulate user interactions with the app's UI. The automation includes specific steps such as logging in, entering a loan amount, and selecting loan offers. The setup for the MCP server is also included, allowing developers to easily implement automation.

GitHub Stars

3

User Rating

Not Rated

Favorites

0

Views

25

Forks

0

Issues

0

README
Overview

This project demonstrates automation of an iOS app using the iOS Simulator MCP Server and Model Context Protocol (MCP). The automation is driven by prompts that simulate user interactions with the app UI.


MCP Server Setup

Configure the MCP server
The .vscode/mcp.json file should include:

{
  "servers": {
    "ios-simulator": {
      "command": "npx",
      "args": [
        "-y",
        "ios-simulator-mcp"
      ]
    }
  }
}

Automation Prompts

The following steps are automated using MCP:

  1. Enter email:
    • Enter siam.biswas@icloud.com in the Email field.
  2. Enter password:
    • Enter 12345 in the Password field.
  3. Login:
    • Tap on the Login button.
  4. Enter loan amount:
    • Enter 10000 in the Amount field.
  5. Continue:
    • Tap on the Continue button.
  6. Select loan offer:
    • Select the 2nd loan offer from the list.
  7. Continue:
    • Tap on the Continue button.
  8. Submit:
    • Tap on the Submit button.

https://github.com/user-attachments/assets/6aeecdbd-d3a5-487a-9564-212269f6d158

References