Packages

@modelcontextprotocol/sdk

1.32.1 · 5 Oct 2026MIT39.4M / weekRepositoryHomepagenpmAtom feed

Latest releases

All 82 releases
  1. 1.32.1

    5 Oct 2026

    Only updates a dependency:version 1.32.1

  2. 1.32.0

    2 Oct 2026
    • Redirects: the HTTP client transports now follow a redirect only when it stays on the same origin (same scheme, host and port; http to https on the same host is allowed). A deployment whose endpoint redirects to another host or port either configures the final URL or sets redirectPolicy: 'follow' on StreamableHTTPClientTransport or SSEClientTransport. In browsers, a redirected request fails unless that option is set.

    • New options, both off unless you set them: maxToolInputElements on McpServer limits the number of array elements and object members in a tool call's arguments. expectedResource on requireBearerAuth accepts only tokens issued for this server (the token's audience).

    • [v1.x] fix(client): follow redirects only within the endpoint's origin

  3. 1.31.0

    28 Sep 2026
    • deprecated

      Pass expectedIssuer when constructing ClientCredentialsProvider, PrivateKeyJwtProvider or StaticPrivateKeyJwtProvider. Constructing them without it is deprecated.

    • Stored OAuth tokens and client information now include an issuer field. Storage that rejects unknown fields needs to allow it.

    • [v1.x] Bind stored OAuth credentials to the authorization server that issued them

  4. 1.30.1

    23 Sep 2026
    • [v1.x] fix(server): read HTTP request bodies with a size limit and bound JSON-RPC batch length

    • auth: preserve resource URI without trailing slash

  5. 1.30.0

    27 Jul 2026
    • server: prioritize zod issues and format them

    • Add end-to-end test suite

    • v1 stdio buffer limit

Dependency tracking · free for 3 projects

Know when your own dependencies move

@modelcontextprotocol/sdk had 8 security advisories in the last 12 months. Inlinr emails you the day one touches a project of yours, with the version that fixes it.

  • Advisories reach you

    An email when a critical or high advisory affects a project, before the next install.

  • Upgrades checked first

    Peer ranges, Node, ESM-only and types changes read before you bump.

  • Only what matters

    Majors and breaking notes stay; patches and sibling bumps fold into one line.

How dependency tracking works

Registry facts last checked 22 Oct 2026. Releases and advisories last read 22 Oct 2026.