set_environment
Set the active logical environment for a workspace session to resolve {CURRENT_ENV}_* secrets from .env.mcp.local before generic variables.
Instructions
Set the active logical environment for this workspace session (session CURRENT_ENV, e.g. STAGING). Interpolation resolves {CURRENT_ENV}VAR from .env.mcp.local before generic VAR (prefix-first). Put all env secrets there (DEVELOP, STAGING_); YAML stays generic.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| environment | Yes | ||
| workspaceRoot | No | Optional when MCP_WORKSPACE_ROOT is set. |