docs: comprehensive GA pass — stable-release wording, released-spec links, install tags (#2566)
This commit is contained in:
parent
f6fbd48e0c
commit
a9835b4149
2 changed files with 51 additions and 52 deletions
|
|
@ -4,7 +4,7 @@ The MCP (Model Context Protocol) TypeScript server SDK. Build MCP servers that e
|
|||
|
||||
<!-- prettier-ignore -->
|
||||
> [!WARNING]
|
||||
> **This is a beta release.** The API surface is settling but breaking changes remain possible until v2 stabilizes. Please try it and open issues — feedback during the beta directly shapes the stable release.
|
||||
> **v2 is the stable release line**, implementing the [2026-07-28 MCP spec](https://modelcontextprotocol.io/specification/2026-07-28). Migrating from v1? Start with the [migration guide](https://ts.sdk.modelcontextprotocol.io/v2/migration/).
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
> [!NOTE]
|
||||
|
|
@ -13,12 +13,12 @@ The MCP (Model Context Protocol) TypeScript server SDK. Build MCP servers that e
|
|||
## Install
|
||||
|
||||
```bash
|
||||
npm install @modelcontextprotocol/server@beta
|
||||
npm install @modelcontextprotocol/server
|
||||
```
|
||||
|
||||
TypeScript ≥6.0 no longer auto-includes `@types/*` — add `"types": ["node"]` to your `tsconfig.json` `compilerOptions` (the published `.d.mts` references `Buffer`).
|
||||
|
||||
Optional framework adapters: [`@modelcontextprotocol/express`](https://www.npmjs.com/package/@modelcontextprotocol/express), [`@modelcontextprotocol/hono`](https://www.npmjs.com/package/@modelcontextprotocol/hono),
|
||||
Optional framework adapters: [`@modelcontextprotocol/express`](https://www.npmjs.com/package/@modelcontextprotocol/express), [`@modelcontextprotocol/fastify`](https://www.npmjs.com/package/@modelcontextprotocol/fastify), [`@modelcontextprotocol/hono`](https://www.npmjs.com/package/@modelcontextprotocol/hono),
|
||||
[`@modelcontextprotocol/node`](https://www.npmjs.com/package/@modelcontextprotocol/node).
|
||||
|
||||
## Documentation
|
||||
|
|
|
|||
|
|
@ -1238,7 +1238,7 @@ export class Server extends Protocol<ServerContext> {
|
|||
* notification for the specified elicitation ID.
|
||||
*
|
||||
* The notification (and the `elicitationId` it references) exists only on protocol revision
|
||||
* 2025-11-25 — the 2026-07-28 draft removed both. On a connection negotiated at 2026-07-28 the
|
||||
* 2025-11-25 — the 2026-07-28 revision removed both. On a connection negotiated at 2026-07-28 the
|
||||
* returned callback rejects with a typed local error before anything reaches the transport
|
||||
* (the method is not part of that revision's wire registry).
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue