AI SDK and MCP subpath entrypoints ship; Eve adapter streamlines auth state
@vercel/connect@0.2.0
Minor Changes
-
1701fc0: Add
@vercel/connect/ai-sdkand@vercel/connect/mcpsubpath entrypoints for native Vercel AI SDK and Model Context Protocol integration.connectAuthProvider(connector, params)returns an MCP-specOAuthClientProviderthat delegates token issuance to Vercel Connect and surfaces consent challenges as a typedConsentRequiredError(or via anonConsentRequiredcallback). Works with@ai-sdk/mcp@^1,@ai-sdk/mcp@^2, and the official MCP TypeScript SDK.Both
aiand@ai-sdk/mcpare optional peer dependencies — importing the adapter subpaths requires them, but the rest of@vercel/connectis unaffected. -
0fd543a: Narrow the
@vercel/connect/eveinteractive-authorization contract to match Eve's narrowedInteractiveAuthorizationDefinition.startAuthorizationnow returns only{ challenge }(the journaledstateis gone), so a Connect-backed session no longer carries OAuth secrets across a workflow step boundary. Runtime behavior is unchanged — Connect still re-pollsgetTokenResponse(connector, principal)incompleteAuthorization.Breaking public-type change: the
ConnectAuthorizationStatetype is removed andconnect()no longer parameterizesInteractiveAuthorizationDefinition. -
c7da77b: Rename the Vercel Connect Ash adapter to Eve.
Patch Changes
- Updated dependencies [01cf6c2]
- @vercel/oidc@3.6.1
Fetched June 8, 2026


