Vercel Connect now supports TanStack AI
Vercel Connect releases TanStack AI support for calling OAuth-protected MCP servers without storing credentials.
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