cloudphone
bởi sav7ng
DevOps & CloudTóm tắt
Use mcporter to call cpc-mcp-server AutoJS Agent tools for cloud Android task execution and result retrieval.
Mô tả
Kỹ năng này làm gì
Runs Android automation tasks on cloud-hosted devices by dispatching AutoJS scripts via cpc-mcp-server through the mcporter CLI. Handles task creation, execution, and result retrieval including screenshots and logs.
Removes the need for a local emulator or physical device by running Android automation entirely in the cloud.
Khi nào nên dùng
- Run smoke tests on a cloud Android device
- Automate app login and navigation flows remotely
- Capture screenshots from a remote Android session
- Execute batch UI operations on a cloud phone
- Retrieve data from an app running on a remote device
Quy trình ví dụ
User asks: Navigate to the Orders page in our app on a cloud phone and return the order count with a screenshot
- 1
Verify CLOUDPHONE_API_KEY is set and mcporter is configured
- 2
Call createAutoJsAgentTask with the instruction to open the app, navigate to Orders, and capture a screenshot
- 3
Retrieve the taskId from the response
- 4
Poll for task completion and fetch the result including screenshot and order count
Screenshot of the Orders page and the current order count returned from the cloud device
Yêu cầu
- CLOUDPHONE_API_KEY environment variable
Cài đặt
clawhub install sav7ng/cloudphoneChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.