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: CLAUDE.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -131,7 +131,7 @@ basket. See `examples/README.md` for the full story matrix.
131
131
132
132
-`examples/shared/` — `@mcp-examples/shared` package. Root export is args-only (`parseExampleArgs`, `check`, `siblingPath`); the demo OAuth provider and `InMemoryEventStore` live at the `@mcp-examples/shared/auth` subpath so non-auth stories don't eagerly evaluate better-auth/express/better-sqlite3. Stories import only this plumbing and inline the SDK transport setup themselves — see `examples/CONTRIBUTING.md`.
-`examples/guides/` — per-page snippet companions for the`docs/` guide pages (one `<section>/<page>.examples.ts` per page); fences sync via `pnpm sync:snippets`, and the runnable ones are executed in CI by `pnpm docs:examples`
Copy file name to clipboardExpand all lines: README.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,17 +2,17 @@
2
2
3
3
<!-- prettier-ignore -->
4
4
> [!IMPORTANT]
5
-
> **This is the `main` branch which contains v2 of the SDK (currently in development, pre-alpha).**
5
+
> **This is the `main` branch — v2 of the SDK, now in beta** (`@modelcontextprotocol/server`, `@modelcontextprotocol/client`), implementing the [2026-07-28 MCP spec](https://blog.modelcontextprotocol.io/posts/2026-07-28-release-candidate/).
6
6
>
7
-
> We anticipate a stable v2 release in Q3 2026 along with the [updated MCP spec](https://blog.modelcontextprotocol.io/posts/2026-07-28-release-candidate/). 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.
7
+
> **Have feedback? Please [open a v2 issue](https://github.com/modelcontextprotocol/typescript-sdk/issues/new?template=v2-feedback.yml)** — it is the most useful thing you can do for the SDK right now. The [v2 documentation](https://ts.sdk.modelcontextprotocol.io/v2/) starts with a ten-minute server tutorial.
8
8
>
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/).
9
+
> We expect a stable release alongside the full release of the 2026-07-28 spec on July 28, 2026. Until then, **v1.x remains the supported release for production**; it keeps receiving bug fixes and security updates for at least 6 months after v2 ships. v1 documentation: [ts.sdk.modelcontextprotocol.io](https://ts.sdk.modelcontextprotocol.io/) · v2:[`/v2/`](https://ts.sdk.modelcontextprotocol.io/v2/).
10
10
11
11
<!-- prettier-ignore -->
12
12
> [!WARNING]
13
-
> **We're temporarily restricting PRs to contributors only to manage reviewer capacity while implementation work for the [new spec](https://blog.modelcontextprotocol.io/posts/2026-07-28-release-candidate/)is ongoing**
13
+
> **We're limiting pull requests to contributors while we land the [2026-07-28 spec](https://blog.modelcontextprotocol.io/posts/2026-07-28-release-candidate/)implementation.**
14
14
>
15
-
> Please continue to submit issues as your main source of feedback. We anticipate reopening once we have a stable release for the new spec, currently slated to launch on July 28, 2026.
15
+
> [Issues](https://github.com/modelcontextprotocol/typescript-sdk/issues/new?template=v2-feedback.yml) are the most useful feedback right now — we'll reopen PRs as v2 stabilizes.
16
16
17
17
[](https://www.npmjs.com/package/@modelcontextprotocol/server)
18
18
[](https://www.npmjs.com/package/@modelcontextprotocol/client)
@@ -129,22 +129,22 @@ async function main() {
129
129
main();
130
130
```
131
131
132
-
Ready to build something real? Follow the step-by-step quickstart tutorials:
132
+
Ready to build something real? Follow the step-by-step tutorials:
133
133
134
-
-[Build a weather server](docs/server-quickstart.md) — server quickstart
135
-
-[Build an LLM-powered chatbot](docs/client-quickstart.md) — client quickstart
134
+
-[Build your first server](docs/get-started/first-server.md) — a stdio weather-alert server, from `npm init` to a tool call
135
+
-[Build your first client](docs/get-started/first-client.md) — connect to that server, list its tools, and call them
136
136
137
-
The complete code for each tutorial is in [`examples/server-quickstart/`](https://github.com/modelcontextprotocol/typescript-sdk/tree/main/examples/server-quickstart/) and
138
-
[`examples/client-quickstart/`](https://github.com/modelcontextprotocol/typescript-sdk/tree/main/examples/client-quickstart/). For more advanced runnable examples, see:
137
+
For runnable, end-to-end examples beyond the tutorials, see:
139
138
140
139
-[`examples/README.md`](examples/README.md) — runnable, self-verifying client/server example pairs (one story per directory)
141
140
142
141
## Documentation
143
142
144
-
-[Server Guide](docs/server.md) — building MCP servers: transports, tools, resources, prompts, server-initiated requests, and deployment
145
-
-[Client Guide](docs/client.md) — building MCP clients: connecting, tools, resources, prompts, server-initiated requests, and error handling
146
-
-[FAQ](docs/faq.md) — frequently asked questions and troubleshooting
-[Build a server](docs/get-started/first-server.md) — your first MCP server, step by step
144
+
-[Build a client](docs/get-started/first-client.md) — your first MCP client, step by step
145
+
-[Documentation site](https://ts.sdk.modelcontextprotocol.io/v2/) — the full guides: tools, resources, prompts, serving over HTTP and stdio, clients, OAuth, and migration
146
+
-[Troubleshooting](docs/troubleshooting.md) — common errors and their fixes
0 commit comments