You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -861,6 +863,12 @@ Environment variable names are validated against `[A-Za-z_][A-Za-z0-9_]*` to pre
861
863
862
864
If no passthrough env vars are needed, this marker is replaced with an empty string.
863
865
866
+
## {{ mcpg_step_env }}
867
+
868
+
Generates an `env:` block for the "Start MCP Gateway (MCPG)" pipeline step, forwarding pipeline variables required by enabled extensions (e.g., `AZURE_DEVOPS_EXT_PAT` when the Azure DevOps MCP tool is configured). The compiler iterates through all active `CompilerExtension` instances, collects their `required_pipeline_vars()` mappings, de-duplicates by variable name, and emits each as `VAR_NAME: $(VAR_NAME)` in ADO variable-reference syntax.
869
+
870
+
When no extensions require pipeline variables, this marker is replaced with an empty string and the MCPG step has no `env:` block.
871
+
864
872
## {{ mcp_client_config }}
865
873
866
874
**Removed.** The Copilot CLI `mcp-config.json` is no longer generated at compile time. Instead, it is derived at **pipeline runtime** from MCPG's actual gateway output, matching gh-aw's `convert_gateway_config_copilot.cjs` pattern.
0 commit comments