The Model Context Protocol (MCP) has released a significant update to its Node.js TypeScript SDK, moving to version 2. This new version aligns with the 2026-07-28 MCP specification, introducing major changes such as the removal of protocol-level sessions and the introduction of a single stream for updates. The SDK has been modularized into separate packages for server, client, and adapters, requiring Node.js 20+ and Zod 4. Developers can utilize a codemod to assist with the migration from v1 to v2, which involves replacing `server.tool()` with `registerTool()` and using `createMcpHandler()` or `serveStdio()` to ensure compatibility with both older and newer clients. AI
IMPACT This SDK update streamlines development for MCP servers, potentially improving integration efficiency for AI models like Claude.
RANK_REASON The item describes an update to an SDK for a specific protocol, including changes to its structure and usage, and provides migration guidance.
- Claude
- MCP
- @modelcontextprotocol/client
- @modelcontextprotocol/codemod
- @modelcontextprotocol/node
- @modelcontextprotocol/sdk
- @modelcontextprotocol/server
- Node.js
- TypeScript SDK
- Zod
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →