Description
As part of Auth0 for AI Agents, you can use Auth for MCP to protect your MCP server so they can only be accessed through authorized clients. In this lab, you will secure a sample MCP server with Auth0 by requiring and validating client access tokens. You will use MCP Inspector as a client to test the MCP server and to determine which tools and resources the client can access based on the user’s permissions.
Duration
30 minutes
Before you start
- Create a GitHub account with Codespaces access. You can create a free GitHub account if you don't already have one.
- Create a new Auth0 account so that you have a fresh tenant for the labs.
How to complete this lab
- Access the GitHub repository for this lab.
- Select the Code button and select the Codespaces tab if not already selected.
- Select the + button to create a Codespace on this branch. It will take a minute or two to set up the Codespace.
- Follow the CODETOUR lab steps within the Codespace.
Need help?
Visit the Auth0 Training Labs FAQ or email educationondemand@asqula.com.