Mcloud Variables
Command-line reference for listing, reading, setting, and deleting environment variables in mcloud Cloud environments.
- CCM score
- 75 of 100
- skills.sh installs
- 1.6K
- GitHub stars
- 237
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers list, get, set, and delete for backend and storefront variable sets, with build and runtime scope filters
- Includes
--revealand--dotenvoptions,.envfile import via--env-file, and JSON output fields likeis_secretandsource - Enforces masking of secret values unless the user explicitly requests
--reveal, and requires--yesfor deletes in non-interactive mode - Designed for inspecting or changing environment variables, noting that changes need a redeploy or trigger-build to take effect
Install
$ npx -y skills add medusajs/medusa-agent-skills --skill mcloud-variables -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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
Details
- Repository
- github.com/medusajs/medusa-agent-skills
- Categories
- DevOps & Cloud, CLI & Terminal
- First seen
- Jun 3, 2026
Questions
What does the mcloud-variables skill do?
It runs mcloud variables commands to list, get, set, and delete environment variables for a Cloud environment. It also covers exporting variables, and it avoids revealing secret values unless the user explicitly asks.
How do I install the mcloud-variables skill?
Run npx -y skills add medusajs/medusa-agent-skills --skill mcloud-variables -y in your project. The skill then lets the agent inspect, read, create, update, delete, and export environment variables.
Do I need to redeploy after changing a variable with mcloud-variables?
Yes, set and delete do not rebuild or redeploy on their own. Run mcloud environments redeploy for a runtime variable, or mcloud environments trigger-build for a build variable.
Where does mcloud-variables sit in the DevOps & Cloud category?
It is listed in the DevOps & Cloud category on Claude Marketplaces, alongside skills such as azure-diagnostics, azure-prepare, azure-deploy, azure-validate and azure-storage. Its focus is managing Medusa Cloud environment variables through the mcloud CLI.
More from medusajs/medusa-agent-skills
All 15- Mcloud Projects1.6K
- Mcloud Logs1.6K
- Mcloud Organizations1.6K
- Storefront Best Practices5.2K
- Building With Medusa5K
- Building Admin Dashboard Customizations4.8K
- Building Storefronts4.6K
- Db Migrate3.8K
- Db Generate3.7K
- Learning Medusa3.7K
- New User3.4K
- Using Medusa Cloud1.7K
- Mcloud Deployments1.6K
- Mcloud Environments1.6K
Similar to Mcloud Variables
More DevOps & Cloudmcloud-environmentsSkillmedusajs/medusa-agent-skills1.6K installsManage mcloud environment lifecycle, redeploys, and builds with a production-delete guardrail.
configuration-managementSkillaj-geddes/useful-ai-prompts451 installsMulti-environment configuration guide covering environment variables, secrets, feature flags, and 12-factor practices.
using-medusa-cloudSkillmedusajs/medusa-agent-skills1.7K installsOperational guide for managing Medusa Cloud deployments, environments, and variables through the mcloud CLI.
env-secrets-managerSkillalirezarezvani/claude-skills706 installsEnv and secrets hygiene for local and production, from auditing .env files to planning rotation.
env-config-managerPlugindevsforge/marketplace81 starsEnvironment configuration and secrets management