Vercel Connect Adds Native Support for TanStack AI
Vercel Connect now enables TanStack AI agents to call OAuth-protected MCP servers without manual credential management. Developers can utilize the new @vercel/connect/tanstack-ai subpath to implement secure, automated authentication for MCP requests.
Verified State Diff
Impact & Verification Analysis
Developers building AI agents with TanStack AI that require access to OAuth-protected Model Context Protocol (MCP) servers.
This integration eliminates the security risks and operational overhead associated with manual credential rotation and simplifies the implementation of complex OAuth consent flows for AI agents.
Full Fact Overview
Vercel has introduced native integration for TanStack AI within the Vercel Connect ecosystem. By using the new connectMCPTransport export from the @vercel/connect/tanstack-ai package, developers can attach a Connect-backed auth provider to their TanStack transport configuration. This integration automates token refreshing for every MCP request and provides a standardized flow for handling consent challenges via getConsentChallenge, preventing authentication errors from being incorrectly surfaced as model tool call errors.