Skip to content

fix: widen requestedSchema type to accept Zod toJSONSchema output - #1694

Closed
travisbreaks wants to merge 1 commit into
modelcontextprotocol:mainfrom
travisbreaks:fix/zod-json-schema-type-compat
Closed

travisbreaks wants to merge 1 commit into
modelcontextprotocol:mainfrom
travisbreaks:fix/zod-json-schema-type-compat

fix(core): widen requestedSchema type to accept Zod toJSONSchema() ou…

0c8fbdb
Select commit
Loading
Failed to load commit list.
pkg.pr.new / Continuous Releases succeeded Mar 17, 2026 in 0s

Successful

Published successfully.

Details

Open in StackBlitz

@modelcontextprotocol/client

npm i https://pkg.pr.new/modelcontextprotocol/typescript-sdk/@modelcontextprotocol/client@0c8fbdb

@modelcontextprotocol/server

npm i https://pkg.pr.new/modelcontextprotocol/typescript-sdk/@modelcontextprotocol/server@0c8fbdb

@modelcontextprotocol/express

npm i https://pkg.pr.new/modelcontextprotocol/typescript-sdk/@modelcontextprotocol/express@0c8fbdb

@modelcontextprotocol/hono

npm i https://pkg.pr.new/modelcontextprotocol/typescript-sdk/@modelcontextprotocol/hono@0c8fbdb

@modelcontextprotocol/node

npm i https://pkg.pr.new/modelcontextprotocol/typescript-sdk/@modelcontextprotocol/node@0c8fbdb