github modelcontextprotocol/typescript-sdk @modelcontextprotocol/codemod@2.0.0-beta.5

latest releases: @modelcontextprotocol/node@2.0.0-beta.5, @modelcontextprotocol/core@2.0.0-beta.5, @modelcontextprotocol/server@2.0.0-beta.5...
pre-release10 hours ago

Patch Changes

  • #2501 1480241 Thanks @felixweinberger! - Export the Protocol base class and mergeCapabilities from the @modelcontextprotocol/client and @modelcontextprotocol/server package roots, restoring the v1 import for consumers that subclass Protocol (e.g. the MCP Apps SDK). The client and server packages each bundle their own compiled copy of the class, so import it from one package consistently within a process.

    The codemod now rewrites Protocol and mergeCapabilities imports from shared/protocol.js to the client or server package root, like the module's other symbols, instead of dropping them with an action-required marker.

Don't miss a new typescript-sdk release

NewReleases is sending notifications on new releases.