Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/en/copilot/using-github-copilot/coding-agent/extending-copilot-coding-agent-with-mcp#example-azure
What part(s) of the article would you like to see updated?
-
Environment name case sensitivity: The workflow example uses environment: Copilot but should use environment: copilot (lowercase) to match the naming convention used throughout the documentation and avoid configuration mismatches.
-
Incorrect azure/login action version: The example uses a placeholder hash a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0 instead of the actual v2.3.0 release hash a457da9ea143d694b1b9c7c869ebb04ebe844ef5.
-
Missing Liquid template protection: The GitHub Actions secret references need {% raw %} tags to prevent Liquid template processing that would break the workflow syntax.
-
Schema validation errors in MCP configuration:
- The server name "Azure MCP Server" causes the error:
Schema validation failed: /mcpServers must NOT have additional properties
- Missing tools configuration also triggers:
Schema validation failed: /mcpServers/Azure must have required property 'tools'
Additional information
I will submit a PR to fix this issue shortly.
Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/en/copilot/using-github-copilot/coding-agent/extending-copilot-coding-agent-with-mcp#example-azure
What part(s) of the article would you like to see updated?
Environment name case sensitivity: The workflow example uses
environment: Copilotbut should useenvironment: copilot(lowercase) to match the naming convention used throughout the documentation and avoid configuration mismatches.Incorrect azure/login action version: The example uses a placeholder hash a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0 instead of the actual v2.3.0 release hash a457da9ea143d694b1b9c7c869ebb04ebe844ef5.
Missing Liquid template protection: The GitHub Actions secret references need {% raw %} tags to prevent Liquid template processing that would break the workflow syntax.
Schema validation errors in MCP configuration:
Schema validation failed: /mcpServers must NOT have additional propertiesSchema validation failed: /mcpServers/Azure must have required property 'tools'Additional information
I will submit a PR to fix this issue shortly.