{"slug": "vercel-connect-now-supports-tanstack-ai", "title": "Vercel Connect now supports TanStack AI", "summary": "Vercel Connect now supports TanStack AI, letting agents built with TanStack AI call OAuth-protected MCP servers without developers storing or rotating credentials. The new @vercel/connect/tanstack-ai subpath exports connectMCPTransport, which attaches a Connect-backed auth provider that is called before every MCP request so the token stays fresh. If a user has not granted access, createMCPClient fails with a consent challenge before the model runs, which developers catch with getConsentChallenge and redirect to Connect's consent URL.", "body_md": "Agents built with TanStack AI can now call OAuth-protected MCP servers through Vercel Connect, with no credentials for you to store or rotate.\n\nThe 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.\n\nIf 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.\n\nRead 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.", "url": "https://wpnews.pro/news/vercel-connect-now-supports-tanstack-ai", "canonical_source": "https://vercel.com/changelog/vercel-connect-tanstack-ai", "published_at": "2026-09-23 23:59:32.281988+00:00", "updated_at": "2026-09-23 23:59:33.501206+00:00", "lang": "en", "topics": ["ai-agents", "agent-protocols", "ai-tools", "developer-tools"], "entities": ["Vercel Connect", "TanStack AI", "connectMCPTransport", "@vercel/connect/tanstack-ai", "createMCPClient", "getConsentChallenge", "MCP"], "alternates": {"html": "https://wpnews.pro/news/vercel-connect-now-supports-tanstack-ai", "markdown": "https://wpnews.pro/news/vercel-connect-now-supports-tanstack-ai.md", "text": "https://wpnews.pro/news/vercel-connect-now-supports-tanstack-ai.txt", "jsonld": "https://wpnews.pro/news/vercel-connect-now-supports-tanstack-ai.jsonld"}}