chore(deps): bump @modelcontextprotocol/core from 2.1.0 to 2.3.1
Bumps @modelcontextprotocol/core from 2.1.0 to 2.3.1.
Release notes
Sourced from @modelcontextprotocol/core's releases.
@modelcontextprotocol/core@2.3.1No release notes provided.
@modelcontextprotocol/core@2.3.0Patch Changes
- #2908
633dd3eThanks@claude! - Thelicensefield of the package manifests is nowApache-2.0; theLICENSEfile shipped in each package carries the full terms, including the MIT text for earlier contributions. No code change.
@modelcontextprotocol/core@2.2.0Minor Changes
#2887
edd12e2Thanks@maxisbey! - ConstructingClientCredentialsProvider,PrivateKeyJwtProvider,StaticPrivateKeyJwtProviderorCrossAppAccessProviderwithoutexpectedIssueris deprecated: the constructor logs oneconsole.warnand that call signature is marked@deprecated. Behaviour is otherwise unchanged. Pass theissuerof the authorization server the credentials were registered with.
fetchToken()throwsAuthorizationServerMismatchError, before sending anything, when the provider's client information is bound to a different authorization server than the one it is called with. TheAuthorizationServerMismatchErrormessage no longer assumes the authorization-code callback; its fields are unchanged.
OAuthTokensSchemaandOAuthClientInformationSchemaaccept the optionalissuerstamp, so a provider that reads storage back through them keeps it.auth()overwrites it on every save.
Commits
fcef852Version Packages (#2953)e8b7f05docs: one opening note in the server and client package READMEs (#2955)5a18673feat(server-legacy): add expectedResource to requireBearerAuth (#2952)3ab61c6docs: update the README banners (#2940)8aabbdctest(e2e): expect SdkHttpError after a second 401 from onUnauthorized (#2936)33fecfbtest(e2e): cover tools/call without arguments (#2933)818f782docs: state the principles in CLAUDE.md and shorten REVIEW.md (#2938)a202a36Version Packages (#2896)2d731fafix(client): refresh again when an SSE retry failed for a reason other than 4...b6e5c55test(e2e): cover prompts/get without arguments for prompts with a schema (#2928)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Summary by cubic
Updates @modelcontextprotocol/core from 2.1.0 to 2.3.1 in apps/my-pi-mcp and packages/mcp-adapter, and syncs pnpm-lock.yaml.
Version 2.2.0 introduces OAuth provider behavior changes worth verifying:
- Constructing
ClientCredentialsProvider,PrivateKeyJwtProvider,StaticPrivateKeyJwtProvider, orCrossAppAccessProviderwithoutexpectedIssuernow logs aconsole.warnand deprecates that call signature. fetchToken()now throwsAuthorizationServerMismatchErrorbefore sending anything when the provider's client information is bound to a different authorization server.OAuthTokensSchemaandOAuthClientInformationSchemaaccept the optionalissuerstamp;auth()overwrites it on every save.
Version 2.3.0 only changes the package license field to Apache-2.0; 2.3.1 is a patch release with no release notes.