Skip to content

Releases: modelcontextprotocol/typescript-sdk

1.15.0

03 Jul 22:32
1ac2e59
Compare
Choose a tag to compare

What's Changed

Note

This release reverts a breaking change introduced in version 1.13.3.

  • Allow custom fetch in SSEClientTransport and StreamableHTTPClientTransport by @cliffhall in #721
  • Revert "fix: add type safety for tool output schemas in ToolCallback" by @sushichan044 in #725
  • bump version to 1.15.0 by @bhosmer-ant in #730

Full Changelog: 1.14.0...1.15.0

1.14.0

03 Jul 15:42
bf4c5be
Compare
Choose a tag to compare

What's Changed

Warning

This introduces breaking changes, which are required to comply with the spec - more details

Full Changelog: 1.13.3...1.14.0

1.13.3

01 Jul 15:47
1b14bd7
Compare
Choose a tag to compare

What's Changed

  • Implement DNS Rebinding Protections per spec by @ddworken in #565
  • fix lint by @ihrpr in #704
  • fix: add missing eventsource-parser dependency by @domnit in #424
  • fix: add windows env PROGRAMFILES, avoid some exe can not be found by @muzea in #386
  • add overloads for registerResource method in McpServer class by @kentcdodds in #661
  • fix: extra headers when they are a Headers object by @garciasdos in #571
  • fix: missing "properties" property in empty schema by @sinedied in #598
  • fix: Expose the MCP child process PID as an accessible property in StdioClientTransport by @XiaofuHuang in #455
  • fix: add type safety for tool output schemas in ToolCallback by @sushichan044 in #670
  • doc minimum node version requirment by @marcopeg in #463
  • docs: add error handling when it fails to start HTTP server by @formulahendry in #371
  • Added Sampling Example to README by @RishiNandha in #698
  • Returning undefined from discoverOAuthMetadata for CORS errors by @geelen in #717
  • Bump version to 1.13.3 by @ihrpr in #719

New Contributors 🙏

Full Changelog: 1.13.2...1.13.3

1.13.2

26 Jun 17:57
1e52f38
Compare
Choose a tag to compare

What's Changed

  • Fix /.well-known/oauth-authorization-server dropping path by @calclavia in #687
  • Fallback for /.well-known/oauth-authorization-server dropping path by @ihrpr in #692
  • [auth] refactor resource selection to not include resource if PRM is not present by @pcarleton in #693
  • fix: skip validation if tool reports error by @Areo-Joe in #655
  • feat(shared/auth): support software_statement in OAuthClientMetadata by @chrisdickinson in #696
  • Show session id per request in simpleStreamableHttp example server by @cliffhall in #640
  • Raw request propagation in tools - passed to callbacks via RequestHandlerExtra<ServerRequest, ServerNotification> by @KKonstantinov in #627
  • Update readme file to include a tip to allow mcp-session-id in CORS when using StreamableHTTP by @Achintha444 in #633
  • Pr/protocol overwriting transport hooks by @nichtsam in #477
  • docs: Add clarifying comments for stateless streamable HTTP endpoints by @dhodun in #542
  • Bump formidable from 3.5.2 to 3.5.4 in the npm_and_yarn group across 1 directory by @dependabot in #428
  • test(server): add more tests for SSEServerTransport class by @christian-bromann in #391
  • Update version of the package to 1.13.2 by @ihrpr in #701

New Contributors 🙏

Full Changelog: 1.13.1...1.13.2

1.13.1

23 Jun 13:38
cb4743d
Compare
Choose a tag to compare

What's Changed

  • simpleStreamableHttp: fix example code by @ochafik in #660
  • build: add watching script targets for build & simple streamable http server by @ochafik in #663
  • feat: remove console statements from SDK code by @ashwin-ant in #668
  • [auth] adjust default validation for resource parameter in client flow, and server example by @pcarleton in #664
  • fix(client/sse): extract protected resource from eventsource 401 by @chrisdickinson in #675
  • 1.13.1 by @ihrpr in #683

Full Changelog: 1.13.0...1.13.1

1.13.0

18 Jun 20:11
a68dcdf
Compare
Choose a tag to compare

🚀 Implementation for Spec revision 2025-06-18

https://github.com/modelcontextprotocol/modelcontextprotocol/releases/tag/2025-06-18

New Contributors 🙏

Full Changelog: 1.12.3...1.13.0

1.12.3

12 Jun 18:24
dd69efa
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.12.2...1.12.3

1.12.2

12 Jun 18:10
b6f0273
Compare
Choose a tag to compare

What's Changed

  • fix: Ensure completions capability is registered on setCompletionRequestHandler call by @fredericbarthelet in #546
  • fixes metadata for listed resources from resource templates so that they favor their own metadata by @carlpeaslee in #574
  • Adding tests to prevent regressions for: fixes metadata for listed resources from resource templates so that they favor their own metadata by @ihrpr in #621

New Contributors

Full Changelog: 1.12.1...1.12.2

1.12.1

29 May 14:42
590d484
Compare
Choose a tag to compare

What's Changed

  • chore: fix typo by @Skn0tt in #315
  • Add request init headers defined on the sse transport on the start phase by @danielgek in #538
  • fix: Ensure _meta object is not lost when onprogress option is passed by @daidi in #560

New Contributors

Full Changelog: 1.12.0...1.12.1

1.12.0

22 May 15:48
0c4b308
Compare
Choose a tag to compare

Authorization spec: DRAFT-2025-v2 🔐 🚀

  • feat: Add support for separate Authorization Server / Resource server in server flow (spec: DRAFT-2025-v2) by @pcarleton in #503
  • Feat: Separate authorization server and resource server on client auth flow by @0Itsuki0 in #416
  • Example Auth client by @ihrpr in #526

Other changes

  • Add support for message field in progress notifications by @bhosmer-ant in #502
  • Fix Ajv import compatibility issue by downgrading to v6 by @bhosmer-ant in #517
  • fix: ProxyOAuthServerProvider: redirect_uri missing in token request by @shubham-lohar in #519
  • Save existing refresh_token in store if no new refresh_token is returned by @fredericbarthelet in #483
    #527
  • Add state param to OAuth provider by @jescalan in #529
  • Fix StreamableHttp example for tool calls - have a separate option for testing notifications resumption by @ihrpr in #534

New Contributors

Full Changelog: 1.11.4...1.12.0