Secure your MCP servers with OAuth using version
Here’s an example of how to integrate auth in your MCP server:
Additionally, use the
Deploy an example MCP server by cloning our Next.js MCP template, or explore starter integrations from our auth partners below:
Read more
Continue reading...
1.0.0
of the MCP Adapter, which now includes official support for the MCP Authorization spec. This release introduces:
Helper functions for OAuth-compliant authorization flows
A newwithMcpAuth
wrapper for securing routes
One-click deployable examples with popular auth providers like Better Auth, Clerk, Descope, Stytch, and WorkOS
Here’s an example of how to integrate auth in your MCP server:
Additionally, use the
protectedResourceHandler
to expose resource server metadata for compliant clients. Learn more in our MCP Auth documentation.Start building secure MCP servers
Deploy an example MCP server by cloning our Next.js MCP template, or explore starter integrations from our auth partners below:
Read more
Continue reading...