You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-13Lines changed: 17 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,15 @@
1
1
# MCP TypeScript SDK
2
2
3
-
> [!IMPORTANT]**This is the `main` branch which contains v2 of the SDK (currently in development, pre-alpha).**
3
+
<!-- prettier-ignore -->
4
+
> [!IMPORTANT]
5
+
> **This is the `main` branch which contains v2 of the SDK (currently in development, pre-alpha).**
4
6
>
5
7
> We anticipate a stable v2 release in Q1 2026. 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.
6
8
>
7
9
> For v1 documentation, see the [V1 API docs](https://ts.sdk.modelcontextprotocol.io/). For v2 API docs, see [`/v2/`](https://ts.sdk.modelcontextprotocol.io/v2/).
[](https://www.npmjs.com/package/@modelcontextprotocol/server)
12
+
[](https://www.npmjs.com/package/@modelcontextprotocol/client)
10
13
11
14
<details>
12
15
<summary>Table of Contents</summary>
@@ -102,19 +105,19 @@ import * as z from 'zod/v4';
102
105
const server =newMcpServer({ name: 'greeting-server', version: '1.0.0' });
@@ -125,7 +128,8 @@ Ready to build something real? Follow the step-by-step quickstart tutorials:
125
128
-[Build a weather server](docs/server-quickstart.md) — server quickstart
126
129
-[Build an LLM-powered chatbot](docs/client-quickstart.md) — client quickstart
127
130
128
-
The complete code for each tutorial is in [`examples/server-quickstart/`](https://github.com/modelcontextprotocol/typescript-sdk/tree/main/examples/server-quickstart/) and [`examples/client-quickstart/`](https://github.com/modelcontextprotocol/typescript-sdk/tree/main/examples/client-quickstart/). For more advanced runnable examples, see:
131
+
The complete code for each tutorial is in [`examples/server-quickstart/`](https://github.com/modelcontextprotocol/typescript-sdk/tree/main/examples/server-quickstart/) and
132
+
[`examples/client-quickstart/`](https://github.com/modelcontextprotocol/typescript-sdk/tree/main/examples/client-quickstart/). For more advanced runnable examples, see:
129
133
130
134
-[`examples/server/README.md`](examples/server/README.md) — server examples index
131
135
-[`examples/client/README.md`](examples/client/README.md) — client examples index
Copy file name to clipboardExpand all lines: packages/client/README.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,13 @@
2
2
3
3
The MCP (Model Context Protocol) TypeScript client SDK. Build MCP clients that connect to MCP servers.
4
4
5
-
> [!WARNING]**This is an alpha release.** Expect breaking changes until v2 stabilizes. We're publishing early to gather feedback — please try it and open issues — but we can't guarantee API stability yet. We'll aim to minimize disruption between alphas.
5
+
<!-- prettier-ignore -->
6
+
> [!WARNING]
7
+
> **This is an alpha release.** Expect breaking changes until v2 stabilizes. We're publishing early to gather feedback — please try it and open issues — but we can't guarantee API stability yet. We'll aim to minimize disruption between alphas.
6
8
7
-
> [!NOTE] This is **v2** of the MCP TypeScript SDK. It replaces the monolithic `@modelcontextprotocol/sdk` package from v1. See the **[migration guide](https://github.com/modelcontextprotocol/typescript-sdk/blob/main/docs/migration.md)** if you're coming from v1.
9
+
<!-- prettier-ignore -->
10
+
> [!NOTE]
11
+
> This is **v2** of the MCP TypeScript SDK. It replaces the monolithic `@modelcontextprotocol/sdk` package from v1. See the **[migration guide](https://github.com/modelcontextprotocol/typescript-sdk/blob/main/docs/migration.md)** if you're coming from v1.
Copy file name to clipboardExpand all lines: packages/server/README.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,13 @@
2
2
3
3
The MCP (Model Context Protocol) TypeScript server SDK. Build MCP servers that expose tools, resources, and prompts.
4
4
5
-
> [!WARNING]**This is an alpha release.** Expect breaking changes until v2 stabilizes. We're publishing early to gather feedback — please try it and open issues — but we can't guarantee API stability yet. We'll aim to minimize disruption between alphas.
5
+
<!-- prettier-ignore -->
6
+
> [!WARNING]
7
+
> **This is an alpha release.** Expect breaking changes until v2 stabilizes. We're publishing early to gather feedback — please try it and open issues — but we can't guarantee API stability yet. We'll aim to minimize disruption between alphas.
6
8
7
-
> [!NOTE] This is **v2** of the MCP TypeScript SDK. It replaces the monolithic `@modelcontextprotocol/sdk` package from v1. See the **[migration guide](https://github.com/modelcontextprotocol/typescript-sdk/blob/main/docs/migration.md)** if you're coming from v1.
9
+
<!-- prettier-ignore -->
10
+
> [!NOTE]
11
+
> This is **v2** of the MCP TypeScript SDK. It replaces the monolithic `@modelcontextprotocol/sdk` package from v1. See the **[migration guide](https://github.com/modelcontextprotocol/typescript-sdk/blob/main/docs/migration.md)** if you're coming from v1.
0 commit comments