Setup
-
Set up a phone, install
@ai-sdk/mcp,ai, and your model provider package, and create a Mobilerun API key. - Connect the MCP client in your server-side TypeScript application:
- Set
MOBILERUN_API_KEYand model credentials in the server process environment. Keep the key server-side and configure action approvals.
First task
List my Mobilerun devices and take a screenshot of the ready device.See MCP Server for available tools. See the AI SDK MCP documentation for model calls.