Hi, I’m new to Auth0 and currently working on integrating Auth0 login into my MCP server. I’ve followed the articles mentioned below that describe the MCP authorization setup. I noticed they enable Dynamic Client Registration (DCR) — is DCR mandatory for an MCP client?
I’d prefer to handle pre-registration using the authorization code flow instead. Is that a recommended approach, or should I follow a different method?
The preferred method for you use case would definitely be implementing the standard Dynamic Client Registration method in MCP context, as described in the Authorization guide that you have mentioned above. Your idea to pre-register the client in the Auth0 dashboard and use the standard authorization code flow is technically possible. From Auth0’s perspective, this is simply creating a normal Web Application.
However, this approach has significant downsides in an MCP environment:
You would need to manually create an application in your Auth0 dashboard for each MCP service instance
This can be considered a non-compliant implementation since it breaks the MCP model
This manual setup is less resilient to change if a service needs to be re-deployed or scaled
For early deployment/testing purposes, using a manually pre-registered client can be a temporary shortcut since it follows the Auth0 OAuth 2.0 perspective, but it deviates from the standard MCP architecture and misses the benefits of its automated, scalable design.