diff --git a/.changeset/fix-core-zod-dup-deps.md b/.changeset/fix-core-zod-dup-deps.md new file mode 100644 index 000000000..930c0c37c --- /dev/null +++ b/.changeset/fix-core-zod-dup-deps.md @@ -0,0 +1,5 @@ +--- +'@modelcontextprotocol/core': patch +--- + +Remove `zod` from `dependencies` in `@modelcontextprotocol/core` and keep it only as a peer dependency to avoid duplicate installs that can cause TypeScript type incompatibilities. diff --git a/packages/core/package.json b/packages/core/package.json index 201773736..6ddac49c6 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -51,8 +51,7 @@ "dependencies": { "ajv": "catalog:runtimeShared", "ajv-formats": "catalog:runtimeShared", - "json-schema-typed": "catalog:runtimeShared", - "zod": "catalog:runtimeShared" + "json-schema-typed": "catalog:runtimeShared" }, "peerDependencies": { "@cfworker/json-schema": "catalog:runtimeShared",