
Mcloud Variables
Gives Claude the ability to inspect environment variables in your Cloud environments through the mcloud CLI. It can list all variables for an environment, retrieve specific ones by key or ID, and even export them to .env files. The most important thing to know is that it won't reveal secret values unless you explicitly ask for them, which is good since those values end up in terminal history and logs. You can query by variable ID without needing project context, but lookups by key name require the full organization, project, and environment specified. Useful when you need to audit what's configured, debug missing variables, or understand what's available at build versus runtime.
- skills.sh installs
- 1.5K
- GitHub stars
- 236
- last updated
- Aug 21, 2026
Install
$ npx -y skills add medusajs/medusa-agent-skills --skill mcloud-variables --agent claude-codeInstalls into .claude/skills of the current project.
Files
Cloud CLI: Variables Commands
Execute mcloud variables commands to inspect and manage environment variables for Cloud environments.
Constraints
- Never pass
--revealunless the user explicitly asks. Secret values appear in terminal scrollback, log aggregators, and process listings. - Variable changes need a deploy to apply.
set/deletedon't rebuild or redeploy. Runmcloud environments redeploy <env>for a runtime variable, ormcloud environments trigger-build <env>for a build variable (a redeploy reuses the existing image and won't pick up build-variable changes). - System variables can't be deleted, and
deleterequires--yesin non-interactive mode. - Looking up or creating a variable by key requires
--projectand--environment(or the equivalent in active context). Referencing by ID (var_...) works without project/environment context. setanddeleterequire mcloud CLI v0.1.10+.
Commands
variables list
List all environment variables for a Cloud environment.
mcloud variables list \
--organization <org-id> \
--project <project-id-or-handle> \
--environment <environment-handle> \
--json
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 Environments1.5K
- 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