You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MCP negotiation now includes 2025-11-25, retaining 2025-06-18, 2024-11-05, initialization, ping, and once-per-session roots discovery with its five-second fallback.
Optional mcpServer.validateOutputs checks typed MCP results without coercion, defaults, or key stripping. Opted-in typed results and JSON text match the advertised object-rooted schema; default string envelopes and scalar/array wrappers remain compatible. CLI and REST output validation is unchanged.
MCP handlers receive cooperative cancellation and opted-in progress through ctx.mcp. Cancelled queued work is skipped, active abortable children can stop, and tools remain serialized.
Explicit standard tool annotations are emitted without inferred safety claims. Parse/envelope/metadata failures now return recoverable protocol errors.
Non-serializable MCP results return tool errors without ending the session. Updated docs and npm examples for a compatible minor; the modern-only rewrite, native media, and Streamable HTTP remain deferred.