Packages

@modelcontextprotocol/sdk

1.32.2 · 23 Oct 2026MIT93.3M / weekRepositoryHomepagenpmAtom feed

Your version

1.15.1

10 Jul 2025Where it was published

1.32.2 is the newest release of 1.x.

In short

6 new3 fixed2 changed

Security

Release note

What's Changed

  • client: Some mcp server need default env(#393, #196)

  • Add CORS configuration for browser-based MCP clients

  • Add onsessionclosed hook to StreamableHTTPServerTransport

  • Add custom headers on initial _startOrAuth call

  • Improve stdio test Windows compatibility and refactor command logic

  • Add missing app.listen error handling to server examples

  • server: Validate expiresAt token value for non existence

  • auth: Support oauth client_secret_basic / none / custom methods

  • Support async callbacks for onsessioninitialized and onsessionclosed

  • Fix oauth well-known paths to retain path and query

  • auth: Fetch AS metadata in well-known subpath from serverUrl even when PRM returns external AS

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.