Browse documentation

Cloud

Connect agents

Hand a cloud phone to Claude Code, Cursor, the SDK, or any shell.

Claude Code / Cursor (MCP)

The console's Connect panel prints this ready to copy for each phone:

jsonphone-use
{
  "mcpServers": {
    "phone-use": {
      "command": "npx",
      "args": ["-y", "phone-use", "mcp"],
      "env": {
        "PHONE_USE_SANDBOX_URL": "<endpoint>",
        "PHONE_USE_SANDBOX_TOKEN": "<token>"
      }
    }
  }
}

Shell / CI

bashphone-use
eval "$(phone-use env sbx_YOUR_ID)"
phone-use tap "Sign up"

SDK

tsphone-use
import { createCloudSandboxBackend } from "@phone-use/sdk";

const backend = createCloudSandboxBackend({
  endpoint: process.env.PHONE_USE_SANDBOX_URL!,
  token: process.env.PHONE_USE_SANDBOX_TOKEN!,
});