We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 417b795 commit b82496bCopy full SHA for b82496b
.changeset/fix-validate-client-metadata-url.md
@@ -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