cloudphone
sav7ng tarafından
DevOps & CloudÖzet
Use mcporter to call cpc-mcp-server AutoJS Agent tools for cloud Android task execution and result retrieval.
Açıklama
Bu Beceri Ne Yapar
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.
Ne Zaman Kullanılır
- 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
Örnek İş Akışı
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
Gereksinimler
- CLOUDPHONE_API_KEY environment variable
Kurulum
clawhub install sav7ng/cloudphoneCLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.