Skip to content
Docs

Frameworks and Adapters

Vercel Connect is available on all plans and is subject to the Vercel Connect terms

Vercel Connect integrations adapt connector tokens, consent, and webhook verification to the frameworks you already use. Choose an integration based on the task your application needs to perform.

IntegrationPackageUse it to
AI SDK and MCP@vercel/connect/ai-sdk or @vercel/connect/mcpAuthenticate an MCP client, request user consent, and pass MCP tools to an AI SDK model
eve@vercel/connect/eveAuthorize eve connections, supply channel credentials, and verify Connect OAuth gateway tokens
Chat SDK@vercel/connect/chatSupply adapter credentials and verify trigger-forwarded webhooks
Better Auth@vercel/connect/betterauthSign users into an application through Connect with Better Auth
Auth.js@vercel/connect/authjsAdd a Connect OAuth provider to Auth.js

AI SDK and framework-agnostic MCP clients use the same connectAuthProvider() implementation. Import it from the entry point that matches your client.

Use the root @vercel/connect package when you need a provider token without a framework adapter. Its APIs let you:

  • Request app, user, federated, or exchanged tokens with getToken() and getTokenResponse()
  • Start an interactive authorization flow with startAuthorization()
  • Select installations, scopes, audiences, resources, and authorization details

Follow the Quickstart to create and link a connector. See Tokens to choose a subject and scopes, and use the SDK Reference for the root API.

Every integration authenticates the calling project through Vercel OpenID Connect (OIDC). Link your local directory and pull a development token:

terminal
vercel link
vercel env pull

Vercel provides VERCEL_OIDC_TOKEN automatically after deployment. Your connector must also have a project link for each environment that requests credentials.


Was this helpful?

supported.