# Run an Android app in the cloud from ChatGPT or Claude

Add https://mobilebox.dev/mcp as a custom connector in Claude or ChatGPT and sign in once; the assistant starts a cloud Android phone, installs an app and uses it. The setup per app and the real MCP calls: tools/list, create_phone, install_app, act, observe.

By [Mustafa Yenler](https://mobilebox.dev/about?via=md#mustafa) [LinkedIn](https://www.linkedin.com/in/mustafa-yenler) Updated 22 November 2026

Guides4 min read

In this article

Add `https://mobilebox.dev/mcp` as a custom connector in Claude or ChatGPT, sign in once, and the assistant can start a cloud Android phone, install an app and use it for you. Below are both setups and the MCP calls such a chat makes, exactly as we sent them to `https://mobilebox.dev/mcp` on November 22, 2026: a phone ready in 18.3 s and Wikipedia installed in 3.6 s, for $0.01.

We ran the exchange with an API key from the command line. We did not run it inside the ChatGPT or Claude apps; the steps for those come from their own help pages.

## Add the connector

There’s no key to paste. The connector URL is all the assistant needs: on first use it opens a Mobilebox sign-in (GitHub, Google or an email code), you choose the workspace and press Allow, and the assistant gets a token for that workspace. The protocol details are in [MCP sign-in](https://mobilebox.dev/docs/reference?via=md#mcp-sign-in), and you can revoke the connection under API keys in the dashboard.

**Claude** ([Anthropic’s guide](https://support.claude.com/en/articles/11175166-getting-started-with-custom-connectors-using-remote-mcp), reviewed November 22, 2026): open Customize, then Connectors, choose Add and “Add custom connector”, name it Mobilebox, paste `https://mobilebox.dev/mcp`, continue through the detected sign-in and press Add. Custom connectors are on every plan, Free with one. On Team and Enterprise an owner adds it under Organization settings, and members press Connect.

**ChatGPT** ([OpenAI’s guide](https://help.openai.com/en/articles/12584461-developer-mode-apps-and-full-mcp-connectors-in-chatgpt-beta), reviewed November 22, 2026): open Plugins, press the plus button, choose “Add custom MCP server”, name it, enter `https://mobilebox.dev/mcp` as the endpoint, keep OAuth sign-in, accept the warning and create it. As OpenAI’s page stands, full MCP (tools that change things, like creating a phone) is for Business and Enterprise/Edu workspaces, Pro gets read and fetch only, and custom servers work on ChatGPT on the web, not in the mobile app. ChatGPT may ask you to confirm a call before it runs.

Coding tools take the same URL: [Claude Code](https://mobilebox.dev/blog/android-agent-mcp?via=md), [Cursor, Codex and VS Code](https://mobilebox.dev/blog/android-mcp-cursor-codex-vscode?via=md).

## What the assistant does, call by call

Every chat with a Mobilebox connector runs on the same few calls. These are ours, sent with curl and the key in an environment variable; the assistant sends the same JSON-RPC with its OAuth token instead. Responses are shortened only where marked.

Without any credentials the server answers 401 and names its sign-in, which is what makes a connector open the Allow page:

```
curl -si https://mobilebox.dev/mcp -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
# HTTP/2 401
# www-authenticate: Bearer resource_metadata="https://mobilebox.dev/.well-known/oauth-protected-resource/mcp"
```

With a key, `tools/list` lists 19 tools (descriptions and schemas left out):

```
→ {"jsonrpc":"2.0","id":2,"method":"tools/list"}
← list_phones, create_phone, start_phone, park_phone, delete_phone, set_device, install_app, list_apps,
  uninstall_app, app_logs, push_file, pull_file, observe, act, screenshot, watch_phone, record_screen,
  publish_proof, request_capability                                          (HTTP 200, 0.04 s)
```

Then a phone, an app and a look at the screen. Each request is a `tools/call`; here is the first in full, then only the tool and its arguments:

```
→ {"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"create_phone",
   "arguments":{"name":"recipe-mcp-chat","task":"run an Android app from a chat assistant over MCP"}}}
← ph_pzjrxlmrk4k4 "recipe-mcp-chat" ready
  app: com.android.launcher3
  [1] List #com.android.launcher3:id/workspace (540,1200)
  … 8 more home-screen elements                                             (18.3 s)

→ install_app {"phone_id":"ph_pzjrxlmrk4k4","url":"https://f-droid.org/repo/org.wikipedia_50616.apk"}
← Installed org.wikipedia r/50616-r-2026-11-03 (versionCode 50616).        (3.6 s)

→ act {"phone_id":"ph_pzjrxlmrk4k4","actions":[{"type":"open_app","package":"org.wikipedia"},
       {"type":"wait_for","text":"Forward","timeout_ms":15000}]}
← 1. open_app ok
  2. wait_for ok
  app: org.wikipedia
  [1] Image desc="Wikipedia" (540,152)
  [2] Text "All the world's knowledge" (540,373)
  [3] Text "Wikipedia is a free online encyclopedia with 65 million articles collaboratively written
      and maintained in more than 300 languages by a community of volunteers." (540,589)
  [4] Text "Learn more about Wikipedia" (540,810)
  [5] Row "Forward" (1017,2212)                                              (2.2 s)

→ observe {"phone_id":"ph_pzjrxlmrk4k4"}
← the same five elements                                                    (0.04 s)

→ delete_phone {"phone_id":"ph_pzjrxlmrk4k4"}
← ph_pzjrxlmrk4k4 deleted                                                   (1.3 s)
```

That is the loop a chat repeats: read the numbered list, send a few actions, read the new list. The assistant decides what to tap, Mobilebox runs the phone. `screenshot` adds an image when the list can’t show something, such as a map.

## What it cost

The phone was ready 18.2 s after the create began and was deleted 17 s later, so it was billed the one-minute minimum: $0.01. A whole task takes a few minutes; the five [tested app recipes](https://mobilebox.dev/blog/ai-agent-android-app-recipes?via=md) each cost between $0.013 and $0.024.

## A first prompt

```
Use Mobilebox. Create a phone named first-try, install Wikipedia from https://f-droid.org/repo/org.wikipedia_50616.apk, get past its intro and tell me the first sentence of the article on the Matterhorn. Delete the phone when you're done.
```

For tasks in other apps, with the exact calls, misses and costs of real runs, start at the [recipes hub](https://mobilebox.dev/blog/ai-agent-android-app-recipes?via=md). If a task needs your password, the assistant can open the [live view](https://mobilebox.dev/live-view?via=md) for you to type it yourself.

[Mustafa Yenler](https://mobilebox.dev/about?via=md#mustafa) is the founder of fifteenA and builds Mobilebox, from Berlin and San Francisco. [LinkedIn](https://www.linkedin.com/in/mustafa-yenler)

## Try it in your agent in 60 seconds

Paste this into Claude Code, Cursor, Codex or any agent that can read a web page. It asks for your email, gets its own key at once and adds the phone tools; the 6-digit code from your inbox keeps the workspace.

```
Set up Mobilebox for me: read https://mobilebox.dev/setup.md?via=android-app-in-chatgpt-claude and follow it.
```

[What your agent reads](https://mobilebox.dev/setup.md?via=android-app-in-chatgpt-claude)

In this article

[All articles](https://mobilebox.dev/blog?via=md)

## Next question

- [Can my agent automate tasks in my apps?](https://mobilebox.dev/app-automation?via=next-automation)
