Skip to content

Fix MCP server connectivity check using 0.0.0.0 addresses#10092

Closed
Copilot wants to merge 3 commits intomainfrom
copilot/debug-auto-assign-issue
Closed

Fix MCP server connectivity check using 0.0.0.0 addresses#10092
Copilot wants to merge 3 commits intomainfrom
copilot/debug-auto-assign-issue

Conversation

Copy link
Contributor

Copilot AI commented Jan 15, 2026

The Auto-Assign Issue workflow failed because check_mcp_servers.sh was extracting server URLs directly from the gateway config, which contains 0.0.0.0 bind addresses. Connecting to 0.0.0.0 as a client fails.

Changes

  • Construct URLs from gateway parameter: Use ${GATEWAY_URL}/mcp/${SERVER_NAME} pattern instead of extracting .url from config
  • Preserve stdio server skipping: Check type == "http" or URL field exists before attempting connection
  • Keep auth header extraction: Still read Authorization headers from config as before

Before:

SERVER_URL=$(echo "$SERVER_CONFIG" | jq -r '.url // empty')
# Tries to connect to http://0.0.0.0:8080/mcp/github

After:

SERVER_URL="${GATEWAY_URL}/mcp/${SERVER_NAME}"
# Correctly connects to http://localhost:8080/mcp/github

The script already receives the correct gateway URL as its second parameter (http://localhost:8080) but wasn't using it.

Original prompt

This section details on the original issue you should resolve

<issue_title>[aw] Auto-Assign Issue failed</issue_title>
<issue_description>## Problem

The agentic workflow Auto-Assign Issue has failed. This typically indicates a configuration or runtime error that requires user intervention.

Failed Run

How to investigate

Use the debug-agentic-workflow agent to investigate this failure.

In GitHub Copilot Chat, type /agent and select debug-agentic-workflow.

When prompted, provide the workflow run URL: https://github.com/githubnext/gh-aw/actions/runs/20890402958

The debug agent will help you:

  • Analyze the failure logs
  • Identify the root cause
  • Suggest fixes for configuration or runtime errors

Generated from Auto-Assign Issue

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits January 15, 2026 15:16
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Copilot AI changed the title [WIP] Debug auto-assign issue workflow failure Fix MCP server connectivity check using 0.0.0.0 addresses Jan 15, 2026
Copilot AI requested a review from mnkiefer January 15, 2026 15:41
@pelikhan pelikhan closed this Jan 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[aw] Auto-Assign Issue failed

3 participants