# typescript-sdk

> The official TypeScript SDK for Model Context Protocol servers and clients

- **URL**: https://www.freshcrate.ai/projects/typescript-sdk
- **Author**: modelcontextprotocol
- **Category**: RAG & Memory
- **Latest version**: `@modelcontextprotocol/fastify@2.0.0-alpha.2` (2026-04-01)
- **License**: NOASSERTION
- **Source**: https://github.com/modelcontextprotocol/typescript-sdk
- **Homepage**: https://modelcontextprotocol.io
- **Language**: TypeScript
- **GitHub**: 12,238 stars, 1,786 forks
- **Registry**: github
- **Tags**: `typescript`

## Description

The official TypeScript SDK for Model Context Protocol servers and clients

## Recent releases

| Version | Date | Urgency | Changes |
| --- | --- | --- | --- |
| `@modelcontextprotocol/fastify@2.0.0-alpha.2` | 2026-04-01 | Medium | ### Patch Changes  -   [#1840](https://github.com/modelcontextprotocol/typescript-sdk/pull/1840) [`424cbae`](https://github.com/modelcontextprotocol/typescript-sdk/commit/424cbaeee13b7fe18d38048295135395b9ad81bb) Thanks [@KKonstantinov](https://github.com/KKonstantinov)! - tsdown exports resolution     fix  -   Updated dependencies \[[`424cbae`](https://github.com/modelcontextprotocol/typescript-sdk/commit/424cbaeee13b7fe18d38048295135395b9ad81bb)]:     -   @modelcontextprotocol/server@2.0.0-alp |
| `@modelcontextprotocol/server@2.0.0-alpha.2` | 2026-04-01 | Medium | ### Patch Changes  -   [#1840](https://github.com/modelcontextprotocol/typescript-sdk/pull/1840) [`424cbae`](https://github.com/modelcontextprotocol/typescript-sdk/commit/424cbaeee13b7fe18d38048295135395b9ad81bb) Thanks [@KKonstantinov](https://github.com/KKonstantinov)! - tsdown exports resolution     fix |
| `@modelcontextprotocol/hono@2.0.0-alpha.2` | 2026-04-01 | Medium | ### Patch Changes  -   [#1840](https://github.com/modelcontextprotocol/typescript-sdk/pull/1840) [`424cbae`](https://github.com/modelcontextprotocol/typescript-sdk/commit/424cbaeee13b7fe18d38048295135395b9ad81bb) Thanks [@KKonstantinov](https://github.com/KKonstantinov)! - tsdown exports resolution     fix  -   Updated dependencies \[[`424cbae`](https://github.com/modelcontextprotocol/typescript-sdk/commit/424cbaeee13b7fe18d38048295135395b9ad81bb)]:     -   @modelcontextprotocol/server@2.0.0-alp |
| `@modelcontextprotocol/express@2.0.0-alpha.2` | 2026-04-01 | Medium | ### Patch Changes  -   [#1840](https://github.com/modelcontextprotocol/typescript-sdk/pull/1840) [`424cbae`](https://github.com/modelcontextprotocol/typescript-sdk/commit/424cbaeee13b7fe18d38048295135395b9ad81bb) Thanks [@KKonstantinov](https://github.com/KKonstantinov)! - tsdown exports resolution     fix  -   Updated dependencies \[[`424cbae`](https://github.com/modelcontextprotocol/typescript-sdk/commit/424cbaeee13b7fe18d38048295135395b9ad81bb)]:     -   @modelcontextprotocol/server@2.0.0-alp |
| `@modelcontextprotocol/node@2.0.0-alpha.2` | 2026-04-01 | Medium | ### Patch Changes  -   [#1840](https://github.com/modelcontextprotocol/typescript-sdk/pull/1840) [`424cbae`](https://github.com/modelcontextprotocol/typescript-sdk/commit/424cbaeee13b7fe18d38048295135395b9ad81bb) Thanks [@KKonstantinov](https://github.com/KKonstantinov)! - tsdown exports resolution     fix  -   Updated dependencies \[[`424cbae`](https://github.com/modelcontextprotocol/typescript-sdk/commit/424cbaeee13b7fe18d38048295135395b9ad81bb)]:     -   @modelcontextprotocol/server@2.0.0-alp |
| `@modelcontextprotocol/client@2.0.0-alpha.2` | 2026-04-01 | Medium | ### Patch Changes  -   [#1840](https://github.com/modelcontextprotocol/typescript-sdk/pull/1840) [`424cbae`](https://github.com/modelcontextprotocol/typescript-sdk/commit/424cbaeee13b7fe18d38048295135395b9ad81bb) Thanks [@KKonstantinov](https://github.com/KKonstantinov)! - tsdown exports resolution     fix |
| `@modelcontextprotocol/hono@2.0.0-alpha.1` | 2026-04-01 | Medium | ### Patch Changes  -   [#1534](https://github.com/modelcontextprotocol/typescript-sdk/pull/1534) [`69a0626`](https://github.com/modelcontextprotocol/typescript-sdk/commit/69a062693f61e024d7a366db0c3e3ba74ff59d8e) Thanks [@josefaidt](https://github.com/josefaidt)! - remove npm references, use pnpm  -   [#1534](https://github.com/modelcontextprotocol/typescript-sdk/pull/1534) [`69a0626`](https://github.com/modelcontextprotocol/typescript-sdk/commit/69a062693f61e024d7a366db0c3e3ba74ff59d8e) Thanks |
| `@modelcontextprotocol/server@2.0.0-alpha.1` | 2026-04-01 | Medium | ### Major Changes  -   [#1389](https://github.com/modelcontextprotocol/typescript-sdk/pull/1389) [`108f2f3`](https://github.com/modelcontextprotocol/typescript-sdk/commit/108f2f3ab6a1267587c7c4f900b6eca3cc2dae51) Thanks [@DePasqualeOrg](https://github.com/DePasqualeOrg)! - Fix error handling for     unknown tools and resources per MCP spec.        **Tools:** Unknown or disabled tool calls now return JSON-RPC protocol errors with code `-32602` (InvalidParams) instead of `CallToolResult` with `isE |
| `@modelcontextprotocol/fastify@2.0.0-alpha.1` | 2026-04-01 | Medium | ### Minor Changes  -   [#1536](https://github.com/modelcontextprotocol/typescript-sdk/pull/1536) [`81e4b2a`](https://github.com/modelcontextprotocol/typescript-sdk/commit/81e4b2a412ab52ada436061502dd711a67555519) Thanks [@andyfleming](https://github.com/andyfleming)! - Add Fastify middleware adapter     for MCP servers, following the same pattern as the Express and Hono adapters.  ### Patch Changes  -   Updated dependencies \[[`e86b183`](https://github.com/modelcontextprotocol/typescript-sdk/com |
| `@modelcontextprotocol/client@2.0.0-alpha.1` | 2026-04-01 | Medium | ### Major Changes  -   [#1783](https://github.com/modelcontextprotocol/typescript-sdk/pull/1783) [`045c62a`](https://github.com/modelcontextprotocol/typescript-sdk/commit/045c62a1e0ada756afe90dd1442534e362269dbf) Thanks [@felixweinberger](https://github.com/felixweinberger)! - Remove     `WebSocketClientTransport`. WebSocket is not a spec-defined transport; use stdio or Streamable HTTP. The `Transport` interface remains exported for custom implementations. See #142.  ### Minor Changes  -   [#152 |

## Citation

- HTML: https://www.freshcrate.ai/projects/typescript-sdk
- Markdown: https://www.freshcrate.ai/projects/typescript-sdk.md
- Dependencies JSON: https://www.freshcrate.ai/api/projects/typescript-sdk/deps

_Generated by freshcrate.ai. Indexes github releases for AI-agent ecosystem packages._
