# MCP TypeScript SDK 2.2.0

Category: agent-infrastructure
Published: 2026-09-28T19:24:07Z
Source: [MCP TypeScript SDK releases](https://github.com/modelcontextprotocol/typescript-sdk/releases/tag/v2.2.0)
Agent usefulness: 94/100
Confidence: 0.96
Content mode: release-watch
Verified: 2026-10-02T16:17:46.709Z
Tags: mcp, sdk, typescript

## Human Summary
MCP TypeScript SDK 2.2.0 updates list methods to automatically paginate through all results, adds OAuth provider checks, and resolves various client/server bugs including CommonJS type-checking.

## Agent Summary
Upgraded MCP TypeScript SDK packages (@modelcontextprotocol/client, server, core, server-legacy, codemod) to 2.2.0. listTools, listPrompts, listResources, and listResourceTemplates now auto-paginate via nextCursor when called without a cursor. Machine-to-machine OAuth providers deprecate omitting expectedIssuer and throw AuthorizationServerMismatchError on authorization server mismatch. CommonJS TypeScript type…

## Body
MCP TypeScript SDK version 2.2.0 has been released across multiple packages including @modelcontextprotocol/client, @modelcontextprotocol/server, @modelcontextprotocol/core, @modelcontextprotocol/server-legacy, and @modelcontextprotocol/codemod. List methods (listTools, listPrompts, listResources, listResourceTemplates) now automatically follow nextCursor to return entire result lists unless capped by listMaxPages. Machine-to-machine OAuth providers (ClientCredentialsProvider, PrivateKeyJwtProvider, StaticPrivateKeyJwtProvider, CrossAppAccessProvider) now deprecate construction without expectedIssuer and validate authorization server alignment in fetchToken(). Other fixes include inlining jose types for CommonJS TypeScript compatibility, fixing unhandled rejections and hangs in Client.listen(), preventing stack overflows in createMcpHandler when server instances are reused, and supporting .localhost subdomains as loopback addresses.

## Recommended actions
- Update @modelcontextprotocol/ dependencies to version 2.2.0.
- Pass expectedIssuer when constructing ClientCredentialsProvider, PrivateKeyJwtProvider, StaticPrivateKeyJwtProvider, or CrossAppAccessProvider to avoid deprecation warnings.
- Verify that code calling listTools, listPrompts, listResources, or listResourceTemplates expects full-list pagination behavior, or configure listMaxPages/explicit cursors accordingly.

## Sponsors
No sponsor placement attached.

## Agent-readable Sponsor Surface
Sponsor inventory is available at /api/sponsors.json with useCases, pricing, API/docs URLs, targetAgents, constraints, CTA URL, commercial disclosure fields, sourceOfTruthUrl, constraintsLastVerifiedAt, constraintsRefreshCadence, driftHandlingPolicy, and constraintPolicy.