How it works
Setup takes two steps: in the console, authorize the Alibaba Cloud OpenAPI MCP via OAuth, and import official Alibaba Cloud skills from the Skill marketplace as needed. After that, in a cloud session the agent uses a platform-injected machine identity to call the Alibaba Cloud OpenAPI through MCP and complete tasks with those skills. Because the agent runs in the cloud, it can run long-term, be triggered in real time by events, and every cloud action is recorded server-side. Typical use: ops and incident response, data analytics, data processing, and cost governance — tasks that need an agent to run long-term, trigger in real time, and operate Alibaba Cloud resources under a governed identity.Connect to Alibaba Cloud (OAuth · in the console)
Cloud Use operates the cloud through the Alibaba Cloud OpenAPI MCP, authenticated with OAuth in the console. The five steps below are all done in the console.Prerequisite: you have an Alibaba Cloud account with permission to install third-party applications in RAM.
Get your MCP URL
Open the MCP onboarding page of the Alibaba Cloud OpenAPI portal, and choose the domain for your account’s site:
- China site: https://api.aliyun.com/mcp
- International site: https://api.alibabacloud.com/mcp
Install the official app in Alibaba Cloud RAM
Open the RAM console’s Third-party applications page for your site:
- China site: https://ram.console.aliyun.com/applications?activeTab=ThirdParty
- International site: https://ram.console.alibabacloud.com/applications?activeTab=ThirdParty
Create a Vault and authorize in the console
In the Cloud Agents console → Vaults → click Add to create a credential:
- Credential type:
MCP OAuth - MCP server: select the pinned “Alibaba Cloud · Cloud Use” from the dropdown (or choose “Custom URL” and paste the address from Step 1). If you’re unsure of the URL, click “Alibaba Cloud MCP Setup Guide” and follow the guide.
Bind the MCP on your agent
In the agent’s MCP Servers settings, select the MCP OAuth credential created in Step 3 (recommended: pick an existing credential from the Vault so you don’t re-enter the URL).
Import cloud-use skills
In the console under Skills → Create → Import from Skill marketplace:- Pick the pinned “Cloud Use” category to see the curated cloud-use skills;
- Or search for official Alibaba Cloud skills (e.g., RAM Permission Diagnosis, DataWorks Data Development, Quick BI NL2SQL) and import them;
- After Import, the skill appears in your Skills list and can be used in your agent right away.
Typical scenarios
Incident Response
- Outcome: on alert → locate root cause → controlled mitigation → fix PR.
- Key permissions: logs / monitoring read-only
allow; restart / scale / shift traffic (mitigation)ask; delete / releasedeny. - Recommended skills: RAM Permission Diagnosis & Policy Generator, CloudMonitor 2.0 Lifecycle Management, Elasticsearch Cluster Diagnosis & Repair.
- Trigger: event-driven (alert webhook, real time).
Data Analytics
- Outcome: natural-language question → explore schema → generate and run SQL → chart → attribution explanation.
- Key permissions: query / run SQL (read-only)
allow; write operationsdeny. - Recommended skills: Smart-Q Data Analytics (Quick BI), NL2SQL Engine (DMS, 60+ sources), Data Visualization.
- Trigger: real-time Q&A; optional daily digest at 08:00.
Data Processing
- Outcome: read source → rule-based clean / transform / aggregate → write to target dataset → validate row count and schema.
- Key permissions: read source
allow; write back to target table / OSSask; delete source datadeny. Tasks must be idempotent and re-runnable. - Recommended skills: DataWorks Data Development, ClickHouse Data Migration, MaxCompute Metadata Analysis.
- Trigger: daily batch at 02:00 (cron configurable).
Cost Governance (FinOps)
- Outcome: pull bills and utilization → top cost items, each with “estimated monthly savings + a one-line fix”.
- Key permissions: bills / utilization (read-only)
allow; stop idle / downsize / lifecycleask. - Recommended skills: EMR Cluster Lifecycle Management (cost tags), MaxCompute Metadata (task cost tracking), DAS Database Autonomy.
- Trigger: daily at 09:00 (cron configurable).