Fix MCP gateway server authentication in connectivity checks#9527
Merged
Fix MCP gateway server authentication in connectivity checks#9527
Conversation
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
… headers Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix failing GitHub Actions workflow agent
Fix MCP gateway server authentication in connectivity checks
Jan 10, 2026
Contributor
|
📰 DEVELOPING STORY: Smoke Copilot reports failed. Our correspondents are investigating the incident... |
Contributor
|
🌑 The shadows whisper... Smoke Codex failed. The oracle requires further meditation... |
Contributor
|
💫 TO BE CONTINUED... Smoke Claude failed! Our hero faces unexpected challenges... |
Contributor
|
💀 Blimey! Changeset Generator failed and walked the plank! No treasure today, matey! ☠️ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The MCP gateway startup fails when checking server connectivity because the check script doesn't authenticate requests, resulting in 401 errors for all gatewayed servers.
Changes
Modified
check_mcp_servers.sh:Updated
check_mcp_servers_test.sh:Technical Details
The gateway outputs server configs without Authorization headers in individual server objects. The check script receives the gateway API key as a parameter but wasn't using it as a fallback:
This allows gatewayed servers to authenticate properly during startup validation.
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.