# Vercel Connect now supports TanStack AI

> Source: <https://vercel.com/changelog/vercel-connect-tanstack-ai>
> Published: 2026-09-23 23:59:32.281988+00:00

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 `@vercel/connect/tanstack-ai` subpath exports `connectMCPTransport`, 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.

If the user has not granted access, `createMCPClient` fails with a consent challenge before the model runs. Catch it with `getConsentChallenge` 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.

Read the [TanStack AI integration docs](https://vercel.com/docs/connect/frameworks/tanstack-ai) to get started, or see the full list of [supported frameworks and adapters](https://vercel.com/docs/connect/frameworks) for Vercel Connect.
