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
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@
25
25
26
26
The Model Context Protocol (MCP) allows applications to provide context for LLMs in a standardized way, separating the concerns of providing context from the actual LLM interaction.
27
27
28
-
This repository contains the TypeScript SDK implementation of the MCP specification and ships:
28
+
This repository contains the TypeScript SDK implementation of the MCP specification. It runs on **Node.js**, **Bun**, and **Deno**, and ships:
Copy file name to clipboardExpand all lines: docs/client-quickstart.md
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,10 +19,13 @@ This quickstart assumes you have familiarity with:
19
19
20
20
Before starting, ensure your system meets these requirements:
21
21
22
-
- Node.js 20 or higher installed
22
+
- Node.js 20 or higher installed (or **Bun** / **Deno** — the SDK supports all three runtimes)
23
23
- Latest version of `npm` installed
24
24
- An Anthropic API key from the [Anthropic Console](https://console.anthropic.com/settings/keys)
25
25
26
+
> [!TIP]
27
+
> This tutorial uses Node.js and npm, but you can substitute `bun` or `deno` commands where appropriate. For example, use `bun add` instead of `npm install`, or run the client with `bun run` / `deno run`.
28
+
26
29
## Set up your environment
27
30
28
31
First, let's create and set up our project:
@@ -109,7 +112,7 @@ First, let's set up our imports and create the basic client class in `src/index.
Copy file name to clipboardExpand all lines: docs/server-quickstart.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,9 @@ node --version
36
36
npm --version
37
37
```
38
38
39
+
> [!TIP]
40
+
> The MCP SDK also works with **Bun** and **Deno**. This tutorial uses Node.js, but you can substitute `bun` or `deno` commands where appropriate. For HTTP-based servers on Bun or Deno, use `WebStandardStreamableHTTPServerTransport` instead of the Node.js-specific transport — see the [server guide](./server.md) for details.
41
+
39
42
## Set up your environment
40
43
41
44
First, let's install Node.js and npm if you haven't already. You can download them from [nodejs.org](https://nodejs.org/).
0 commit comments