Skip to main content
The Vercel AI SDK helps applications build model-powered agents. Its MCP client can provide Mobilerun phone tools to an agent.

Setup

  1. Set up a phone, install @ai-sdk/mcp, ai, and your model provider package, and create a Mobilerun API key.
  2. Connect the MCP client in your server-side TypeScript application:
  1. Set MOBILERUN_API_KEY and 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.