Skip to main content

Secure MCP Servers with Auth0 and Cloudflare

Auth0 has collaborated with Cloudflare to help developers secure remote MCP servers powered by Cloudflare WorkersArrow icon. With the pace of MCP adoption rapidly increasing, Cloudflare has added features to its platformArrow icon that handle the hard parts of building remote MCP servers, like workers-oauth-provider, an OAuth Provider that makes authorization easy. By securing your MCP server with Auth0, AI applications can now interact with an external API by connecting through the remote MCP server and make API calls on behalf of an authenticated user.

Sample App for Securing an MCP Server and API

Learn how to set up and use an AI application to connect with a sample Todos API using an MCP server secured by Auth0. The server and API are Cloudflare Workers projects and will use Auth0 to request and receive access and refresh tokens.

MCP Server Auth

See all the steps and the full details in this blog postArrow icon