Skip to content

Commit b82496b

Browse files
committed
chore: add changeset for clientMetadataUrl fail-fast validation
1 parent 417b795 commit b82496b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
'@modelcontextprotocol/client': patch
3+
---
4+
5+
Fix: validate `clientMetadataUrl` at construction time (fail-fast)
6+
7+
`OAuthClientProvider` implementations that supply a `clientMetadataUrl` now have it
8+
validated immediately when the transport is constructed rather than at the first auth
9+
attempt. Invalid URLs throw synchronously, making misconfiguration easier to catch
10+
during development instead of surfacing as a runtime error mid-flow.

0 commit comments

Comments
 (0)