[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-medusa-mcloud-variables":3,"mdc-tr3hdv-key":40,"related-org-medusa-mcloud-variables":2361,"related-repo-medusa-mcloud-variables":2520},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":12,"stars":24,"repoUrl":25,"updatedAt":26,"license":27,"forks":28,"topics":29,"repo":35,"sourceUrl":38,"mdContent":39},"mcloud-variables","inspect environment variables for cloud projects","Execute mcloud variables commands to list, get, set, and delete environment variables for a Cloud environment. Use when inspecting, reading, creating, updating, deleting, or exporting environment variables. Never pass --reveal unless the user explicitly requests secret values.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},"medusa","Medusa","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fmedusa.jpg","medusajs",[13,17,18,21],{"name":14,"slug":15,"type":16},"Operations","operations","tag",{"name":9,"slug":8,"type":16},{"name":19,"slug":20,"type":16},"Cloud","cloud",{"name":22,"slug":23,"type":16},"Environment Variables","environment-variables",197,"https:\u002F\u002Fgithub.com\u002Fmedusajs\u002Fmedusa-agent-skills","2026-07-17T05:31:37.396244",null,24,[30,31,32,33,34,8],"agentic-commerce","claude","claude-code","commerce","ecommerce",{"repoUrl":25,"stars":24,"forks":28,"topics":36,"description":37},[30,31,32,33,34,8],"Agent skills and commands for Medusa best practices and conventions.","https:\u002F\u002Fgithub.com\u002Fmedusajs\u002Fmedusa-agent-skills\u002Ftree\u002FHEAD\u002Fplugins\u002Fmedusa-cloud\u002Fskills\u002Fmcloud-variables","---\nname: mcloud-variables\ndescription: Execute mcloud variables commands to list, get, set, and delete environment variables for a Cloud environment. Use when inspecting, reading, creating, updating, deleting, or exporting environment variables. Never pass --reveal unless the user explicitly requests secret values.\nallowed-tools: Bash(mcloud variables*), Bash(mcloud environments*), Bash(jq*)\n---\n\n# Cloud CLI: Variables Commands\n\nExecute `mcloud variables` commands to inspect and manage environment variables for Cloud environments.\n\n## Constraints\n\n- **Never pass `--reveal` unless the user explicitly asks.** Secret values appear in terminal scrollback, log aggregators, and process listings.\n- **Variable changes need a deploy to apply.** `set`\u002F`delete` don't rebuild or redeploy. Run `mcloud environments redeploy \u003Cenv>` for a **runtime** variable, or `mcloud environments trigger-build \u003Cenv>` for a **build** variable (a redeploy reuses the existing image and won't pick up build-variable changes).\n- **System variables can't be deleted**, and `delete` requires `--yes` in non-interactive mode.\n- Looking up or creating a variable by key requires `--project` and `--environment` (or the equivalent in active context). Referencing by ID (`var_...`) works without project\u002Fenvironment context.\n- `set` and `delete` require mcloud CLI v0.1.10+.\n\n## Commands\n\n### variables list\n\nList all environment variables for a Cloud environment.\n\n```bash\nmcloud variables list \\\n  --organization \u003Corg-id> \\\n  --project \u003Cproject-id-or-handle> \\\n  --environment \u003Cenvironment-handle> \\\n  --json\n```\n\n**Options:**\n- `-o\u002F--organization \u003Cid>` — Organization ID (falls back to active context)\n- `-p\u002F--project \u003Cid-or-handle>` — Project ID or handle (falls back to active context)\n- `-e\u002F--environment \u003Chandle>` — Environment handle (falls back to active context)\n- `-t\u002F--type \u003Cbackend|storefront>` — Which variable set to list (default: `backend`)\n- `--scope \u003Cbuild|runtime>` — Filter by scope; repeatable (default: both scopes)\n- `--include-system` — Include system variables Medusa auto-injects (default: `false`)\n- `--reveal` — Print secret values in plaintext instead of masking (**use only when explicitly asked**)\n- `--dotenv` — Output `.env`-formatted `KEY=VALUE` lines instead of a table\n- `--json` — Output as JSON\n\n### variables get\n\nRetrieve a single variable by its ID (`var_...`) or key.\n\n```bash\n# By key (requires project + environment context)\nmcloud variables get ADMIN_CORS \\\n  --organization \u003Corg-id> \\\n  --project \u003Cproject-id-or-handle> \\\n  --environment \u003Cenvironment-handle> \\\n  --json\n\n# By ID (works without project\u002Fenvironment context)\nmcloud variables get var_01XYZ --json\n```\n\n**Arguments:**\n- `variable` — Variable ID (`var_...`) or key (required)\n\n**Options:**\n- `-o\u002F--organization \u003Cid>`, `-p\u002F--project \u003Cid-or-handle>`, `-e\u002F--environment \u003Chandle>`\n- `-t\u002F--type \u003Cbackend|storefront>` — Which variable set to read (default: `backend`)\n- `--reveal` — Print secret value in plaintext (**use only when explicitly asked**)\n- `--json` — Output as JSON\n\n### variables set\n\nCreate or update one or more variables. The CLI updates when you reference an existing key or a `var_...` ID, and creates otherwise.\n\n```bash\n# Single variable\nmcloud variables set API_KEY pk_123 \\\n  --organization \u003Corg-id> \\\n  --project \u003Cproject-id-or-handle> \\\n  --environment \u003Cenvironment-handle>\n\n# Multiple at once\nmcloud variables set -v API_KEY=pk_123 -v CLIENT_ID=my_app\n\n# From a .env file\nmcloud variables set --env-file .env\n```\n\n**Arguments:**\n- `variable` — Variable ID (`var_...`) or key to set (omit when using `--var`\u002F`--env-file`)\n- `value` — Value to set (required when a `variable` argument is passed)\n\n**Options:**\n- `-o\u002F--organization \u003Cid>`, `-p\u002F--project \u003Cid-or-handle>`, `-e\u002F--environment \u003Chandle>`\n- `-t\u002F--type \u003Cbackend|storefront>` — Which variable set to write (default: `backend`)\n- `-v\u002F--var \u003CKEY=VALUE|ID=VALUE>` — A variable to set; repeatable\n- `--env-file \u003Cpath>` — Set all variables from a `.env` file\n- `--secret`, `--no-secret` — Mark as secret (default: `false` for new variables)\n- `--build`, `--no-build` — Available at build time (default: `false` for new variables)\n- `--runtime`, `--no-runtime` — Available at runtime (default: `true` for new variables)\n- `--json` — Output as JSON\n\n> Redeploy (runtime) or trigger-build (build) afterward — see Constraints.\n\n### variables delete\n\nDelete a variable by its ID (`var_...`) or key. **Irreversible; system variables can't be deleted.**\n\n```bash\nmcloud variables delete API_KEY \\\n  --organization \u003Corg-id> \\\n  --project \u003Cproject-id-or-handle> \\\n  --environment \u003Cenvironment-handle> \\\n  --yes\n```\n\n**Arguments:**\n- `variable` — Variable ID (`var_...`) or key to delete (required)\n\n**Options:**\n- `-o\u002F--organization \u003Cid>`, `-p\u002F--project \u003Cid-or-handle>`, `-e\u002F--environment \u003Chandle>`\n- `-t\u002F--type \u003Cbackend|storefront>` — Which variable set to delete from (default: `backend`)\n- `-y\u002F--yes` — Skip confirmation prompt (required in non-interactive mode)\n- `--json` — Output as JSON\n\n## Variable Fields (JSON)\n\n| Field | Description |\n|-------|-------------|\n| `id` | Variable ID (`var_...`) |\n| `key` | Variable name (e.g. `ADMIN_CORS`) |\n| `value` | Variable value (masked if `is_secret` and `--reveal` not passed) |\n| `is_secret` | Whether the variable is treated as a secret |\n| `is_build` | Available at build time |\n| `is_runtime` | Available at runtime |\n| `environment_id` | The environment ID this variable belongs to |\n| `source` | `user` for user-set variables, `system` for auto-injected ones |\n\n## Examples\n\n```bash\n# List all variables for the active environment\nmcloud variables list --json\n\n# List only runtime variables, including system ones\nmcloud variables list --scope runtime --include-system --json\n\n# List storefront variables\nmcloud variables list --type storefront --json\n\n# Get a variable by key (with active context)\nmcloud variables get DATABASE_URL --json\n\n# Get a variable by ID (no env context needed)\nmcloud variables get var_01XYZ --json\n\n# Set a single variable, then redeploy to apply (runtime)\nmcloud variables set REDIS_URL redis:\u002F\u002Fcache:6379\nmcloud environments redeploy production\n\n# Set a secret build-only variable, then trigger a build to apply\nmcloud variables set STRIPE_SECRET_KEY sk_live_123 --secret --build --no-runtime\nmcloud environments trigger-build production\n\n# Set multiple variables from a .env file\nmcloud variables set --env-file .env\n\n# Delete a variable (irreversible — confirm before running)\nmcloud variables delete OLD_FLAG --yes\n\n# Only reveal secrets when user explicitly asks\nmcloud variables get STRIPE_SECRET_KEY --reveal --json | jq -r '.value'\n\n# Export all variables to a .env file (user must explicitly request --reveal)\nmcloud variables list --reveal --dotenv > .env\n\n# Check if a specific variable exists\nmcloud variables list --json | jq '.[] | select(.key == \"REDIS_URL\")'\n```\n",{"data":41,"body":43},{"name":4,"description":6,"allowed-tools":42},"Bash(mcloud variables*), Bash(mcloud environments*), Bash(jq*)",{"type":44,"children":45},"root",[46,55,70,77,226,232,239,244,388,396,534,540,552,727,735,756,763,827,833,845,1059,1066,1117,1124,1275,1284,1290,1307,1427,1434,1453,1460,1519,1525,1728,1734,2355],{"type":47,"tag":48,"props":49,"children":51},"element","h1",{"id":50},"cloud-cli-variables-commands",[52],{"type":53,"value":54},"text","Cloud CLI: Variables Commands",{"type":47,"tag":56,"props":57,"children":58},"p",{},[59,61,68],{"type":53,"value":60},"Execute ",{"type":47,"tag":62,"props":63,"children":65},"code",{"className":64},[],[66],{"type":53,"value":67},"mcloud variables",{"type":53,"value":69}," commands to inspect and manage environment variables for Cloud environments.",{"type":47,"tag":71,"props":72,"children":74},"h2",{"id":73},"constraints",[75],{"type":53,"value":76},"Constraints",{"type":47,"tag":78,"props":79,"children":80},"ul",{},[81,101,156,181,210],{"type":47,"tag":82,"props":83,"children":84},"li",{},[85,99],{"type":47,"tag":86,"props":87,"children":88},"strong",{},[89,91,97],{"type":53,"value":90},"Never pass ",{"type":47,"tag":62,"props":92,"children":94},{"className":93},[],[95],{"type":53,"value":96},"--reveal",{"type":53,"value":98}," unless the user explicitly asks.",{"type":53,"value":100}," Secret values appear in terminal scrollback, log aggregators, and process listings.",{"type":47,"tag":82,"props":102,"children":103},{},[104,109,111,117,119,125,127,133,135,140,142,148,149,154],{"type":47,"tag":86,"props":105,"children":106},{},[107],{"type":53,"value":108},"Variable changes need a deploy to apply.",{"type":53,"value":110}," ",{"type":47,"tag":62,"props":112,"children":114},{"className":113},[],[115],{"type":53,"value":116},"set",{"type":53,"value":118},"\u002F",{"type":47,"tag":62,"props":120,"children":122},{"className":121},[],[123],{"type":53,"value":124},"delete",{"type":53,"value":126}," don't rebuild or redeploy. Run ",{"type":47,"tag":62,"props":128,"children":130},{"className":129},[],[131],{"type":53,"value":132},"mcloud environments redeploy \u003Cenv>",{"type":53,"value":134}," for a ",{"type":47,"tag":86,"props":136,"children":137},{},[138],{"type":53,"value":139},"runtime",{"type":53,"value":141}," variable, or ",{"type":47,"tag":62,"props":143,"children":145},{"className":144},[],[146],{"type":53,"value":147},"mcloud environments trigger-build \u003Cenv>",{"type":53,"value":134},{"type":47,"tag":86,"props":150,"children":151},{},[152],{"type":53,"value":153},"build",{"type":53,"value":155}," variable (a redeploy reuses the existing image and won't pick up build-variable changes).",{"type":47,"tag":82,"props":157,"children":158},{},[159,164,166,171,173,179],{"type":47,"tag":86,"props":160,"children":161},{},[162],{"type":53,"value":163},"System variables can't be deleted",{"type":53,"value":165},", and ",{"type":47,"tag":62,"props":167,"children":169},{"className":168},[],[170],{"type":53,"value":124},{"type":53,"value":172}," requires ",{"type":47,"tag":62,"props":174,"children":176},{"className":175},[],[177],{"type":53,"value":178},"--yes",{"type":53,"value":180}," in non-interactive mode.",{"type":47,"tag":82,"props":182,"children":183},{},[184,186,192,194,200,202,208],{"type":53,"value":185},"Looking up or creating a variable by key requires ",{"type":47,"tag":62,"props":187,"children":189},{"className":188},[],[190],{"type":53,"value":191},"--project",{"type":53,"value":193}," and ",{"type":47,"tag":62,"props":195,"children":197},{"className":196},[],[198],{"type":53,"value":199},"--environment",{"type":53,"value":201}," (or the equivalent in active context). Referencing by ID (",{"type":47,"tag":62,"props":203,"children":205},{"className":204},[],[206],{"type":53,"value":207},"var_...",{"type":53,"value":209},") works without project\u002Fenvironment context.",{"type":47,"tag":82,"props":211,"children":212},{},[213,218,219,224],{"type":47,"tag":62,"props":214,"children":216},{"className":215},[],[217],{"type":53,"value":116},{"type":53,"value":193},{"type":47,"tag":62,"props":220,"children":222},{"className":221},[],[223],{"type":53,"value":124},{"type":53,"value":225}," require mcloud CLI v0.1.10+.",{"type":47,"tag":71,"props":227,"children":229},{"id":228},"commands",[230],{"type":53,"value":231},"Commands",{"type":47,"tag":233,"props":234,"children":236},"h3",{"id":235},"variables-list",[237],{"type":53,"value":238},"variables list",{"type":47,"tag":56,"props":240,"children":241},{},[242],{"type":53,"value":243},"List all environment variables for a Cloud environment.",{"type":47,"tag":245,"props":246,"children":251},"pre",{"className":247,"code":248,"language":249,"meta":250,"style":250},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","mcloud variables list \\\n  --organization \u003Corg-id> \\\n  --project \u003Cproject-id-or-handle> \\\n  --environment \u003Cenvironment-handle> \\\n  --json\n","bash","",[252],{"type":47,"tag":62,"props":253,"children":254},{"__ignoreMap":250},[255,284,318,349,379],{"type":47,"tag":256,"props":257,"children":260},"span",{"class":258,"line":259},"line",1,[261,267,273,278],{"type":47,"tag":256,"props":262,"children":264},{"style":263},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[265],{"type":53,"value":266},"mcloud",{"type":47,"tag":256,"props":268,"children":270},{"style":269},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[271],{"type":53,"value":272}," variables",{"type":47,"tag":256,"props":274,"children":275},{"style":269},[276],{"type":53,"value":277}," list",{"type":47,"tag":256,"props":279,"children":281},{"style":280},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[282],{"type":53,"value":283}," \\\n",{"type":47,"tag":256,"props":285,"children":287},{"class":258,"line":286},2,[288,293,299,304,309,314],{"type":47,"tag":256,"props":289,"children":290},{"style":269},[291],{"type":53,"value":292},"  --organization",{"type":47,"tag":256,"props":294,"children":296},{"style":295},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[297],{"type":53,"value":298}," \u003C",{"type":47,"tag":256,"props":300,"children":301},{"style":269},[302],{"type":53,"value":303},"org-i",{"type":47,"tag":256,"props":305,"children":306},{"style":280},[307],{"type":53,"value":308},"d",{"type":47,"tag":256,"props":310,"children":311},{"style":295},[312],{"type":53,"value":313},">",{"type":47,"tag":256,"props":315,"children":316},{"style":280},[317],{"type":53,"value":283},{"type":47,"tag":256,"props":319,"children":321},{"class":258,"line":320},3,[322,327,331,336,341,345],{"type":47,"tag":256,"props":323,"children":324},{"style":269},[325],{"type":53,"value":326},"  --project",{"type":47,"tag":256,"props":328,"children":329},{"style":295},[330],{"type":53,"value":298},{"type":47,"tag":256,"props":332,"children":333},{"style":269},[334],{"type":53,"value":335},"project-id-or-handl",{"type":47,"tag":256,"props":337,"children":338},{"style":280},[339],{"type":53,"value":340},"e",{"type":47,"tag":256,"props":342,"children":343},{"style":295},[344],{"type":53,"value":313},{"type":47,"tag":256,"props":346,"children":347},{"style":280},[348],{"type":53,"value":283},{"type":47,"tag":256,"props":350,"children":352},{"class":258,"line":351},4,[353,358,362,367,371,375],{"type":47,"tag":256,"props":354,"children":355},{"style":269},[356],{"type":53,"value":357},"  --environment",{"type":47,"tag":256,"props":359,"children":360},{"style":295},[361],{"type":53,"value":298},{"type":47,"tag":256,"props":363,"children":364},{"style":269},[365],{"type":53,"value":366},"environment-handl",{"type":47,"tag":256,"props":368,"children":369},{"style":280},[370],{"type":53,"value":340},{"type":47,"tag":256,"props":372,"children":373},{"style":295},[374],{"type":53,"value":313},{"type":47,"tag":256,"props":376,"children":377},{"style":280},[378],{"type":53,"value":283},{"type":47,"tag":256,"props":380,"children":382},{"class":258,"line":381},5,[383],{"type":47,"tag":256,"props":384,"children":385},{"style":269},[386],{"type":53,"value":387},"  --json\n",{"type":47,"tag":56,"props":389,"children":390},{},[391],{"type":47,"tag":86,"props":392,"children":393},{},[394],{"type":53,"value":395},"Options:",{"type":47,"tag":78,"props":397,"children":398},{},[399,410,421,432,451,462,480,496,523],{"type":47,"tag":82,"props":400,"children":401},{},[402,408],{"type":47,"tag":62,"props":403,"children":405},{"className":404},[],[406],{"type":53,"value":407},"-o\u002F--organization \u003Cid>",{"type":53,"value":409}," — Organization ID (falls back to active context)",{"type":47,"tag":82,"props":411,"children":412},{},[413,419],{"type":47,"tag":62,"props":414,"children":416},{"className":415},[],[417],{"type":53,"value":418},"-p\u002F--project \u003Cid-or-handle>",{"type":53,"value":420}," — Project ID or handle (falls back to active context)",{"type":47,"tag":82,"props":422,"children":423},{},[424,430],{"type":47,"tag":62,"props":425,"children":427},{"className":426},[],[428],{"type":53,"value":429},"-e\u002F--environment \u003Chandle>",{"type":53,"value":431}," — Environment handle (falls back to active context)",{"type":47,"tag":82,"props":433,"children":434},{},[435,441,443,449],{"type":47,"tag":62,"props":436,"children":438},{"className":437},[],[439],{"type":53,"value":440},"-t\u002F--type \u003Cbackend|storefront>",{"type":53,"value":442}," — Which variable set to list (default: ",{"type":47,"tag":62,"props":444,"children":446},{"className":445},[],[447],{"type":53,"value":448},"backend",{"type":53,"value":450},")",{"type":47,"tag":82,"props":452,"children":453},{},[454,460],{"type":47,"tag":62,"props":455,"children":457},{"className":456},[],[458],{"type":53,"value":459},"--scope \u003Cbuild|runtime>",{"type":53,"value":461}," — Filter by scope; repeatable (default: both scopes)",{"type":47,"tag":82,"props":463,"children":464},{},[465,471,473,479],{"type":47,"tag":62,"props":466,"children":468},{"className":467},[],[469],{"type":53,"value":470},"--include-system",{"type":53,"value":472}," — Include system variables Medusa auto-injects (default: ",{"type":47,"tag":62,"props":474,"children":476},{"className":475},[],[477],{"type":53,"value":478},"false",{"type":53,"value":450},{"type":47,"tag":82,"props":481,"children":482},{},[483,488,490,495],{"type":47,"tag":62,"props":484,"children":486},{"className":485},[],[487],{"type":53,"value":96},{"type":53,"value":489}," — Print secret values in plaintext instead of masking (",{"type":47,"tag":86,"props":491,"children":492},{},[493],{"type":53,"value":494},"use only when explicitly asked",{"type":53,"value":450},{"type":47,"tag":82,"props":497,"children":498},{},[499,505,507,513,515,521],{"type":47,"tag":62,"props":500,"children":502},{"className":501},[],[503],{"type":53,"value":504},"--dotenv",{"type":53,"value":506}," — Output ",{"type":47,"tag":62,"props":508,"children":510},{"className":509},[],[511],{"type":53,"value":512},".env",{"type":53,"value":514},"-formatted ",{"type":47,"tag":62,"props":516,"children":518},{"className":517},[],[519],{"type":53,"value":520},"KEY=VALUE",{"type":53,"value":522}," lines instead of a table",{"type":47,"tag":82,"props":524,"children":525},{},[526,532],{"type":47,"tag":62,"props":527,"children":529},{"className":528},[],[530],{"type":53,"value":531},"--json",{"type":53,"value":533}," — Output as JSON",{"type":47,"tag":233,"props":535,"children":537},{"id":536},"variables-get",[538],{"type":53,"value":539},"variables get",{"type":47,"tag":56,"props":541,"children":542},{},[543,545,550],{"type":53,"value":544},"Retrieve a single variable by its ID (",{"type":47,"tag":62,"props":546,"children":548},{"className":547},[],[549],{"type":53,"value":207},{"type":53,"value":551},") or key.",{"type":47,"tag":245,"props":553,"children":555},{"className":247,"code":554,"language":249,"meta":250,"style":250},"# By key (requires project + environment context)\nmcloud variables get ADMIN_CORS \\\n  --organization \u003Corg-id> \\\n  --project \u003Cproject-id-or-handle> \\\n  --environment \u003Cenvironment-handle> \\\n  --json\n\n# By ID (works without project\u002Fenvironment context)\nmcloud variables get var_01XYZ --json\n",[556],{"type":47,"tag":62,"props":557,"children":558},{"__ignoreMap":250},[559,568,593,620,647,674,682,692,701],{"type":47,"tag":256,"props":560,"children":561},{"class":258,"line":259},[562],{"type":47,"tag":256,"props":563,"children":565},{"style":564},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[566],{"type":53,"value":567},"# By key (requires project + environment context)\n",{"type":47,"tag":256,"props":569,"children":570},{"class":258,"line":286},[571,575,579,584,589],{"type":47,"tag":256,"props":572,"children":573},{"style":263},[574],{"type":53,"value":266},{"type":47,"tag":256,"props":576,"children":577},{"style":269},[578],{"type":53,"value":272},{"type":47,"tag":256,"props":580,"children":581},{"style":269},[582],{"type":53,"value":583}," get",{"type":47,"tag":256,"props":585,"children":586},{"style":269},[587],{"type":53,"value":588}," ADMIN_CORS",{"type":47,"tag":256,"props":590,"children":591},{"style":280},[592],{"type":53,"value":283},{"type":47,"tag":256,"props":594,"children":595},{"class":258,"line":320},[596,600,604,608,612,616],{"type":47,"tag":256,"props":597,"children":598},{"style":269},[599],{"type":53,"value":292},{"type":47,"tag":256,"props":601,"children":602},{"style":295},[603],{"type":53,"value":298},{"type":47,"tag":256,"props":605,"children":606},{"style":269},[607],{"type":53,"value":303},{"type":47,"tag":256,"props":609,"children":610},{"style":280},[611],{"type":53,"value":308},{"type":47,"tag":256,"props":613,"children":614},{"style":295},[615],{"type":53,"value":313},{"type":47,"tag":256,"props":617,"children":618},{"style":280},[619],{"type":53,"value":283},{"type":47,"tag":256,"props":621,"children":622},{"class":258,"line":351},[623,627,631,635,639,643],{"type":47,"tag":256,"props":624,"children":625},{"style":269},[626],{"type":53,"value":326},{"type":47,"tag":256,"props":628,"children":629},{"style":295},[630],{"type":53,"value":298},{"type":47,"tag":256,"props":632,"children":633},{"style":269},[634],{"type":53,"value":335},{"type":47,"tag":256,"props":636,"children":637},{"style":280},[638],{"type":53,"value":340},{"type":47,"tag":256,"props":640,"children":641},{"style":295},[642],{"type":53,"value":313},{"type":47,"tag":256,"props":644,"children":645},{"style":280},[646],{"type":53,"value":283},{"type":47,"tag":256,"props":648,"children":649},{"class":258,"line":381},[650,654,658,662,666,670],{"type":47,"tag":256,"props":651,"children":652},{"style":269},[653],{"type":53,"value":357},{"type":47,"tag":256,"props":655,"children":656},{"style":295},[657],{"type":53,"value":298},{"type":47,"tag":256,"props":659,"children":660},{"style":269},[661],{"type":53,"value":366},{"type":47,"tag":256,"props":663,"children":664},{"style":280},[665],{"type":53,"value":340},{"type":47,"tag":256,"props":667,"children":668},{"style":295},[669],{"type":53,"value":313},{"type":47,"tag":256,"props":671,"children":672},{"style":280},[673],{"type":53,"value":283},{"type":47,"tag":256,"props":675,"children":677},{"class":258,"line":676},6,[678],{"type":47,"tag":256,"props":679,"children":680},{"style":269},[681],{"type":53,"value":387},{"type":47,"tag":256,"props":683,"children":685},{"class":258,"line":684},7,[686],{"type":47,"tag":256,"props":687,"children":689},{"emptyLinePlaceholder":688},true,[690],{"type":53,"value":691},"\n",{"type":47,"tag":256,"props":693,"children":695},{"class":258,"line":694},8,[696],{"type":47,"tag":256,"props":697,"children":698},{"style":564},[699],{"type":53,"value":700},"# By ID (works without project\u002Fenvironment context)\n",{"type":47,"tag":256,"props":702,"children":704},{"class":258,"line":703},9,[705,709,713,717,722],{"type":47,"tag":256,"props":706,"children":707},{"style":263},[708],{"type":53,"value":266},{"type":47,"tag":256,"props":710,"children":711},{"style":269},[712],{"type":53,"value":272},{"type":47,"tag":256,"props":714,"children":715},{"style":269},[716],{"type":53,"value":583},{"type":47,"tag":256,"props":718,"children":719},{"style":269},[720],{"type":53,"value":721}," var_01XYZ",{"type":47,"tag":256,"props":723,"children":724},{"style":269},[725],{"type":53,"value":726}," --json\n",{"type":47,"tag":56,"props":728,"children":729},{},[730],{"type":47,"tag":86,"props":731,"children":732},{},[733],{"type":53,"value":734},"Arguments:",{"type":47,"tag":78,"props":736,"children":737},{},[738],{"type":47,"tag":82,"props":739,"children":740},{},[741,747,749,754],{"type":47,"tag":62,"props":742,"children":744},{"className":743},[],[745],{"type":53,"value":746},"variable",{"type":53,"value":748}," — Variable ID (",{"type":47,"tag":62,"props":750,"children":752},{"className":751},[],[753],{"type":53,"value":207},{"type":53,"value":755},") or key (required)",{"type":47,"tag":56,"props":757,"children":758},{},[759],{"type":47,"tag":86,"props":760,"children":761},{},[762],{"type":53,"value":395},{"type":47,"tag":78,"props":764,"children":765},{},[766,787,803,818],{"type":47,"tag":82,"props":767,"children":768},{},[769,774,776,781,782],{"type":47,"tag":62,"props":770,"children":772},{"className":771},[],[773],{"type":53,"value":407},{"type":53,"value":775},", ",{"type":47,"tag":62,"props":777,"children":779},{"className":778},[],[780],{"type":53,"value":418},{"type":53,"value":775},{"type":47,"tag":62,"props":783,"children":785},{"className":784},[],[786],{"type":53,"value":429},{"type":47,"tag":82,"props":788,"children":789},{},[790,795,797,802],{"type":47,"tag":62,"props":791,"children":793},{"className":792},[],[794],{"type":53,"value":440},{"type":53,"value":796}," — Which variable set to read (default: ",{"type":47,"tag":62,"props":798,"children":800},{"className":799},[],[801],{"type":53,"value":448},{"type":53,"value":450},{"type":47,"tag":82,"props":804,"children":805},{},[806,811,813,817],{"type":47,"tag":62,"props":807,"children":809},{"className":808},[],[810],{"type":53,"value":96},{"type":53,"value":812}," — Print secret value in plaintext (",{"type":47,"tag":86,"props":814,"children":815},{},[816],{"type":53,"value":494},{"type":53,"value":450},{"type":47,"tag":82,"props":819,"children":820},{},[821,826],{"type":47,"tag":62,"props":822,"children":824},{"className":823},[],[825],{"type":53,"value":531},{"type":53,"value":533},{"type":47,"tag":233,"props":828,"children":830},{"id":829},"variables-set",[831],{"type":53,"value":832},"variables set",{"type":47,"tag":56,"props":834,"children":835},{},[836,838,843],{"type":53,"value":837},"Create or update one or more variables. The CLI updates when you reference an existing key or a ",{"type":47,"tag":62,"props":839,"children":841},{"className":840},[],[842],{"type":53,"value":207},{"type":53,"value":844}," ID, and creates otherwise.",{"type":47,"tag":245,"props":846,"children":848},{"className":247,"code":847,"language":249,"meta":250,"style":250},"# Single variable\nmcloud variables set API_KEY pk_123 \\\n  --organization \u003Corg-id> \\\n  --project \u003Cproject-id-or-handle> \\\n  --environment \u003Cenvironment-handle>\n\n# Multiple at once\nmcloud variables set -v API_KEY=pk_123 -v CLIENT_ID=my_app\n\n# From a .env file\nmcloud variables set --env-file .env\n",[849],{"type":47,"tag":62,"props":850,"children":851},{"__ignoreMap":250},[852,860,890,917,944,968,975,983,1017,1024,1033],{"type":47,"tag":256,"props":853,"children":854},{"class":258,"line":259},[855],{"type":47,"tag":256,"props":856,"children":857},{"style":564},[858],{"type":53,"value":859},"# Single variable\n",{"type":47,"tag":256,"props":861,"children":862},{"class":258,"line":286},[863,867,871,876,881,886],{"type":47,"tag":256,"props":864,"children":865},{"style":263},[866],{"type":53,"value":266},{"type":47,"tag":256,"props":868,"children":869},{"style":269},[870],{"type":53,"value":272},{"type":47,"tag":256,"props":872,"children":873},{"style":269},[874],{"type":53,"value":875}," set",{"type":47,"tag":256,"props":877,"children":878},{"style":269},[879],{"type":53,"value":880}," API_KEY",{"type":47,"tag":256,"props":882,"children":883},{"style":269},[884],{"type":53,"value":885}," pk_123",{"type":47,"tag":256,"props":887,"children":888},{"style":280},[889],{"type":53,"value":283},{"type":47,"tag":256,"props":891,"children":892},{"class":258,"line":320},[893,897,901,905,909,913],{"type":47,"tag":256,"props":894,"children":895},{"style":269},[896],{"type":53,"value":292},{"type":47,"tag":256,"props":898,"children":899},{"style":295},[900],{"type":53,"value":298},{"type":47,"tag":256,"props":902,"children":903},{"style":269},[904],{"type":53,"value":303},{"type":47,"tag":256,"props":906,"children":907},{"style":280},[908],{"type":53,"value":308},{"type":47,"tag":256,"props":910,"children":911},{"style":295},[912],{"type":53,"value":313},{"type":47,"tag":256,"props":914,"children":915},{"style":280},[916],{"type":53,"value":283},{"type":47,"tag":256,"props":918,"children":919},{"class":258,"line":351},[920,924,928,932,936,940],{"type":47,"tag":256,"props":921,"children":922},{"style":269},[923],{"type":53,"value":326},{"type":47,"tag":256,"props":925,"children":926},{"style":295},[927],{"type":53,"value":298},{"type":47,"tag":256,"props":929,"children":930},{"style":269},[931],{"type":53,"value":335},{"type":47,"tag":256,"props":933,"children":934},{"style":280},[935],{"type":53,"value":340},{"type":47,"tag":256,"props":937,"children":938},{"style":295},[939],{"type":53,"value":313},{"type":47,"tag":256,"props":941,"children":942},{"style":280},[943],{"type":53,"value":283},{"type":47,"tag":256,"props":945,"children":946},{"class":258,"line":381},[947,951,955,959,963],{"type":47,"tag":256,"props":948,"children":949},{"style":269},[950],{"type":53,"value":357},{"type":47,"tag":256,"props":952,"children":953},{"style":295},[954],{"type":53,"value":298},{"type":47,"tag":256,"props":956,"children":957},{"style":269},[958],{"type":53,"value":366},{"type":47,"tag":256,"props":960,"children":961},{"style":280},[962],{"type":53,"value":340},{"type":47,"tag":256,"props":964,"children":965},{"style":295},[966],{"type":53,"value":967},">\n",{"type":47,"tag":256,"props":969,"children":970},{"class":258,"line":676},[971],{"type":47,"tag":256,"props":972,"children":973},{"emptyLinePlaceholder":688},[974],{"type":53,"value":691},{"type":47,"tag":256,"props":976,"children":977},{"class":258,"line":684},[978],{"type":47,"tag":256,"props":979,"children":980},{"style":564},[981],{"type":53,"value":982},"# Multiple at once\n",{"type":47,"tag":256,"props":984,"children":985},{"class":258,"line":694},[986,990,994,998,1003,1008,1012],{"type":47,"tag":256,"props":987,"children":988},{"style":263},[989],{"type":53,"value":266},{"type":47,"tag":256,"props":991,"children":992},{"style":269},[993],{"type":53,"value":272},{"type":47,"tag":256,"props":995,"children":996},{"style":269},[997],{"type":53,"value":875},{"type":47,"tag":256,"props":999,"children":1000},{"style":269},[1001],{"type":53,"value":1002}," -v",{"type":47,"tag":256,"props":1004,"children":1005},{"style":269},[1006],{"type":53,"value":1007}," API_KEY=pk_123",{"type":47,"tag":256,"props":1009,"children":1010},{"style":269},[1011],{"type":53,"value":1002},{"type":47,"tag":256,"props":1013,"children":1014},{"style":269},[1015],{"type":53,"value":1016}," CLIENT_ID=my_app\n",{"type":47,"tag":256,"props":1018,"children":1019},{"class":258,"line":703},[1020],{"type":47,"tag":256,"props":1021,"children":1022},{"emptyLinePlaceholder":688},[1023],{"type":53,"value":691},{"type":47,"tag":256,"props":1025,"children":1027},{"class":258,"line":1026},10,[1028],{"type":47,"tag":256,"props":1029,"children":1030},{"style":564},[1031],{"type":53,"value":1032},"# From a .env file\n",{"type":47,"tag":256,"props":1034,"children":1036},{"class":258,"line":1035},11,[1037,1041,1045,1049,1054],{"type":47,"tag":256,"props":1038,"children":1039},{"style":263},[1040],{"type":53,"value":266},{"type":47,"tag":256,"props":1042,"children":1043},{"style":269},[1044],{"type":53,"value":272},{"type":47,"tag":256,"props":1046,"children":1047},{"style":269},[1048],{"type":53,"value":875},{"type":47,"tag":256,"props":1050,"children":1051},{"style":269},[1052],{"type":53,"value":1053}," --env-file",{"type":47,"tag":256,"props":1055,"children":1056},{"style":269},[1057],{"type":53,"value":1058}," .env\n",{"type":47,"tag":56,"props":1060,"children":1061},{},[1062],{"type":47,"tag":86,"props":1063,"children":1064},{},[1065],{"type":53,"value":734},{"type":47,"tag":78,"props":1067,"children":1068},{},[1069,1099],{"type":47,"tag":82,"props":1070,"children":1071},{},[1072,1077,1078,1083,1085,1091,1092,1098],{"type":47,"tag":62,"props":1073,"children":1075},{"className":1074},[],[1076],{"type":53,"value":746},{"type":53,"value":748},{"type":47,"tag":62,"props":1079,"children":1081},{"className":1080},[],[1082],{"type":53,"value":207},{"type":53,"value":1084},") or key to set (omit when using ",{"type":47,"tag":62,"props":1086,"children":1088},{"className":1087},[],[1089],{"type":53,"value":1090},"--var",{"type":53,"value":118},{"type":47,"tag":62,"props":1093,"children":1095},{"className":1094},[],[1096],{"type":53,"value":1097},"--env-file",{"type":53,"value":450},{"type":47,"tag":82,"props":1100,"children":1101},{},[1102,1108,1110,1115],{"type":47,"tag":62,"props":1103,"children":1105},{"className":1104},[],[1106],{"type":53,"value":1107},"value",{"type":53,"value":1109}," — Value to set (required when a ",{"type":47,"tag":62,"props":1111,"children":1113},{"className":1112},[],[1114],{"type":53,"value":746},{"type":53,"value":1116}," argument is passed)",{"type":47,"tag":56,"props":1118,"children":1119},{},[1120],{"type":47,"tag":86,"props":1121,"children":1122},{},[1123],{"type":53,"value":395},{"type":47,"tag":78,"props":1125,"children":1126},{},[1127,1147,1163,1174,1192,1217,1241,1266],{"type":47,"tag":82,"props":1128,"children":1129},{},[1130,1135,1136,1141,1142],{"type":47,"tag":62,"props":1131,"children":1133},{"className":1132},[],[1134],{"type":53,"value":407},{"type":53,"value":775},{"type":47,"tag":62,"props":1137,"children":1139},{"className":1138},[],[1140],{"type":53,"value":418},{"type":53,"value":775},{"type":47,"tag":62,"props":1143,"children":1145},{"className":1144},[],[1146],{"type":53,"value":429},{"type":47,"tag":82,"props":1148,"children":1149},{},[1150,1155,1157,1162],{"type":47,"tag":62,"props":1151,"children":1153},{"className":1152},[],[1154],{"type":53,"value":440},{"type":53,"value":1156}," — Which variable set to write (default: ",{"type":47,"tag":62,"props":1158,"children":1160},{"className":1159},[],[1161],{"type":53,"value":448},{"type":53,"value":450},{"type":47,"tag":82,"props":1164,"children":1165},{},[1166,1172],{"type":47,"tag":62,"props":1167,"children":1169},{"className":1168},[],[1170],{"type":53,"value":1171},"-v\u002F--var \u003CKEY=VALUE|ID=VALUE>",{"type":53,"value":1173}," — A variable to set; repeatable",{"type":47,"tag":82,"props":1175,"children":1176},{},[1177,1183,1185,1190],{"type":47,"tag":62,"props":1178,"children":1180},{"className":1179},[],[1181],{"type":53,"value":1182},"--env-file \u003Cpath>",{"type":53,"value":1184}," — Set all variables from a ",{"type":47,"tag":62,"props":1186,"children":1188},{"className":1187},[],[1189],{"type":53,"value":512},{"type":53,"value":1191}," file",{"type":47,"tag":82,"props":1193,"children":1194},{},[1195,1201,1202,1208,1210,1215],{"type":47,"tag":62,"props":1196,"children":1198},{"className":1197},[],[1199],{"type":53,"value":1200},"--secret",{"type":53,"value":775},{"type":47,"tag":62,"props":1203,"children":1205},{"className":1204},[],[1206],{"type":53,"value":1207},"--no-secret",{"type":53,"value":1209}," — Mark as secret (default: ",{"type":47,"tag":62,"props":1211,"children":1213},{"className":1212},[],[1214],{"type":53,"value":478},{"type":53,"value":1216}," for new variables)",{"type":47,"tag":82,"props":1218,"children":1219},{},[1220,1226,1227,1233,1235,1240],{"type":47,"tag":62,"props":1221,"children":1223},{"className":1222},[],[1224],{"type":53,"value":1225},"--build",{"type":53,"value":775},{"type":47,"tag":62,"props":1228,"children":1230},{"className":1229},[],[1231],{"type":53,"value":1232},"--no-build",{"type":53,"value":1234}," — Available at build time (default: ",{"type":47,"tag":62,"props":1236,"children":1238},{"className":1237},[],[1239],{"type":53,"value":478},{"type":53,"value":1216},{"type":47,"tag":82,"props":1242,"children":1243},{},[1244,1250,1251,1257,1259,1265],{"type":47,"tag":62,"props":1245,"children":1247},{"className":1246},[],[1248],{"type":53,"value":1249},"--runtime",{"type":53,"value":775},{"type":47,"tag":62,"props":1252,"children":1254},{"className":1253},[],[1255],{"type":53,"value":1256},"--no-runtime",{"type":53,"value":1258}," — Available at runtime (default: ",{"type":47,"tag":62,"props":1260,"children":1262},{"className":1261},[],[1263],{"type":53,"value":1264},"true",{"type":53,"value":1216},{"type":47,"tag":82,"props":1267,"children":1268},{},[1269,1274],{"type":47,"tag":62,"props":1270,"children":1272},{"className":1271},[],[1273],{"type":53,"value":531},{"type":53,"value":533},{"type":47,"tag":1276,"props":1277,"children":1278},"blockquote",{},[1279],{"type":47,"tag":56,"props":1280,"children":1281},{},[1282],{"type":53,"value":1283},"Redeploy (runtime) or trigger-build (build) afterward — see Constraints.",{"type":47,"tag":233,"props":1285,"children":1287},{"id":1286},"variables-delete",[1288],{"type":53,"value":1289},"variables delete",{"type":47,"tag":56,"props":1291,"children":1292},{},[1293,1295,1300,1302],{"type":53,"value":1294},"Delete a variable by its ID (",{"type":47,"tag":62,"props":1296,"children":1298},{"className":1297},[],[1299],{"type":53,"value":207},{"type":53,"value":1301},") or key. ",{"type":47,"tag":86,"props":1303,"children":1304},{},[1305],{"type":53,"value":1306},"Irreversible; system variables can't be deleted.",{"type":47,"tag":245,"props":1308,"children":1310},{"className":247,"code":1309,"language":249,"meta":250,"style":250},"mcloud variables delete API_KEY \\\n  --organization \u003Corg-id> \\\n  --project \u003Cproject-id-or-handle> \\\n  --environment \u003Cenvironment-handle> \\\n  --yes\n",[1311],{"type":47,"tag":62,"props":1312,"children":1313},{"__ignoreMap":250},[1314,1338,1365,1392,1419],{"type":47,"tag":256,"props":1315,"children":1316},{"class":258,"line":259},[1317,1321,1325,1330,1334],{"type":47,"tag":256,"props":1318,"children":1319},{"style":263},[1320],{"type":53,"value":266},{"type":47,"tag":256,"props":1322,"children":1323},{"style":269},[1324],{"type":53,"value":272},{"type":47,"tag":256,"props":1326,"children":1327},{"style":269},[1328],{"type":53,"value":1329}," delete",{"type":47,"tag":256,"props":1331,"children":1332},{"style":269},[1333],{"type":53,"value":880},{"type":47,"tag":256,"props":1335,"children":1336},{"style":280},[1337],{"type":53,"value":283},{"type":47,"tag":256,"props":1339,"children":1340},{"class":258,"line":286},[1341,1345,1349,1353,1357,1361],{"type":47,"tag":256,"props":1342,"children":1343},{"style":269},[1344],{"type":53,"value":292},{"type":47,"tag":256,"props":1346,"children":1347},{"style":295},[1348],{"type":53,"value":298},{"type":47,"tag":256,"props":1350,"children":1351},{"style":269},[1352],{"type":53,"value":303},{"type":47,"tag":256,"props":1354,"children":1355},{"style":280},[1356],{"type":53,"value":308},{"type":47,"tag":256,"props":1358,"children":1359},{"style":295},[1360],{"type":53,"value":313},{"type":47,"tag":256,"props":1362,"children":1363},{"style":280},[1364],{"type":53,"value":283},{"type":47,"tag":256,"props":1366,"children":1367},{"class":258,"line":320},[1368,1372,1376,1380,1384,1388],{"type":47,"tag":256,"props":1369,"children":1370},{"style":269},[1371],{"type":53,"value":326},{"type":47,"tag":256,"props":1373,"children":1374},{"style":295},[1375],{"type":53,"value":298},{"type":47,"tag":256,"props":1377,"children":1378},{"style":269},[1379],{"type":53,"value":335},{"type":47,"tag":256,"props":1381,"children":1382},{"style":280},[1383],{"type":53,"value":340},{"type":47,"tag":256,"props":1385,"children":1386},{"style":295},[1387],{"type":53,"value":313},{"type":47,"tag":256,"props":1389,"children":1390},{"style":280},[1391],{"type":53,"value":283},{"type":47,"tag":256,"props":1393,"children":1394},{"class":258,"line":351},[1395,1399,1403,1407,1411,1415],{"type":47,"tag":256,"props":1396,"children":1397},{"style":269},[1398],{"type":53,"value":357},{"type":47,"tag":256,"props":1400,"children":1401},{"style":295},[1402],{"type":53,"value":298},{"type":47,"tag":256,"props":1404,"children":1405},{"style":269},[1406],{"type":53,"value":366},{"type":47,"tag":256,"props":1408,"children":1409},{"style":280},[1410],{"type":53,"value":340},{"type":47,"tag":256,"props":1412,"children":1413},{"style":295},[1414],{"type":53,"value":313},{"type":47,"tag":256,"props":1416,"children":1417},{"style":280},[1418],{"type":53,"value":283},{"type":47,"tag":256,"props":1420,"children":1421},{"class":258,"line":381},[1422],{"type":47,"tag":256,"props":1423,"children":1424},{"style":269},[1425],{"type":53,"value":1426},"  --yes\n",{"type":47,"tag":56,"props":1428,"children":1429},{},[1430],{"type":47,"tag":86,"props":1431,"children":1432},{},[1433],{"type":53,"value":734},{"type":47,"tag":78,"props":1435,"children":1436},{},[1437],{"type":47,"tag":82,"props":1438,"children":1439},{},[1440,1445,1446,1451],{"type":47,"tag":62,"props":1441,"children":1443},{"className":1442},[],[1444],{"type":53,"value":746},{"type":53,"value":748},{"type":47,"tag":62,"props":1447,"children":1449},{"className":1448},[],[1450],{"type":53,"value":207},{"type":53,"value":1452},") or key to delete (required)",{"type":47,"tag":56,"props":1454,"children":1455},{},[1456],{"type":47,"tag":86,"props":1457,"children":1458},{},[1459],{"type":53,"value":395},{"type":47,"tag":78,"props":1461,"children":1462},{},[1463,1483,1499,1510],{"type":47,"tag":82,"props":1464,"children":1465},{},[1466,1471,1472,1477,1478],{"type":47,"tag":62,"props":1467,"children":1469},{"className":1468},[],[1470],{"type":53,"value":407},{"type":53,"value":775},{"type":47,"tag":62,"props":1473,"children":1475},{"className":1474},[],[1476],{"type":53,"value":418},{"type":53,"value":775},{"type":47,"tag":62,"props":1479,"children":1481},{"className":1480},[],[1482],{"type":53,"value":429},{"type":47,"tag":82,"props":1484,"children":1485},{},[1486,1491,1493,1498],{"type":47,"tag":62,"props":1487,"children":1489},{"className":1488},[],[1490],{"type":53,"value":440},{"type":53,"value":1492}," — Which variable set to delete from (default: ",{"type":47,"tag":62,"props":1494,"children":1496},{"className":1495},[],[1497],{"type":53,"value":448},{"type":53,"value":450},{"type":47,"tag":82,"props":1500,"children":1501},{},[1502,1508],{"type":47,"tag":62,"props":1503,"children":1505},{"className":1504},[],[1506],{"type":53,"value":1507},"-y\u002F--yes",{"type":53,"value":1509}," — Skip confirmation prompt (required in non-interactive mode)",{"type":47,"tag":82,"props":1511,"children":1512},{},[1513,1518],{"type":47,"tag":62,"props":1514,"children":1516},{"className":1515},[],[1517],{"type":53,"value":531},{"type":53,"value":533},{"type":47,"tag":71,"props":1520,"children":1522},{"id":1521},"variable-fields-json",[1523],{"type":53,"value":1524},"Variable Fields (JSON)",{"type":47,"tag":1526,"props":1527,"children":1528},"table",{},[1529,1548],{"type":47,"tag":1530,"props":1531,"children":1532},"thead",{},[1533],{"type":47,"tag":1534,"props":1535,"children":1536},"tr",{},[1537,1543],{"type":47,"tag":1538,"props":1539,"children":1540},"th",{},[1541],{"type":53,"value":1542},"Field",{"type":47,"tag":1538,"props":1544,"children":1545},{},[1546],{"type":53,"value":1547},"Description",{"type":47,"tag":1549,"props":1550,"children":1551},"tbody",{},[1552,1576,1600,1630,1646,1663,1680,1697],{"type":47,"tag":1534,"props":1553,"children":1554},{},[1555,1565],{"type":47,"tag":1556,"props":1557,"children":1558},"td",{},[1559],{"type":47,"tag":62,"props":1560,"children":1562},{"className":1561},[],[1563],{"type":53,"value":1564},"id",{"type":47,"tag":1556,"props":1566,"children":1567},{},[1568,1570,1575],{"type":53,"value":1569},"Variable ID (",{"type":47,"tag":62,"props":1571,"children":1573},{"className":1572},[],[1574],{"type":53,"value":207},{"type":53,"value":450},{"type":47,"tag":1534,"props":1577,"children":1578},{},[1579,1588],{"type":47,"tag":1556,"props":1580,"children":1581},{},[1582],{"type":47,"tag":62,"props":1583,"children":1585},{"className":1584},[],[1586],{"type":53,"value":1587},"key",{"type":47,"tag":1556,"props":1589,"children":1590},{},[1591,1593,1599],{"type":53,"value":1592},"Variable name (e.g. ",{"type":47,"tag":62,"props":1594,"children":1596},{"className":1595},[],[1597],{"type":53,"value":1598},"ADMIN_CORS",{"type":53,"value":450},{"type":47,"tag":1534,"props":1601,"children":1602},{},[1603,1611],{"type":47,"tag":1556,"props":1604,"children":1605},{},[1606],{"type":47,"tag":62,"props":1607,"children":1609},{"className":1608},[],[1610],{"type":53,"value":1107},{"type":47,"tag":1556,"props":1612,"children":1613},{},[1614,1616,1622,1623,1628],{"type":53,"value":1615},"Variable value (masked if ",{"type":47,"tag":62,"props":1617,"children":1619},{"className":1618},[],[1620],{"type":53,"value":1621},"is_secret",{"type":53,"value":193},{"type":47,"tag":62,"props":1624,"children":1626},{"className":1625},[],[1627],{"type":53,"value":96},{"type":53,"value":1629}," not passed)",{"type":47,"tag":1534,"props":1631,"children":1632},{},[1633,1641],{"type":47,"tag":1556,"props":1634,"children":1635},{},[1636],{"type":47,"tag":62,"props":1637,"children":1639},{"className":1638},[],[1640],{"type":53,"value":1621},{"type":47,"tag":1556,"props":1642,"children":1643},{},[1644],{"type":53,"value":1645},"Whether the variable is treated as a secret",{"type":47,"tag":1534,"props":1647,"children":1648},{},[1649,1658],{"type":47,"tag":1556,"props":1650,"children":1651},{},[1652],{"type":47,"tag":62,"props":1653,"children":1655},{"className":1654},[],[1656],{"type":53,"value":1657},"is_build",{"type":47,"tag":1556,"props":1659,"children":1660},{},[1661],{"type":53,"value":1662},"Available at build time",{"type":47,"tag":1534,"props":1664,"children":1665},{},[1666,1675],{"type":47,"tag":1556,"props":1667,"children":1668},{},[1669],{"type":47,"tag":62,"props":1670,"children":1672},{"className":1671},[],[1673],{"type":53,"value":1674},"is_runtime",{"type":47,"tag":1556,"props":1676,"children":1677},{},[1678],{"type":53,"value":1679},"Available at runtime",{"type":47,"tag":1534,"props":1681,"children":1682},{},[1683,1692],{"type":47,"tag":1556,"props":1684,"children":1685},{},[1686],{"type":47,"tag":62,"props":1687,"children":1689},{"className":1688},[],[1690],{"type":53,"value":1691},"environment_id",{"type":47,"tag":1556,"props":1693,"children":1694},{},[1695],{"type":53,"value":1696},"The environment ID this variable belongs to",{"type":47,"tag":1534,"props":1698,"children":1699},{},[1700,1709],{"type":47,"tag":1556,"props":1701,"children":1702},{},[1703],{"type":47,"tag":62,"props":1704,"children":1706},{"className":1705},[],[1707],{"type":53,"value":1708},"source",{"type":47,"tag":1556,"props":1710,"children":1711},{},[1712,1718,1720,1726],{"type":47,"tag":62,"props":1713,"children":1715},{"className":1714},[],[1716],{"type":53,"value":1717},"user",{"type":53,"value":1719}," for user-set variables, ",{"type":47,"tag":62,"props":1721,"children":1723},{"className":1722},[],[1724],{"type":53,"value":1725},"system",{"type":53,"value":1727}," for auto-injected ones",{"type":47,"tag":71,"props":1729,"children":1731},{"id":1730},"examples",[1732],{"type":53,"value":1733},"Examples",{"type":47,"tag":245,"props":1735,"children":1737},{"className":247,"code":1736,"language":249,"meta":250,"style":250},"# List all variables for the active environment\nmcloud variables list --json\n\n# List only runtime variables, including system ones\nmcloud variables list --scope runtime --include-system --json\n\n# List storefront variables\nmcloud variables list --type storefront --json\n\n# Get a variable by key (with active context)\nmcloud variables get DATABASE_URL --json\n\n# Get a variable by ID (no env context needed)\nmcloud variables get var_01XYZ --json\n\n# Set a single variable, then redeploy to apply (runtime)\nmcloud variables set REDIS_URL redis:\u002F\u002Fcache:6379\nmcloud environments redeploy production\n\n# Set a secret build-only variable, then trigger a build to apply\nmcloud variables set STRIPE_SECRET_KEY sk_live_123 --secret --build --no-runtime\nmcloud environments trigger-build production\n\n# Set multiple variables from a .env file\nmcloud variables set --env-file .env\n\n# Delete a variable (irreversible — confirm before running)\nmcloud variables delete OLD_FLAG --yes\n\n# Only reveal secrets when user explicitly asks\nmcloud variables get STRIPE_SECRET_KEY --reveal --json | jq -r '.value'\n\n# Export all variables to a .env file (user must explicitly request --reveal)\nmcloud variables list --reveal --dotenv > .env\n\n# Check if a specific variable exists\nmcloud variables list --json | jq '.[] | select(.key == \"REDIS_URL\")'\n",[1738],{"type":47,"tag":62,"props":1739,"children":1740},{"__ignoreMap":250},[1741,1749,1768,1775,1783,1817,1824,1832,1861,1868,1876,1900,1908,1917,1941,1949,1958,1984,2007,2015,2024,2065,2086,2094,2102,2126,2134,2143,2169,2177,2186,2246,2254,2263,2297,2305,2314],{"type":47,"tag":256,"props":1742,"children":1743},{"class":258,"line":259},[1744],{"type":47,"tag":256,"props":1745,"children":1746},{"style":564},[1747],{"type":53,"value":1748},"# List all variables for the active environment\n",{"type":47,"tag":256,"props":1750,"children":1751},{"class":258,"line":286},[1752,1756,1760,1764],{"type":47,"tag":256,"props":1753,"children":1754},{"style":263},[1755],{"type":53,"value":266},{"type":47,"tag":256,"props":1757,"children":1758},{"style":269},[1759],{"type":53,"value":272},{"type":47,"tag":256,"props":1761,"children":1762},{"style":269},[1763],{"type":53,"value":277},{"type":47,"tag":256,"props":1765,"children":1766},{"style":269},[1767],{"type":53,"value":726},{"type":47,"tag":256,"props":1769,"children":1770},{"class":258,"line":320},[1771],{"type":47,"tag":256,"props":1772,"children":1773},{"emptyLinePlaceholder":688},[1774],{"type":53,"value":691},{"type":47,"tag":256,"props":1776,"children":1777},{"class":258,"line":351},[1778],{"type":47,"tag":256,"props":1779,"children":1780},{"style":564},[1781],{"type":53,"value":1782},"# List only runtime variables, including system ones\n",{"type":47,"tag":256,"props":1784,"children":1785},{"class":258,"line":381},[1786,1790,1794,1798,1803,1808,1813],{"type":47,"tag":256,"props":1787,"children":1788},{"style":263},[1789],{"type":53,"value":266},{"type":47,"tag":256,"props":1791,"children":1792},{"style":269},[1793],{"type":53,"value":272},{"type":47,"tag":256,"props":1795,"children":1796},{"style":269},[1797],{"type":53,"value":277},{"type":47,"tag":256,"props":1799,"children":1800},{"style":269},[1801],{"type":53,"value":1802}," --scope",{"type":47,"tag":256,"props":1804,"children":1805},{"style":269},[1806],{"type":53,"value":1807}," runtime",{"type":47,"tag":256,"props":1809,"children":1810},{"style":269},[1811],{"type":53,"value":1812}," --include-system",{"type":47,"tag":256,"props":1814,"children":1815},{"style":269},[1816],{"type":53,"value":726},{"type":47,"tag":256,"props":1818,"children":1819},{"class":258,"line":676},[1820],{"type":47,"tag":256,"props":1821,"children":1822},{"emptyLinePlaceholder":688},[1823],{"type":53,"value":691},{"type":47,"tag":256,"props":1825,"children":1826},{"class":258,"line":684},[1827],{"type":47,"tag":256,"props":1828,"children":1829},{"style":564},[1830],{"type":53,"value":1831},"# List storefront variables\n",{"type":47,"tag":256,"props":1833,"children":1834},{"class":258,"line":694},[1835,1839,1843,1847,1852,1857],{"type":47,"tag":256,"props":1836,"children":1837},{"style":263},[1838],{"type":53,"value":266},{"type":47,"tag":256,"props":1840,"children":1841},{"style":269},[1842],{"type":53,"value":272},{"type":47,"tag":256,"props":1844,"children":1845},{"style":269},[1846],{"type":53,"value":277},{"type":47,"tag":256,"props":1848,"children":1849},{"style":269},[1850],{"type":53,"value":1851}," --type",{"type":47,"tag":256,"props":1853,"children":1854},{"style":269},[1855],{"type":53,"value":1856}," storefront",{"type":47,"tag":256,"props":1858,"children":1859},{"style":269},[1860],{"type":53,"value":726},{"type":47,"tag":256,"props":1862,"children":1863},{"class":258,"line":703},[1864],{"type":47,"tag":256,"props":1865,"children":1866},{"emptyLinePlaceholder":688},[1867],{"type":53,"value":691},{"type":47,"tag":256,"props":1869,"children":1870},{"class":258,"line":1026},[1871],{"type":47,"tag":256,"props":1872,"children":1873},{"style":564},[1874],{"type":53,"value":1875},"# Get a variable by key (with active context)\n",{"type":47,"tag":256,"props":1877,"children":1878},{"class":258,"line":1035},[1879,1883,1887,1891,1896],{"type":47,"tag":256,"props":1880,"children":1881},{"style":263},[1882],{"type":53,"value":266},{"type":47,"tag":256,"props":1884,"children":1885},{"style":269},[1886],{"type":53,"value":272},{"type":47,"tag":256,"props":1888,"children":1889},{"style":269},[1890],{"type":53,"value":583},{"type":47,"tag":256,"props":1892,"children":1893},{"style":269},[1894],{"type":53,"value":1895}," DATABASE_URL",{"type":47,"tag":256,"props":1897,"children":1898},{"style":269},[1899],{"type":53,"value":726},{"type":47,"tag":256,"props":1901,"children":1903},{"class":258,"line":1902},12,[1904],{"type":47,"tag":256,"props":1905,"children":1906},{"emptyLinePlaceholder":688},[1907],{"type":53,"value":691},{"type":47,"tag":256,"props":1909,"children":1911},{"class":258,"line":1910},13,[1912],{"type":47,"tag":256,"props":1913,"children":1914},{"style":564},[1915],{"type":53,"value":1916},"# Get a variable by ID (no env context needed)\n",{"type":47,"tag":256,"props":1918,"children":1920},{"class":258,"line":1919},14,[1921,1925,1929,1933,1937],{"type":47,"tag":256,"props":1922,"children":1923},{"style":263},[1924],{"type":53,"value":266},{"type":47,"tag":256,"props":1926,"children":1927},{"style":269},[1928],{"type":53,"value":272},{"type":47,"tag":256,"props":1930,"children":1931},{"style":269},[1932],{"type":53,"value":583},{"type":47,"tag":256,"props":1934,"children":1935},{"style":269},[1936],{"type":53,"value":721},{"type":47,"tag":256,"props":1938,"children":1939},{"style":269},[1940],{"type":53,"value":726},{"type":47,"tag":256,"props":1942,"children":1944},{"class":258,"line":1943},15,[1945],{"type":47,"tag":256,"props":1946,"children":1947},{"emptyLinePlaceholder":688},[1948],{"type":53,"value":691},{"type":47,"tag":256,"props":1950,"children":1952},{"class":258,"line":1951},16,[1953],{"type":47,"tag":256,"props":1954,"children":1955},{"style":564},[1956],{"type":53,"value":1957},"# Set a single variable, then redeploy to apply (runtime)\n",{"type":47,"tag":256,"props":1959,"children":1961},{"class":258,"line":1960},17,[1962,1966,1970,1974,1979],{"type":47,"tag":256,"props":1963,"children":1964},{"style":263},[1965],{"type":53,"value":266},{"type":47,"tag":256,"props":1967,"children":1968},{"style":269},[1969],{"type":53,"value":272},{"type":47,"tag":256,"props":1971,"children":1972},{"style":269},[1973],{"type":53,"value":875},{"type":47,"tag":256,"props":1975,"children":1976},{"style":269},[1977],{"type":53,"value":1978}," REDIS_URL",{"type":47,"tag":256,"props":1980,"children":1981},{"style":269},[1982],{"type":53,"value":1983}," redis:\u002F\u002Fcache:6379\n",{"type":47,"tag":256,"props":1985,"children":1987},{"class":258,"line":1986},18,[1988,1992,1997,2002],{"type":47,"tag":256,"props":1989,"children":1990},{"style":263},[1991],{"type":53,"value":266},{"type":47,"tag":256,"props":1993,"children":1994},{"style":269},[1995],{"type":53,"value":1996}," environments",{"type":47,"tag":256,"props":1998,"children":1999},{"style":269},[2000],{"type":53,"value":2001}," redeploy",{"type":47,"tag":256,"props":2003,"children":2004},{"style":269},[2005],{"type":53,"value":2006}," production\n",{"type":47,"tag":256,"props":2008,"children":2010},{"class":258,"line":2009},19,[2011],{"type":47,"tag":256,"props":2012,"children":2013},{"emptyLinePlaceholder":688},[2014],{"type":53,"value":691},{"type":47,"tag":256,"props":2016,"children":2018},{"class":258,"line":2017},20,[2019],{"type":47,"tag":256,"props":2020,"children":2021},{"style":564},[2022],{"type":53,"value":2023},"# Set a secret build-only variable, then trigger a build to apply\n",{"type":47,"tag":256,"props":2025,"children":2027},{"class":258,"line":2026},21,[2028,2032,2036,2040,2045,2050,2055,2060],{"type":47,"tag":256,"props":2029,"children":2030},{"style":263},[2031],{"type":53,"value":266},{"type":47,"tag":256,"props":2033,"children":2034},{"style":269},[2035],{"type":53,"value":272},{"type":47,"tag":256,"props":2037,"children":2038},{"style":269},[2039],{"type":53,"value":875},{"type":47,"tag":256,"props":2041,"children":2042},{"style":269},[2043],{"type":53,"value":2044}," STRIPE_SECRET_KEY",{"type":47,"tag":256,"props":2046,"children":2047},{"style":269},[2048],{"type":53,"value":2049}," sk_live_123",{"type":47,"tag":256,"props":2051,"children":2052},{"style":269},[2053],{"type":53,"value":2054}," --secret",{"type":47,"tag":256,"props":2056,"children":2057},{"style":269},[2058],{"type":53,"value":2059}," --build",{"type":47,"tag":256,"props":2061,"children":2062},{"style":269},[2063],{"type":53,"value":2064}," --no-runtime\n",{"type":47,"tag":256,"props":2066,"children":2068},{"class":258,"line":2067},22,[2069,2073,2077,2082],{"type":47,"tag":256,"props":2070,"children":2071},{"style":263},[2072],{"type":53,"value":266},{"type":47,"tag":256,"props":2074,"children":2075},{"style":269},[2076],{"type":53,"value":1996},{"type":47,"tag":256,"props":2078,"children":2079},{"style":269},[2080],{"type":53,"value":2081}," trigger-build",{"type":47,"tag":256,"props":2083,"children":2084},{"style":269},[2085],{"type":53,"value":2006},{"type":47,"tag":256,"props":2087,"children":2089},{"class":258,"line":2088},23,[2090],{"type":47,"tag":256,"props":2091,"children":2092},{"emptyLinePlaceholder":688},[2093],{"type":53,"value":691},{"type":47,"tag":256,"props":2095,"children":2096},{"class":258,"line":28},[2097],{"type":47,"tag":256,"props":2098,"children":2099},{"style":564},[2100],{"type":53,"value":2101},"# Set multiple variables from a .env file\n",{"type":47,"tag":256,"props":2103,"children":2105},{"class":258,"line":2104},25,[2106,2110,2114,2118,2122],{"type":47,"tag":256,"props":2107,"children":2108},{"style":263},[2109],{"type":53,"value":266},{"type":47,"tag":256,"props":2111,"children":2112},{"style":269},[2113],{"type":53,"value":272},{"type":47,"tag":256,"props":2115,"children":2116},{"style":269},[2117],{"type":53,"value":875},{"type":47,"tag":256,"props":2119,"children":2120},{"style":269},[2121],{"type":53,"value":1053},{"type":47,"tag":256,"props":2123,"children":2124},{"style":269},[2125],{"type":53,"value":1058},{"type":47,"tag":256,"props":2127,"children":2129},{"class":258,"line":2128},26,[2130],{"type":47,"tag":256,"props":2131,"children":2132},{"emptyLinePlaceholder":688},[2133],{"type":53,"value":691},{"type":47,"tag":256,"props":2135,"children":2137},{"class":258,"line":2136},27,[2138],{"type":47,"tag":256,"props":2139,"children":2140},{"style":564},[2141],{"type":53,"value":2142},"# Delete a variable (irreversible — confirm before running)\n",{"type":47,"tag":256,"props":2144,"children":2146},{"class":258,"line":2145},28,[2147,2151,2155,2159,2164],{"type":47,"tag":256,"props":2148,"children":2149},{"style":263},[2150],{"type":53,"value":266},{"type":47,"tag":256,"props":2152,"children":2153},{"style":269},[2154],{"type":53,"value":272},{"type":47,"tag":256,"props":2156,"children":2157},{"style":269},[2158],{"type":53,"value":1329},{"type":47,"tag":256,"props":2160,"children":2161},{"style":269},[2162],{"type":53,"value":2163}," OLD_FLAG",{"type":47,"tag":256,"props":2165,"children":2166},{"style":269},[2167],{"type":53,"value":2168}," --yes\n",{"type":47,"tag":256,"props":2170,"children":2172},{"class":258,"line":2171},29,[2173],{"type":47,"tag":256,"props":2174,"children":2175},{"emptyLinePlaceholder":688},[2176],{"type":53,"value":691},{"type":47,"tag":256,"props":2178,"children":2180},{"class":258,"line":2179},30,[2181],{"type":47,"tag":256,"props":2182,"children":2183},{"style":564},[2184],{"type":53,"value":2185},"# Only reveal secrets when user explicitly asks\n",{"type":47,"tag":256,"props":2187,"children":2189},{"class":258,"line":2188},31,[2190,2194,2198,2202,2206,2211,2216,2221,2226,2231,2236,2241],{"type":47,"tag":256,"props":2191,"children":2192},{"style":263},[2193],{"type":53,"value":266},{"type":47,"tag":256,"props":2195,"children":2196},{"style":269},[2197],{"type":53,"value":272},{"type":47,"tag":256,"props":2199,"children":2200},{"style":269},[2201],{"type":53,"value":583},{"type":47,"tag":256,"props":2203,"children":2204},{"style":269},[2205],{"type":53,"value":2044},{"type":47,"tag":256,"props":2207,"children":2208},{"style":269},[2209],{"type":53,"value":2210}," --reveal",{"type":47,"tag":256,"props":2212,"children":2213},{"style":269},[2214],{"type":53,"value":2215}," --json",{"type":47,"tag":256,"props":2217,"children":2218},{"style":295},[2219],{"type":53,"value":2220}," |",{"type":47,"tag":256,"props":2222,"children":2223},{"style":263},[2224],{"type":53,"value":2225}," jq",{"type":47,"tag":256,"props":2227,"children":2228},{"style":269},[2229],{"type":53,"value":2230}," -r",{"type":47,"tag":256,"props":2232,"children":2233},{"style":295},[2234],{"type":53,"value":2235}," '",{"type":47,"tag":256,"props":2237,"children":2238},{"style":269},[2239],{"type":53,"value":2240},".value",{"type":47,"tag":256,"props":2242,"children":2243},{"style":295},[2244],{"type":53,"value":2245},"'\n",{"type":47,"tag":256,"props":2247,"children":2249},{"class":258,"line":2248},32,[2250],{"type":47,"tag":256,"props":2251,"children":2252},{"emptyLinePlaceholder":688},[2253],{"type":53,"value":691},{"type":47,"tag":256,"props":2255,"children":2257},{"class":258,"line":2256},33,[2258],{"type":47,"tag":256,"props":2259,"children":2260},{"style":564},[2261],{"type":53,"value":2262},"# Export all variables to a .env file (user must explicitly request --reveal)\n",{"type":47,"tag":256,"props":2264,"children":2266},{"class":258,"line":2265},34,[2267,2271,2275,2279,2283,2288,2293],{"type":47,"tag":256,"props":2268,"children":2269},{"style":263},[2270],{"type":53,"value":266},{"type":47,"tag":256,"props":2272,"children":2273},{"style":269},[2274],{"type":53,"value":272},{"type":47,"tag":256,"props":2276,"children":2277},{"style":269},[2278],{"type":53,"value":277},{"type":47,"tag":256,"props":2280,"children":2281},{"style":269},[2282],{"type":53,"value":2210},{"type":47,"tag":256,"props":2284,"children":2285},{"style":269},[2286],{"type":53,"value":2287}," --dotenv",{"type":47,"tag":256,"props":2289,"children":2290},{"style":295},[2291],{"type":53,"value":2292}," >",{"type":47,"tag":256,"props":2294,"children":2295},{"style":269},[2296],{"type":53,"value":1058},{"type":47,"tag":256,"props":2298,"children":2300},{"class":258,"line":2299},35,[2301],{"type":47,"tag":256,"props":2302,"children":2303},{"emptyLinePlaceholder":688},[2304],{"type":53,"value":691},{"type":47,"tag":256,"props":2306,"children":2308},{"class":258,"line":2307},36,[2309],{"type":47,"tag":256,"props":2310,"children":2311},{"style":564},[2312],{"type":53,"value":2313},"# Check if a specific variable exists\n",{"type":47,"tag":256,"props":2315,"children":2317},{"class":258,"line":2316},37,[2318,2322,2326,2330,2334,2338,2342,2346,2351],{"type":47,"tag":256,"props":2319,"children":2320},{"style":263},[2321],{"type":53,"value":266},{"type":47,"tag":256,"props":2323,"children":2324},{"style":269},[2325],{"type":53,"value":272},{"type":47,"tag":256,"props":2327,"children":2328},{"style":269},[2329],{"type":53,"value":277},{"type":47,"tag":256,"props":2331,"children":2332},{"style":269},[2333],{"type":53,"value":2215},{"type":47,"tag":256,"props":2335,"children":2336},{"style":295},[2337],{"type":53,"value":2220},{"type":47,"tag":256,"props":2339,"children":2340},{"style":263},[2341],{"type":53,"value":2225},{"type":47,"tag":256,"props":2343,"children":2344},{"style":295},[2345],{"type":53,"value":2235},{"type":47,"tag":256,"props":2347,"children":2348},{"style":269},[2349],{"type":53,"value":2350},".[] | select(.key == \"REDIS_URL\")",{"type":47,"tag":256,"props":2352,"children":2353},{"style":295},[2354],{"type":53,"value":2245},{"type":47,"tag":2356,"props":2357,"children":2358},"style",{},[2359],{"type":53,"value":2360},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":2362,"total":1960},[2363,2380,2396,2410,2422,2437,2447,2460,2477,2487,2500,2511],{"slug":2364,"name":2364,"fn":2365,"description":2366,"org":2367,"tags":2368,"stars":24,"repoUrl":25,"updatedAt":2379},"building-admin-dashboard-customizations","customize Medusa Admin dashboard UI","Load automatically when planning, researching, or implementing Medusa Admin dashboard UI (widgets, custom pages, forms, tables, data loading, navigation). REQUIRED for all admin UI work in ALL modes (planning, implementation, exploration). Contains design patterns, component usage, and data loading patterns that MCP servers don't provide.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2369,2372,2375,2376],{"name":2370,"slug":2371,"type":16},"E-commerce","e-commerce",{"name":2373,"slug":2374,"type":16},"Frontend","frontend",{"name":9,"slug":8,"type":16},{"name":2377,"slug":2378,"type":16},"UI Components","ui-components","2026-04-06T18:29:57.203659",{"slug":2381,"name":2381,"fn":2382,"description":2383,"org":2384,"tags":2385,"stars":24,"repoUrl":25,"updatedAt":2395},"building-storefronts","implement Medusa storefront features","Load automatically when planning, researching, or implementing Medusa storefront features (calling custom API routes, SDK integration, React Query patterns, data fetching). REQUIRED for all storefront development in ALL modes (planning, implementation, exploration). Contains SDK usage patterns, frontend integration, and critical rules for calling Medusa APIs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2386,2387,2390,2391,2392],{"name":2370,"slug":2371,"type":16},{"name":2388,"slug":2389,"type":16},"Engineering","engineering",{"name":2373,"slug":2374,"type":16},{"name":9,"slug":8,"type":16},{"name":2393,"slug":2394,"type":16},"React","react","2026-04-06T18:29:55.957429",{"slug":2397,"name":2397,"fn":2398,"description":2399,"org":2400,"tags":2401,"stars":24,"repoUrl":25,"updatedAt":2409},"building-with-medusa","implement Medusa backend features","Load automatically when planning, researching, or implementing ANY Medusa backend features (custom modules, API routes, workflows, data models, module links, business logic). REQUIRED for all Medusa backend work in ALL modes (planning, implementation, exploration). Contains architectural patterns, best practices, and critical rules that MCP servers don't provide.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2402,2404,2407,2408],{"name":2403,"slug":448,"type":16},"Backend",{"name":2405,"slug":2406,"type":16},"Data Modeling","data-modeling",{"name":2370,"slug":2371,"type":16},{"name":9,"slug":8,"type":16},"2026-04-06T18:29:54.652389",{"slug":2411,"name":2411,"fn":2412,"description":2413,"org":2414,"tags":2415,"stars":24,"repoUrl":25,"updatedAt":2421},"creating-agents-in-medusa","build admin-facing AI agents in Medusa","Use when building an internal admin-facing AI agent in a Medusa project. These agents are operated by merchants and store operators — not customers. Covers data models, module service, agent runtime (tools, system prompt, streamText), streaming API routes (NDJSON), and admin UI chat extensions. Load for any internal agent type: store operations assistant, product audit, cohort analysis, customer service tooling for support staff, etc. Do NOT use for customer-facing agents (storefront chatbots, buyer-side assistants).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2416,2419,2420],{"name":2417,"slug":2418,"type":16},"Agents","agents",{"name":2403,"slug":448,"type":16},{"name":9,"slug":8,"type":16},"2026-07-14T05:42:09.367168",{"slug":2423,"name":2423,"fn":2424,"description":2425,"org":2426,"tags":2427,"stars":24,"repoUrl":25,"updatedAt":2436},"db-generate","generate database migrations for Medusa modules","Generate database migrations for a Medusa module",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2428,2429,2432,2433],{"name":2403,"slug":448,"type":16},{"name":2430,"slug":2431,"type":16},"Database","database",{"name":9,"slug":8,"type":16},{"name":2434,"slug":2435,"type":16},"Migration","migration","2026-04-06T18:29:53.415671",{"slug":2438,"name":2438,"fn":2439,"description":2440,"org":2441,"tags":2442,"stars":24,"repoUrl":25,"updatedAt":2446},"db-migrate","run database migrations in Medusa","Run database migrations in Medusa",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2443,2444,2445],{"name":2430,"slug":2431,"type":16},{"name":9,"slug":8,"type":16},{"name":2434,"slug":2435,"type":16},"2026-04-06T18:29:52.187377",{"slug":2448,"name":2448,"fn":2449,"description":2450,"org":2451,"tags":2452,"stars":24,"repoUrl":25,"updatedAt":2459},"learning-medusa","guide Medusa development learning","Load automatically when user asks to learn Medusa development (e.g., \"teach me how to build with medusa\", \"guide me through medusa\", \"I want to learn medusa\"). Interactive guided tutorial where Claude acts as a coding bootcamp instructor, teaching step-by-step with checkpoints and verification.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2453,2454,2455,2456],{"name":2403,"slug":448,"type":16},{"name":2370,"slug":2371,"type":16},{"name":9,"slug":8,"type":16},{"name":2457,"slug":2458,"type":16},"Templates","templates","2026-04-06T18:29:58.461689",{"slug":2461,"name":2461,"fn":2462,"description":2463,"org":2464,"tags":2465,"stars":24,"repoUrl":25,"updatedAt":2476},"mcloud-deployments","manage Medusa Cloud deployments","Execute mcloud deployments commands to list deployments, retrieve deployment details, and fetch build logs. Use when listing deployments, checking deployment status, or reading build output for debugging build failures.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2466,2469,2472,2473],{"name":2467,"slug":2468,"type":16},"Deployment","deployment",{"name":2470,"slug":2471,"type":16},"Logs","logs",{"name":9,"slug":8,"type":16},{"name":2474,"slug":2475,"type":16},"Observability","observability","2026-05-09T05:40:51.727369",{"slug":2478,"name":2478,"fn":2479,"description":2480,"org":2481,"tags":2482,"stars":24,"repoUrl":25,"updatedAt":2486},"mcloud-environments","manage Medusa Cloud environments","Execute mcloud environments commands to list, get, create, delete, redeploy, or trigger builds for Cloud environments. Use when managing environment lifecycle, redeploying after variable changes, or starting new builds from source.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2483,2484,2485],{"name":2467,"slug":2468,"type":16},{"name":9,"slug":8,"type":16},{"name":14,"slug":15,"type":16},"2026-07-17T05:31:36.384292",{"slug":2488,"name":2488,"fn":2489,"description":2490,"org":2491,"tags":2492,"stars":24,"repoUrl":25,"updatedAt":2499},"mcloud-local","reproduce Cloud builds locally","Execute mcloud local build to reproduce a Cloud build on the local machine. Use when debugging a build-failed deployment without pushing to the tracked branch, iterating on a build fix, or testing build-variable changes locally. Requires Docker and must run inside the project's Git repo.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2493,2496,2497,2498],{"name":2494,"slug":2495,"type":16},"Debugging","debugging",{"name":2467,"slug":2468,"type":16},{"name":2388,"slug":2389,"type":16},{"name":9,"slug":8,"type":16},"2026-07-17T06:05:07.199529",{"slug":2501,"name":2501,"fn":2502,"description":2503,"org":2504,"tags":2505,"stars":24,"repoUrl":25,"updatedAt":2510},"mcloud-logs","fetch and stream runtime cloud logs","Execute mcloud logs to fetch and stream runtime logs for Cloud environments. Use when reading backend or storefront logs, filtering by time range, searching for errors, or scoping logs to a specific deployment.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2506,2507,2508,2509],{"name":19,"slug":20,"type":16},{"name":2470,"slug":2471,"type":16},{"name":9,"slug":8,"type":16},{"name":2474,"slug":2475,"type":16},"2026-05-09T05:40:46.707854",{"slug":2512,"name":2512,"fn":2513,"description":2514,"org":2515,"tags":2516,"stars":24,"repoUrl":25,"updatedAt":2519},"mcloud-organizations","manage Medusa Cloud organizations","Execute mcloud organizations commands to list or get Cloud organizations. Use when discovering organizations, resolving organization IDs by name, or retrieving organization details including members and subscription.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2517,2518],{"name":9,"slug":8,"type":16},{"name":14,"slug":15,"type":16},"2026-05-09T05:40:54.327722",{"items":2521,"total":1960},[2522,2529,2537,2544,2550,2557,2563],{"slug":2364,"name":2364,"fn":2365,"description":2366,"org":2523,"tags":2524,"stars":24,"repoUrl":25,"updatedAt":2379},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2525,2526,2527,2528],{"name":2370,"slug":2371,"type":16},{"name":2373,"slug":2374,"type":16},{"name":9,"slug":8,"type":16},{"name":2377,"slug":2378,"type":16},{"slug":2381,"name":2381,"fn":2382,"description":2383,"org":2530,"tags":2531,"stars":24,"repoUrl":25,"updatedAt":2395},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2532,2533,2534,2535,2536],{"name":2370,"slug":2371,"type":16},{"name":2388,"slug":2389,"type":16},{"name":2373,"slug":2374,"type":16},{"name":9,"slug":8,"type":16},{"name":2393,"slug":2394,"type":16},{"slug":2397,"name":2397,"fn":2398,"description":2399,"org":2538,"tags":2539,"stars":24,"repoUrl":25,"updatedAt":2409},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2540,2541,2542,2543],{"name":2403,"slug":448,"type":16},{"name":2405,"slug":2406,"type":16},{"name":2370,"slug":2371,"type":16},{"name":9,"slug":8,"type":16},{"slug":2411,"name":2411,"fn":2412,"description":2413,"org":2545,"tags":2546,"stars":24,"repoUrl":25,"updatedAt":2421},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2547,2548,2549],{"name":2417,"slug":2418,"type":16},{"name":2403,"slug":448,"type":16},{"name":9,"slug":8,"type":16},{"slug":2423,"name":2423,"fn":2424,"description":2425,"org":2551,"tags":2552,"stars":24,"repoUrl":25,"updatedAt":2436},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2553,2554,2555,2556],{"name":2403,"slug":448,"type":16},{"name":2430,"slug":2431,"type":16},{"name":9,"slug":8,"type":16},{"name":2434,"slug":2435,"type":16},{"slug":2438,"name":2438,"fn":2439,"description":2440,"org":2558,"tags":2559,"stars":24,"repoUrl":25,"updatedAt":2446},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2560,2561,2562],{"name":2430,"slug":2431,"type":16},{"name":9,"slug":8,"type":16},{"name":2434,"slug":2435,"type":16},{"slug":2448,"name":2448,"fn":2449,"description":2450,"org":2564,"tags":2565,"stars":24,"repoUrl":25,"updatedAt":2459},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2566,2567,2568,2569],{"name":2403,"slug":448,"type":16},{"name":2370,"slug":2371,"type":16},{"name":9,"slug":8,"type":16},{"name":2457,"slug":2458,"type":16}]