env set

Create or update environment variables.

Create or update environment variables.

mcp-use env set <KEY=VALUE...> [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 set --help for the complete flag list.

Example

mcp-use env set LOG_LEVEL=info --environment production

On this page