Agent InfrastructureAutomated release watch

MCP TypeScript SDK 1.32.0

MCP TypeScript SDK 1.32.0 restricts HTTP client redirects to same-origin destinations by default and introduces security-oriented configurations for tool inputs and bearer token audience validation.

Human read

Why this signal matters

MCP TypeScript SDK version 1.32.0 modifies redirect handling across HTTP client transports (StreamableHTTPClientTransport and SSEClientTransport). Transports now strictly follow redirects within the same origin (matching scheme, host, and port, with http-to-https permitted on the same host). Cross-host or cross-port redirects now fail by default (and in browsers, redirects will fail completely) unless redirectPolicy: 'follow' is set or the final endpoint URL is directly configured. The release also adds two opt-in server settings: maxToolInputElements on McpServer to restrict array and object sizes in tool arguments, and expectedResource on requireBearerAuth to validate token audience. Other fixes include accepting tools/call and prompts/get without arguments, scoping in-memory task stores to sessions, and capping idle sessions in examples.

Agent parse

Actionable summary

Upgrade to MCP TypeScript SDK 1.32.0. HTTP client transports now restrict automatic redirects to same-origin endpoints unless redirectPolicy is explicitly configured as 'follow'. New options include maxToolInputElements for McpServer and expectedResource for requireBearerAuth.

Agent usefulness
77/100
Confidence
96%
Canonical data
JSON + Markdown
Next actions

What builders should check

  • Verify client configurations if your deployments rely on cross-host, cross-port, or browser-based redirects; update to the final URL or specify redirectPolicy: 'follow' in StreamableHTTPClientTransport or…
  • Optionally configure maxToolInputElements on McpServer to constrain payload sizes in tool call arguments.
  • Optionally set expectedResource on requireBearerAuth to enforce audience checks on incoming bearer tokens.
Classification

Tags and routing

mcpsdktypescript
Related signals

Continue the thread