All areas Feed Weekly digests

server-legacy

The tracked changes tagged server-legacy, newest release first. Every sentence is an item's summary.

4 items from 2 releases, 0 breaking Sources: MCP TypeScript SDK Last change:

Goes with

Changes

MCP TypeScript SDK 2.3.1

  1. feature

    requireBearerAuth in @modelcontextprotocol/server-legacy accepts an optional expectedResource parameter that restricts accepted tokens to those issued for this server (the token's audience); it is off unless set.

MCP TypeScript SDK @modelcontextprotocol/server-legacy@2.3.1

  1. feature

    requireBearerAuth in @modelcontextprotocol/server-legacy accepts an optional expectedResource option; when set, a token is accepted only if the verifier reports that resource value in AuthInfo.resource, compared as strings ignoring a fragment and one trailing slash.

  2. fix

    Tokens reported for a different resource, or for no resource, are answered with 401 invalid_token and the usual WWW-Authenticate challenge when expectedResource is set; behavior is unchanged when it is not set.

  3. other

    Updated the @modelcontextprotocol/core dependency to 2.3.1.