Skip to content

Conversation

@sorech
Copy link
Contributor

@sorech sorech commented Nov 17, 2025

This PR fixes OAuth discovery so the RMCP client so it tries all candidate URLs for JSON with valid metadata, rather than failing on the first malformed well-known URL.

Motivation and Context

Closes rust-sdk/issues/544
#544

How Has This Been Tested?

Against live endpoints where it previously failed.
cargo test --package rmcp --features client transport-child-process

Breaking Changes

NO

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

@github-actions github-actions bot added T-core Core library changes T-transport Transport layer changes labels Nov 17, 2025
@jokemanfire jokemanfire merged commit b6cbd39 into modelcontextprotocol:main Nov 18, 2025
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T-core Core library changes T-transport Transport layer changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants