
Mcloud Environments
This gives Claude the ability to manage your mcloud environment lifecycle through the CLI: listing, creating, deleting, and handling deployments. The key thing to know is the difference between redeploy (reruns an existing build after you changed a variable or config) and trigger-build (pulls fresh code and builds from scratch). Production environments can't be deleted, so the skill checks the environment type first when automating teardowns. It's straightforward for the common case of needing to bounce an environment after updating secrets or kicking off a new deployment when code lands on a tracked branch.
- skills.sh installs
- 1.5K
- GitHub stars
- 236
- last updated
- Aug 21, 2026
Install
$ npx -y skills add medusajs/medusa-agent-skills --skill mcloud-environments --agent claude-codeInstalls into .claude/skills of the current project.
Files
Cloud CLI: Environments Commands
Execute mcloud environments commands to manage environment lifecycle and deployments.
Constraints
- Production environments cannot be deleted. Always check
typeviaenvironments get --jsonbefore attempting delete in automation. - Use
--yesfor destructive operations (delete) in non-interactive contexts. redeployvstrigger-buildare not interchangeable — choose the right one based on where the fix is.
Commands
environments list
List all environments in a project.
mcloud environments list --organization <org-id> --project <project-id-or-handle> --json
Options:
-o/--organization <id>— Organization ID (falls back to active context)-p/--project <id-or-handle>— Project ID or handle (falls back to active context)--json— Output as JSON
environments get
Retrieve a single environment by its ID or handle.
mcloud environments get <environment-id-or-handle> --organization <org-id> --project <project-id-or-handle> --json
Arguments:
environment— Environment ID or handle (required)
Sponsors
Details
- Repository
- github.com/medusajs/medusa-agent-skills
- Categories
- AI & Agent Building, Cloud & Infrastructure
- First seen
- Jun 3, 2026
More from medusajs/medusa-agent-skills
All 15- Mcloud Projects1.5K
- Mcloud Logs1.5K
- Mcloud Organizations1.5K
- Storefront Best Practices5K
- Building With Medusa4.8K
- Building Admin Dashboard Customizations4.7K
- Building Storefronts4.4K
- Db Migrate3.7K
- Db Generate3.6K
- Learning Medusa3.6K
- New User3.2K
- Using Medusa Cloud1.6K
- Mcloud Deployments1.5K
- Mcloud Variables1.5K