megachangelog
Feature

Vercel Connect now supports TanStack AI

Vercel Connect adds support for TanStack AI agents to call OAuth-protected MCP servers with automatic token management and no credential storage required. The new connectMCPTransport subpath export integrates Connect-backed auth that provides fresh tokens before every request and handles consent challenges before the model executes.

Agents built with TanStack AI can now call OAuth-protected MCP servers through Vercel Connect, with no credentials for you to store or rotate.

The new subpath exports , which takes a TanStack transport config and attaches a Connect-backed auth provider. The provider is called before every MCP request, so the token is always fresh.@vercel/connect/tanstack-aiconnectMCPTransport

If the user has not granted access, fails with a consent challenge before the model runs. Catch it with and redirect to Connect's consent URL. Otherwise, a consent error raised within a tool call would reach the model as an error string rather than the user as a redirect.createMCPClientgetConsentChallenge

Read the to get started, or see the full list of for Vercel Connect.TanStack AI integration docssupported frameworks and adapters

Read more

vercel-connecttanstack-aioauthmcpintegrationsauth

Source: original entry ↗