docs: rebuild the v2 documentation around a task-based page tree (#2397)
This commit is contained in:
parent
708d5455d9
commit
b153505428
3 changed files with 11884 additions and 4971 deletions
|
|
@ -21,6 +21,6 @@ TypeScript ≥6.0 no longer auto-includes `@types/*` — add `"types": ["node"]`
|
|||
## Documentation
|
||||
|
||||
- **[Repository README](https://github.com/modelcontextprotocol/typescript-sdk#readme)** — overview, package layout, examples
|
||||
- **[Client guide](https://github.com/modelcontextprotocol/typescript-sdk/blob/main/docs/client.md)**
|
||||
- **[Client guide](https://ts.sdk.modelcontextprotocol.io/v2/clients/connect)** — connecting, calling tools, OAuth, and middleware
|
||||
- **[API reference](https://ts.sdk.modelcontextprotocol.io/v2/)**
|
||||
- **[MCP specification](https://modelcontextprotocol.io)**
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ Optional framework adapters: [`@modelcontextprotocol/express`](https://www.npmjs
|
|||
## Documentation
|
||||
|
||||
- **[Repository README](https://github.com/modelcontextprotocol/typescript-sdk#readme)** — overview, package layout, examples
|
||||
- **[Server guide](https://github.com/modelcontextprotocol/typescript-sdk/blob/main/docs/server.md)**
|
||||
- **[Server guide](https://ts.sdk.modelcontextprotocol.io/v2/servers/tools)** — tools, resources, prompts, and the rest of the server surface
|
||||
- **[Serving guide](https://ts.sdk.modelcontextprotocol.io/v2/serving/http)** — stdio, HTTP, the framework adapters, sessions, and authorization
|
||||
- **[API reference](https://ts.sdk.modelcontextprotocol.io/v2/)**
|
||||
- **[MCP specification](https://modelcontextprotocol.io)**
|
||||
|
|
|
|||
|
|
@ -147,7 +147,7 @@ export function createRequestStateCodec<T = unknown>(options: RequestStateCodecO
|
|||
if (subtle === undefined) {
|
||||
throw new TypeError(
|
||||
'createRequestStateCodec requires the Web Crypto API (globalThis.crypto.subtle); ' +
|
||||
'see https://github.com/modelcontextprotocol/typescript-sdk/blob/main/docs/faq.md for the Node.js polyfill instructions'
|
||||
'see https://ts.sdk.modelcontextprotocol.io/v2/troubleshooting for the Node.js polyfill instructions'
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue