Skip to content

@ai-sdk/mcp@2.0.104

Choose a tag to compare

@github-actions github-actions released this 23 Nov 16:38
· 2 commits to main since this release
350725b

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.