Loading...
Loading...
Manages Medusa Cloud resources through the Cloud CLI (mcloud). Use when deploying, debugging deployments, managing environments, environment variables, or any Medusa Cloud operation. CRITICAL for mcloud commands, deployment failures, build logs, Cloud setup, and CI/CD workflows.
npx skill4agent add medusajs/medusa-agent-skills using-medusa-cloudmcloud--jsonmcloud whoami --jsongetlistdeleteredeploytrigger-build--yesdelete--yesmcloud environments delete--reveal--json--follow--from--to--jsonsetup.mddebugging-deployments.mdenvironments-and-variables.mdmcloud whoami --json | jq -e '.auth.kind != "none" and .organization.id != null'0mcloud use \
--organization org_123 \
--project proj_123 \
--environment productionCRITICAL:without flags is interactive and fails in CI/Docker/piped input. Always pass flags.mcloud use
backend_statusstorefront_status| Status | Meaning | Logs to check |
|---|---|---|
| Build step failed | |
| Runtime crashed after build | |
| Exceeded time budget | Both: build-logs first, then runtime logs |
| Command | When to use |
|---|---|
| Fix is environment-side (variable change, infra) — reruns existing build |
| Fix is in source code on the tracked branch — starts new build |
mcloud loginmcloud usedelete--yesMCLOUD_TOKENmcloud login--organizationorganizations listdepl_*mcloud logs --deploymentsetup.md - CLI installation, authentication, context setup
debugging-deployments.md - Build/deployment failure recipes and log analysis
environments-and-variables.md - Environment lifecycle and variable management