Skip to content

Release 1.6.0 - #565

Open
koic wants to merge 1 commit into
modelcontextprotocol:mainfrom
koic:release_1_6_0
Open

koic wants to merge 1 commit into
modelcontextprotocol:mainfrom
koic:release_1_6_0

Conversation

@koic

@koic koic commented Sep 20, 2026

Copy link
Copy Markdown
Member

This release lets an application configure, on the OAuth provider, the requests the flow makes to the authorization server: token_request_params: adds the parameters a server requires beyond the grant itself, and http_client_customizer: adds middleware to the connection the flow uses for discovery, registration, and token requests, behind a guard that refuses a request leaving the origin the flow asked for. The legacy 2025-03-26 discovery path is now taken only when the server publishes no Protected Resource Metadata: a fetch that failed to reach the server, or that answered 5xx or 429, raises Flow::MetadataUnreachableError instead, and the metadata served on that path must name the MCP server's origin as its issuer. The client_credentials and jwt-bearer grants run on that path, and a stored refresh token no longer crashes their providers. MCP::Icon.new now refuses an icon the specification's schema rejects, such as one without src or with sizes given as a String. Three entries under "Changed" reject what earlier releases accepted and ship in a minor release under the exceptions described in VERSIONING.md.

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

This release lets an application configure, on the OAuth provider, the requests the flow makes to
the authorization server: `token_request_params:` adds the parameters a server requires beyond
the grant itself, and `http_client_customizer:` adds middleware to the connection the flow uses for discovery,
registration, and token requests, behind a guard that refuses a request leaving the origin the flow asked for.
The legacy 2025-03-26 discovery path is now taken only when the server publishes no Protected Resource Metadata:
a fetch that failed to reach the server, or that answered `5xx` or `429`, raises `Flow::MetadataUnreachableError` instead,
and the metadata served on that path must name the MCP server's origin as its `issuer`. The `client_credentials`
and `jwt-bearer` grants run on that path, and a stored refresh token no longer crashes their providers.
`MCP::Icon.new` now refuses an icon the specification's schema rejects, such as one without `src` or
with `sizes` given as a String.
Three entries under "Changed" reject what earlier releases accepted and ship in a minor release under
the exceptions described in VERSIONING.md.
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.

1 participant