-
Notifications
You must be signed in to change notification settings - Fork 93
Open
Description
MCP Framework is incompatible with zod v4. It leads to number types parsed as string types. For example:
schema = {
limit: {
description: "Maximum number of results to return (default: no limit)",
type: z.number().optional(),
},
};
This schema gets interpreted like so:
{
type: 'object',
properties: {
limit: {
type: 'string',
description: 'Maximum number of results to return (default: no limit)'
}
},
required: [ 'limit' ]
}
Metadata
Metadata
Assignees
Labels
No labels