Non-secret presence check for the MCP_GATEWAY_API_KEY env var.
Returns only a boolean โ the token value never leaves this module. Routing logic in config/gateway-resolver.ts calls this helper instead of reading the env var directly so that every secret-bearing env access remains auditable in a single file (per the Authentication-and-Credentials-for-Agentic-Workflows skill).
Non-secret presence check for the
MCP_GATEWAY_API_KEYenv var.Returns only a boolean โ the token value never leaves this module. Routing logic in
config/gateway-resolver.tscalls this helper instead of reading the env var directly so that every secret-bearing env access remains auditable in a single file (per theAuthentication-and-Credentials-for-Agentic-Workflowsskill).