Document the 2.x install matrix and add a migration guide

Install instructions now list the split base MCP SDK packages at ^2.0.0
by role (core comes in transitively, server only for server authors),
require Node 20+, and state that the wire protocol is unchanged so 2.x
Views and 1.x hosts interoperate. The agent skills lose the exact
prerelease wording and add-app-to-server gains a v1 to v2 import
mapping. docs/migrate-to-2.md lists the breaking changes, the peer
matrix and the host-side error deltas.
This commit is contained in:
Olivier Chafik 2026-09-07 15:31:22 +01:00
commit c5b2543115

View file

@ -19,6 +19,7 @@ const config = {
"docs/authorization.md",
"docs/csp-cors.md",
"docs/migrate_from_openai_apps.md",
"docs/migrate-to-2.md",
],
entryPoints: [
"src/server/index.ts",
@ -43,6 +44,7 @@ const config = {
ResponseCacheStore: BASE_SDK_DOCS,
SdkError: BASE_SDK_DOCS,
"SdkErrorCode.MethodNotSupportedByProtocolVersion": BASE_SDK_DOCS,
StandardJSONSchemaV1: BASE_SDK_DOCS,
"SdkErrorCode.UnsupportedResultType": BASE_SDK_DOCS,
"__type.enforceStrictCapabilities": BASE_SDK_DOCS,
},