# Vercel Connect now supports TanStack AI

By Steven Van · 2026-09-24

Vercel Connect now handles OAuth and consent redirects for TanStack AI agents calling MCP servers like Linear's.

Agents built with TanStack AI can now call OAuth-protected MCP servers through [Vercel](<https://creatorstoolbox.com/tools/vercel>) Connect, without an app having to store or rotate credentials. A new @vercel/connect/tanstack-ai subpath exports **connectMCPTransport**, which wraps a TanStack transport config with a Connect-backed auth provider that fetches a fresh token before every MCP request.

If a user hasn't granted access to a service, such as Linear in Vercel's example, createMCPClient fails with a consent challenge before the model runs. Developers catch this with the new getConsentChallenge helper and redirect the user to Connect's consent URL, rather than letting the error reach the model as plain text. Full setup steps are in the [TanStack AI integration docs](<https://vercel.com/docs/connect/frameworks/tanstack-ai>), which also list the other frameworks and adapters Vercel Connect supports.

![Vercel](<https://www.google.com/s2/favicons?domain=vercel.com&sz=128>)

Vercel

The platform for frontend developers — deploy, preview, and scale web apps and AI agents with zero config.

[View Vercel →](<https://creatorstoolbox.com/tools/vercel>)

[Read the original announcement →](<https://vercel.com/docs/connect/frameworks/tanstack-ai>)

[Read Vercel Connect now supports TanStack AI on Creators Toolbox](<https://creatorstoolbox.com/blog/vercel-vercel-connect-now-supports-tanstack-ai>)

---
Canonical source: https://creatorstoolbox.com/blog/vercel-vercel-connect-now-supports-tanstack-ai
