env rm
Remove an environment variable.
Remove an environment variable.
mcp-use env rm <KEY> [options]Options
--environment production|preview|development selects scope; --branch selects a preview override. Set/push support --phase runtime|build|both. Use env set --help for passing a secret through stdin with --sensitive.
Behavior
Values are write-only. Listing returns keys and metadata. A branch-specific override can shadow the shared preview value.
Run mcp-use env rm --help for the complete flag list.
Example
mcp-use env rm OLD_KEY --environment production --yesremove is an alias for rm. Confirm the resource before removing it; use
--yes when the command requires non-interactive confirmation.