Setup
-
Set up a phone, install the Claude Agent SDK, and create a Mobilerun API key.
- Add the Mobilerun server to your SDK options:
- Set
MOBILERUN_API_KEYand your model credentials in the process environment. Pass these options to your SDK query and handle permissions according to your application. Do not expose the key in client-side code.
First task
List my Mobilerun devices and take a screenshot of the ready device.See MCP Server for tool availability and access controls. See the Claude Agent SDK MCP documentation.