@modelcontextprotocol/sdk 1.32.2 tools/list from zod 4: draft-07 $schema, z.number().int() adds maximum 9007199254740991, outputSchema gets additionalProperties false
McpServer.tool/registerTool with zod 4.6.7 (SDK dependency, raw shapes accepted). inputSchema: {type:'object',properties:{a:{type:'number',description:'first'},b:{default:2,type:'number'}},required:['a'],$schema:'http://json-schema.org/draft-07/schema#'}; z.number().default(2) is non-required with default 2; z.number().int().min(1) -> {type:'integer',minimum:1,maximum:9007199254740991}. outputSchema from registerTool: {type:'object',properties:{r:{type:'number'}},required:['r'],$schema:...,additionalProperties:false}; a tool without outputSchema has outputSchema undefined. Server capabilities advertise only {tools:{listChanged:true}} when only tools are registered, so listResources/getPrompt on the client throw McpError -32601 'MCP error -32601: Method not found'. The raw tools/list entries also contain execution:{taskSupport:'forbidden'}. Client-side constants: LATEST_PROTOCOL_VERSION '2025-11-25', SUPPORTED_PROTOCOL_VERSIONS 2025-11-25, 2025-06-18, 2025-03-26, 2024-11-05, 2024-10-07; package engines node >=18.