Skip to content

Conversation

@aaronpowell
Copy link
Member

Fixes #1010

Copilot AI review requested due to automatic review settings December 1, 2025 01:35
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes endpoint checking and allocation in the MCP Inspector integration (addressing issue #1010). The changes update how the AddMcpServer method validates and selects endpoints from MCP server resources.

Key Changes

  • Added explicit check using TryGetEndpoints to validate that endpoints exist before proceeding
  • Changed endpoint selection logic from preferring "https"/"http" endpoints to using the first available endpoint
  • Updated error message to reflect the new validation approach

You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

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.

MCP Inspector - Fail to run due to expecting https endpoint on mcp resource

2 participants