When a Kiro CLI Update Silently Breaks Your MCP Servers — The Approved Environment Variables Gotcha
A recent update to Kiro CLI, version 2.4.0, introduced a change in how environment variables are handled in MCP server configurations. Previously, all environment variables were expanded, but the update now restricts this to only those listed in the 'Approved Environment Variables' setting. This change can cause 401 Unauthorized errors if sensitive variables like API keys are not explicitly added to this approved list in the Kiro CLI settings. AI
IMPACT This change affects developers using Kiro CLI for managing MCP servers, potentially causing authentication issues if not addressed.