clousd-mcp

v1.6.6
io.github.Clousd-Android/clousd-mcp Checked 3 days ago Published 6 days ago

Cloud Android phones for AI agents: give phones a task in plain words and get the answer

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

account

The account: plan and phones, money left, what is about to renew, and warnings. Check it before starting phones or long work, and tell the user every warning in plain words with the top_up link.

devices

Phones this key can use. op=list: name, label (the name people see in the dashboard, e.g. "Phone #3"), number, state (running / stopped / starting), Android version and network exit, and kind: cloud or physical. Every tool takes the name, the label or the number. A physical phone (kind physical) stays on: start, stop and restart do not apply to it; op=reset erases everything on it and keeps the rental; op=delete returns it and erases everything on it at once, with no Trash - ask the user first. op=start / op=stop / op=restart with device: start a stopped phone (one to t…

ParameterTypeDescription
devicestringdevice (name, label or number) - for everything except list and trash
foreverbooleandelete: true wipes the phone with all its data at once instead of moving it to Trash (cannot be undone)
labelstringrename: the new name, up to 40 characters
opstringlist (default) | start | stop | restart | reset | rename | delete | trash | restore

run

Give phones a task. Clousd's agent looks at the screen, taps and types until the goal is reached, and finishes with an answer. Several devices = the same task on each, all at once (one run per phone under one parent). Returns the run with its status; if it is still going, follow it with run_status. A run in mode=ask may stop with waiting_for: reply with answer. Logins: never ask the user for passwords - pass credentials; their values are typed on the phone without you or the model seeing them. A task that needs a file (post this photo, fill this form from this PDF, install…

ParameterTypeDescription
devices *stringone device or several: names, labels or numbers, comma-separated or a JSON list (up to 32)
task *stringthe goal in plain words, e.g. "Open Settings and tell me the Android version" or "Sign in to the app with the saved login and open the profile"
credentialsstringsaved logins to use: "package/name" items, comma-separated, from the credentials tool
filesstringLibrary files to put on the phone before the task: ids from the library tool, comma-separated (up to 8). Photos and videos land in the gallery, documents in Downloads, apks are installed; the agent is…
max_stepsintegerstep limit, default 100
modestringauto (default): works without stopping; ask: asks before risky steps (answer them)
output_schemastringoptional JSON Schema: the answer also comes back as structured_output in this shape
wait_secondsintegerwait up to this long for the result, 0..50

library

The user's Library on Clousd: every file they want on their phones lives here once (photos, videos, documents, apps) and is used by id. op=list shows it; op=upload adds a local file and returns its id; op=send copies files to phones right away (photos and videos into the gallery as if taken there, documents into Downloads, apks installed). For a task that needs a file, prefer run(files=...) - the file is placed on the phone before the first step.

ParameterTypeDescription
devicesstringsend: devices to copy the files to (names, labels or numbers)
idsstringsend: library ids, comma-separated
kindstringlist: only this kind - image | video | doc | apk (empty = all)
opstringlist (default) | upload | send
pathstringupload: a local file to add - photo (.jpg .png .webp .heic), video (.mp4 .mov), document (.pdf .txt .csv .md .json .docx .xlsx .zip) or .apk; photo 25 MB, video 200 MB, document 50 MB, apk 300 MB

apps

The user's own apps on Clousd: APKs they uploaded, kept in their private storage. Upload an APK once (op=upload), then install it by id on any of their phones (op=install), as often as needed. Clousd has no catalog of other people's apps - for apps from Google Play, open the Play Store on the phone. Every APK is checked on upload (a real Android app, 64-bit ARM code, no root or system tools) and refused with the reason otherwise. To have an app on the phone before a task, pass its id in run(files=...).

ParameterTypeDescription
appintegerinstall / delete: the app id from op=list or op=upload
devicesstringinstall: phones to install on (names, labels or numbers); they must be running
opstringlist (default) | upload | install | delete
pathstringupload: a local .apk file, up to 300 MB

run_status

Follow a run. op=status: status (queued, running, paused = waits for an answer, completed, failed, cancelled), the answer or error, the last steps, per-device results for a run on several phones, and a replay link for the user. op=list: recent runs of this key. op=cancel: stop it. op=message: tell the running agent something (it reads it before its next step).

ParameterTypeDescription
opstringstatus (default) | list | cancel | message
runstringrun id from run (or runs listed with op=list)
stepsintegerstatus: how many last steps to show, 0..20
textstringmessage: what to tell the running agent
wait_secondsintegerstatus: wait up to this long for it to finish or ask, 0..50

answer

Reply to a run that waits for you: answer its question with text, or allow / decline the step it asks permission for. If the question is something only the user knows, ask the user first. The run goes on at once.

ParameterTypeDescription
run *stringrun id that waits (status paused, waiting_for)
allowa permission: true to allow the step, false to decline it
textstringa question: your answer (or one of its options)

observe

Look at the phone yourself: a fresh screenshot, the app on screen and (with_text) every labelled or tappable element with a number. Act on an element by its number (act element=N); coordinates, when needed, are in this image's pixels.

ParameterTypeDescription
device *stringDevice from devices: its name, its label from the dashboard (e.g. "Phone #3") or its number
numbersbooleandraw the element numbers on the screenshot
with_textbooleanalso list the elements (numbered, centres in image pixels)

act

Do one thing on the phone yourself, then wait until the screen settles. Prefer element numbers from observe over coordinates; tap_text taps the element whose text contains `text`. Typing goes into the focused field (tap it first) and works in any language. "the screen did not change" means the action probably missed - observe again. Read without touching the screen: installed (apps), notifications (the shade), clipboard, app_info (version, installer, running), crashes (recent app crashes and ANRs), health (running, booted, network exit, last check). For a whole goal, prefer…

ParameterTypeDescription
action *stringone of: tap long_press swipe scroll tap_text wait_text type key open_app close_app open_url intent settings clipboard_set notifications_open notifications_close notifications_clear | read: installed n…
device *stringDevice from devices: its name, its label from the dashboard (e.g. "Phone #3") or its number
elementelement number from the last observe (tap, long_press)
msintegerswipe / long_press duration in ms
textstringtype: the text; key: home|back|recents|enter|tab|del|menu; scroll: down|up; open_app/close_app/app_info/crashes: package; open_url: https://...; tap_text/wait_text: text on screen; settings: wifi|blue…
timeoutintegerwait_text: seconds to wait, up to 120
xx in screenshot pixels (tap, long_press, swipe start)
x2swipe end x
yy in screenshot pixels
y2swipe end y

credentials

Saved logins of the account: package, name and which fields are set (username, email, password, phone, totp...). Values are never shown. Pass one to run as "package/name"; the agent types it on the phone without seeing it. The user adds logins in the dashboard (Tasks → Sign-in) - do not ask them for passwords in the chat.

ParameterTypeDescription
packagestringonly logins of this app package (empty = all)

schedules

Tasks that run by themselves. op=list: id, name, task, phones, at, days, tz, enabled and the runs it started last time. op=add: run `task` on `devices` at `at` on `days`, or every hour (every=hour), or only on demand (trigger=api); each firing starts runs like the run tool. op=run: start it now. op=toggle: pause or resume. op=delete: remove it.

ParameterTypeDescription
atstringadd: time HH:MM (every=hour: only the minutes count)
credentialsstringadd: saved logins "package/name", comma-separated
daysstringadd: days 1-7 (1 = Monday), comma-separated; empty = every day
devicesstringadd: devices, comma-separated or a JSON list
everystringadd: day (default) | hour
namestringadd: a short name
opstringlist (default) | add | run | toggle | delete
schedulestringrun / toggle / delete: schedule id from op=list
taskstringadd: the task in plain words, like for run
triggerstringadd: empty = by time | api = only when started with op=run
tzstringadd: IANA time zone of `at`, e.g. Europe/Berlin (ask the user; default UTC)