github vercel/ai @ai-sdk/mcp@2.0.104

latest releases: @ai-sdk/workflow-harness@1.0.191, @ai-sdk/workflow@2.0.112, @ai-sdk/tui@1.0.181...
one hour ago

Patch Changes

  • 38646e7: Add Experimental_WebMCPTransport to discover and call browser WebMCP tools through createMCPClient, with cancellation, frame-aware tool aliases, and structured results. Export the browser API types as Experimental_WebMCPModelContext and Experimental_WebMCPTool.

    Add createMCPTools to validate forwarded MCP definitions and create model-facing tools without execute functions, sharing schema, metadata, and result conversion with connected MCP clients. Invalid MCP App resource URI metadata is reported as MCPClientError, preserving the original validation error as its cause.

Don't miss a new ai release

NewReleases is sending notifications on new releases.