The official TypeScript SDK for Model Context Protocol servers and clients
This is the branch which contains v2 of the SDK (currently in development, pre-alpha). We anticipate a stable v2 release in Q3 2026 along with the updated MCP spec. Until then, v1.x remains the recommended version for production use. v1.x will continue to receive bug fixes and security updates for at least 6 months after v2 ships to give people time to upgrade. For v1 documentation, see the V1…
Verification confirms publisher identity (repo ownership), not code safety. The security scan covers known CVEs and suspicious install scripts — it cannot prove the absence of malicious code.
This is the branch which contains v2 of the SDK (currently in development, pre-alpha). We anticipate a stable v2 release in Q3 2026 along with the updated MCP spec. Until then, v1.x remains the recommended version for production use. v1.x will continue to receive bug fixes and security updates for at least 6 months after v2 ships to give people time to upgrade. For v1 documentation, see the V1 API docs. For v2 API docs, see . We're temporarily restricting PRs to contributors only to manage…