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.
Configure the MCP server
The .vscode/mcp.json file should include:
The following steps are automated using MCP:
- Enter email:
- Enter
[email protected]in the Email field.
- Enter
- Enter password:
- Enter
12345in the Password field.
- Enter
- Login:
- Tap on the Login button.
- Enter loan amount:
- Enter
10000in the Amount field.
- Enter
- Continue:
- Tap on the Continue button.
- Select loan offer:
- Select the 2nd loan offer from the list.
- Continue:
- Tap on the Continue button.
- Submit:
- Tap on the Submit button.
{ "servers": { "ios-simulator": { "command": "npx", "args": [ "-y", "ios-simulator-mcp" ] } } }