Skip to main content

OAuth support added to MCP Adapter

By Steven Van ·

Version 1.0.0 of Vercel's MCP Adapter adds a withMcpAuth wrapper and one-click examples with Better Auth, Clerk, Descope, Stytch, and WorkOS.

Version 1.0.0 of the MCP Adapter used on Vercel adds official support for the MCP Authorization spec, letting developers secure MCP servers with OAuth.

  • Helper functions for OAuth-compliant authorization flows
  • A new withMcpAuth wrapper for securing routes
  • One-click deployable examples with auth providers Better Auth, Clerk, Descope, Stytch, and WorkOS

A protectedResourceHandler is also available to expose resource server metadata to compliant clients. Developers can get started by cloning the Next.js MCP server template and deploying it, or by exploring the starter integrations from the auth partners above.

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

Original source

Read OAuth support added to MCP Adapter on Creators Toolbox