Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

cloudphone

bởi sav7ng

DevOps & Cloud
792Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tó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ụ

ĐẦU VÀO

User asks: Navigate to the Orders page in our app on a cloud phone and return the order count with a screenshot

AGENT
  1. 1

    Verify CLOUDPHONE_API_KEY is set and mcporter is configured

  2. 2

    Call createAutoJsAgentTask with the instruction to open the app, navigate to Orders, and capture a screenshot

  3. 3

    Retrieve the taskId from the response

  4. 4

    Poll for task completion and fetch the result including screenshot and order count

ĐẦU RA

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/cloudphone

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết