CLOUSD
Open account
AI agents

Android MCP server: give your AI assistant a phone

An Android MCP server lets an AI assistant see a phone screen and act on it. The two ways to run one, a local server over ADB or a hosted server with cloud phones, the tools a good server exposes, and setup lines for Claude, Cursor and Codex.

The Model Context Protocol gave AI assistants a standard way to use tools: a server describes what it can do, and any client that speaks MCP can call it. An Android MCP server applies that to a phone. The assistant asks for the screen, gets it back as an image and a list of elements, decides what to do, and sends a tap, a swipe or some text.

This guide explains the two ways to run an Android MCP server, what tools a useful one exposes, and how to connect one to Claude, Cursor and Codex in a minute.

What an Android MCP server does

Stripped down, the job is a loop with two halves.

  • Observe. Return what is on the screen in a form a model can use: a screenshot, and the visible elements as text with their positions, so the model does not have to guess coordinates from pixels.
  • Act. Perform one step: tap an element, type, scroll, press back, open an app or a link.

Everything else is there to make the loop reliable. A good server tells the model when its picture of the screen is stale, waits for the screen to settle after an action, and exposes the phone's state: which app is in front, what notifications arrived, whether something crashed. The guide to how AI agents control an Android phone goes through that loop and what breaks it.

Two ways to run one

A local server over ADB

Open-source Android MCP servers run on your computer and talk to a device through ADB: a handset on a USB cable, or an emulator. The server translates MCP calls into adb shell input, screenshots and UI dumps.

It is free and it is yours. It also means the phone is yours to provide and keep alive. A handset has to stay plugged in and unlocked. An emulator needs a machine with hardware virtualization and several gigabytes of memory, which rules out most laptops in a meeting and most CI runners. The assistant can only work while that computer is on, and one device serves one task at a time.

A hosted server with cloud phones

A hosted Android MCP server runs in a data center next to the phones it controls. You add one address to your assistant, and the phones exist on the other side: created on demand, reachable from any client, running after you close your laptop.

Clousd's server is at https://api.clousd.com/mcp. The phones are cloud Android devices on Android 12 to 17 that connect from the country you choose. The server itself is open source, in the clousd-sdk repository on GitHub.

Local server over ADBHosted server with cloud phones
The phoneYour handset or emulatorCreated on demand in a data center
SetupInstall the server, ADB and a deviceAdd one address
Works when your computer is offNoYes
Several phones at onceOne per device you ownAs many as you create
Android versionsThe ones you have12 to 17
CostFree, plus your hardwareBy the minute while a phone runs

Neither is better in the abstract. A local server is right for poking at your own handset. A hosted one is right when the assistant should have a phone of its own.

Connect it in a minute

Claude, ChatGPT and Perplexity apps. Add a custom connector with the address https://api.clousd.com/mcp. The app opens a Clousd page where you sign in, choose whether the assistant may control phones or only see them, and click Allow. No key is involved; the connection is standard OAuth, and you can disconnect it in the dashboard at any time.

Claude Code. One line, with an API key from the dashboard:

claude mcp add --transport http clousd https://api.clousd.com/mcp --header "Authorization: Bearer cl_live_…"

Codex. In ~/.codex/config.toml:

[mcp_servers.clousd]
url = "https://api.clousd.com/mcp"
http_headers = { "Authorization" = "Bearer cl_live_…" }

Cursor and other clients. In the client's MCP settings:

{
  "mcpServers": {
    "clousd": {
      "url": "https://api.clousd.com/mcp",
      "headers": { "Authorization": "Bearer cl_live_…" }
    }
  }
}

The key always travels in the Authorization header. A key placed in the address is refused, which keeps it out of logs and browser history. The MCP documentation has the full reference.

The tools your assistant gets

Once connected, the assistant sees a small set of tools:

  • devices: list the phones the key can use; start, stop or rename one.
  • observe: a fresh screenshot with every element numbered, and the elements as text with their positions.
  • act: tap, long press, swipe, scroll, type, press keys, open apps and links; read notifications, the clipboard, app info, crashes and health. It refuses to act on a stale screen.
  • run: give one phone or several a task in plain words. Clousd's own agent does the steps and returns the answer and a replay link, and JSON in your schema if you ask for it.
  • run_status and answer: follow a run, and reply when it asks a question or asks permission for a step.
  • credentials: saved logins by name. The assistant passes a name; the values are typed on the phone and never reach the model.
  • schedules: tasks that run by themselves at a set time on chosen days.
  • account: the balance and warnings worth showing the user before work starts.

There are two styles of use. An assistant can drive the screen itself with observe and act, one step at a time. Or it can hand over a goal with run, for example "open the app, sign in with the saved login and tell me how many orders are on the Orders page", and wait for the answer. The second is cheaper in tokens and usually faster, because the loop runs next to the phone.

What to check before you rely on one

  • Who can use the phone. A key should be limited to the phones you choose and to "see" or "see and control". Clousd keys can be scoped to chosen phones.
  • Risky steps. For anything that sends, pays or deletes, use a mode where the agent stops and asks. Clousd's run has an ask mode that pauses with a question or a permission request.
  • Secrets. Passwords should not pass through the model. Saved logins solve that.
  • Limits of a cloud phone. Clousd phones are cloud devices, not handsets, and we do not claim device certification, so an app that checks for certified hardware may refuse to run. The phone has no number for calls or SMS. Try your app in the free minutes first.

Keep reading

All guides

Ready to launch
your first cloud phone?

Try free for 30 minutes

No card needed