summaryrefslogtreecommitdiff
path: root/plugins/code-modernization/hooks/reader
diff options
context:
space:
mode:
authorFelix Weinberger <3823880+felixweinberger@users.noreply.github.com>2026-10-28 19:37:43 +0000
committerClaude <noreply@anthropic.com>2026-10-28 19:37:43 +0000
commit37d985a4578433d8aab35983c124184d3e087838 (patch)
treebd84baf6327a3af7626899de7d717f344170014a /plugins/code-modernization/hooks/reader
parentf8c5e7a1dcb71b10cb74586224b5401f3de5db28 (diff)
mcp-server-dev: move the TypeScript examples to MCP SDK v2mcp-server-dev-ts-sdk-v2
The three skills taught @modelcontextprotocol/sdk (v1). New servers should use v2 (@modelcontextprotocol/server), and several examples no longer worked: - The HTTP scaffolds connected one shared McpServer per request, so overlapping requests failed with HTTP 500. They now use createMcpHandler with a factory. - The Cloudflare page used McpAgent with a Durable Object binding, which the current template no longer ships. It now matches the template. - The MCPB server used top-level await, which the documented esbuild command rejects. serveStdio needs none. Also: z.object schemas, ctx instead of extra, input_required for elicitation, deprecation notes for sampling, roots and logging, and the v2 auth helpers.
Diffstat (limited to 'plugins/code-modernization/hooks/reader')
0 files changed, 0 insertions, 0 deletions