Back to timeline

Thu, October 1507:45Open SourceMCP & SkillsMCP & Skills guide

MCP TypeScript SDK v2 released, split into separate server and client packages

Decision Brief

What changedThe official Model Context Protocol TypeScript SDK ships v2, implementing the 2026-07-28 MCP spec and splitting packages into @modelcontextprotocol/server and @modelcontextprotocol/client.
Why it mattersThe single @modelcontextprotocol/sdk package is split into server and client packages, so teams building MCP servers or clients must change import paths and dependency declarations—not just the version number.
Who should careOpen-source model users, Agent builders
Affected stackMCP
Builder actionUpdate MCP to the latest version
Source confidenceHigh · Official release / blog / repo

v2 is the current stable line, implementing the 2026-07-28 MCP spec and running on Node.js, Bun, and Deno. Releases are split into @modelcontextprotocol/server (for building MCP servers) and @modelcontextprotocol/client (for building MCP clients). Tool and prompt schema definitions now use Standard Schema, supporting compatible libraries like Zod v4, Valibot, and ArkType. Four thin adapter packages—@modelcontextprotocol/node, express, fastify, and hono—handle only transport and framework wiring, adding no new MCP features or business logic, and ship with runnable example directories. For developers building MCP servers and clients with this SDK, upgrading isn't just a version bump: dependency names, import paths, and tool schema syntax all change, and the maintainers provide a dedicated migration guide. v1.x (@modelcontextprotocol/sdk) stays on the v1.x branch and will receive bug fixes and security updates for at least six months after v2's release, giving teams still on v1 a buffer—but they should schedule migration ahead for the split-package dependency management.

Summary basis: full article readCompiled from the source scope noted above; the original remains authoritative.

Sources

Related intel

留言

登入后即可留言,和其他 builder 交换实测心得。

还没有留言,抢头香。