تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

cloudphone

بواسطة sav7ng

DevOps & Cloud
792التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Use mcporter to call cpc-mcp-server AutoJS Agent tools for cloud Android task execution and result retrieval.

الوصف

ما الذي تفعله هذه المهارة

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.

متى تستخدمها

  • 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

مثال على سير العمل

الإدخال

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

الوكيل
  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

الإخراج

Screenshot of the Orders page and the current order count returned from the cloud device

المتطلبات

  • CLOUDPHONE_API_KEY environment variable

التثبيت

clawhub install sav7ng/cloudphone

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط