Skip to content

Commit 4d5cad5

Browse files
authored
Merge branch 'main' into RFC-7523-support
2 parents 1094286 + abb2f0a commit 4d5cad5

File tree

6 files changed

+1577
-4
lines changed

6 files changed

+1577
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,7 @@ const upgradeAuthTool = server.tool(
898898
// If we've just upgraded to 'write' permissions, we can still call 'upgradeAuth'
899899
// but can only upgrade to 'admin'.
900900
upgradeAuthTool.update({
901-
paramSchema: { permission: z.enum(["admin"]) }, // change validation rules
901+
paramsSchema: { permission: z.enum(["admin"]) }, // change validation rules
902902
})
903903
} else {
904904
// If we're now an admin, we no longer have anywhere to upgrade to, so fully remove that tool

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@modelcontextprotocol/sdk",
3-
"version": "1.17.2",
3+
"version": "1.17.3",
44
"description": "Model Context Protocol implementation for TypeScript",
55
"license": "MIT",
66
"author": "Anthropic, PBC (https://anthropic.com)",

src/client/auth.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,7 @@ async function authInternal(
481481
const fullInformation = await registerClient(authorizationServerUrl, {
482482
metadata,
483483
clientMetadata: provider.clientMetadata,
484+
fetchFn,
484485
});
485486

486487
await provider.saveClientInformation(fullInformation);
@@ -548,6 +549,7 @@ async function authInternal(
548549
resource,
549550
addClientAuthentication: provider.addClientAuthentication,
550551
jwtCredentials,
552+
fetchFn,
551553
});
552554

553555
await provider.saveTokens(newTokens);

0 commit comments

Comments
 (0)