Skip to content

Commit 889434a

Browse files
chore(changeset): add core to frontmatter; fix warning prefix to [mcp-sdk]
1 parent 6dc7acb commit 889434a

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.changeset/zod-jsonschema-fallback.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
'@modelcontextprotocol/core': patch
23
'@modelcontextprotocol/server': patch
34
'@modelcontextprotocol/client': patch
45
---

packages/core/src/util/standardSchema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ export function standardSchemaToJsonSchema(schema: StandardJSONSchemaV1, io: 'in
171171
if (!warnedZodFallback) {
172172
warnedZodFallback = true;
173173
console.warn(
174-
'[@modelcontextprotocol/sdk] Your zod version does not implement `~standard.jsonSchema` (added in zod 4.2.0). ' +
174+
'[mcp-sdk] Your zod version does not implement `~standard.jsonSchema` (added in zod 4.2.0). ' +
175175
'Falling back to z.toJSONSchema(). Upgrade to zod >=4.2.0 to silence this warning.'
176176
);
177177
}

0 commit comments

Comments
 (0)