cloud-infrastructureauth-security

Auth0

by auth0

Integrate Auth0 with AI agents to manage Auth0 operations using natural language. Easily create apps and retrieve domain

Integrates with LLMs and AI agents, allowing you to perform various Auth0 management operations using natural language. For instance, you could simply ask Claude to create a new Auth0 app and get the domain and client ID.

github stars

94

Natural language Auth0 managementOfficial Auth0 integration

best for

  • / Developers setting up authentication for applications
  • / DevOps teams automating Auth0 configuration
  • / Teams managing multiple Auth0 tenants and apps

capabilities

  • / Create and configure Auth0 applications
  • / Manage user accounts and profiles
  • / Configure authentication settings
  • / Retrieve application credentials and domain info
  • / Perform Auth0 management operations

what it does

Allows AI assistants to manage Auth0 authentication services through natural language commands. You can create apps, manage users, and configure authentication settings by simply asking in plain English.

about

Auth0 is an official MCP server published by auth0 that provides AI assistants with tools and capabilities via the Model Context Protocol. Integrate Auth0 with AI agents to manage Auth0 operations using natural language. Easily create apps and retrieve domain It is categorized under cloud infrastructure, auth security.

how to install

You can install Auth0 in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

license

MIT

Auth0 is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

readme

MCP server for Auth0

<div align="center">

License: MIT Node.js Version NPM Downloads NPM Version <img src="https://devin.ai/assets/deepwiki-badge.png" alt="Ask questions about auth0-mcp-server on DeepWiki" height="20"/>

</div> <div align="center">

📚 Documentation • 🚀 Getting Started • 💻 Supported Tools • 💬 Feedback

</div>

MCP (Model Context Protocol) is an open protocol introduced by Anthropic that standardizes how large language models communicate with external tools, resources or remote services.

[!CAUTION] Beta Software Notice: This software is currently in beta and is provided AS IS without any warranties.

  • Features, APIs, and functionality may change at any time without notice
  • Not recommended for production use or critical workloads
  • Support during the beta period is limited
  • Issues and feedback can be reported through the GitHub issue tracker

By using this beta software, you acknowledge and accept these conditions.

The Auth0 MCP Server integrates with LLMs and AI agents, allowing you to perform various Auth0 management operations using natural language. For instance, you could simply ask Claude Desktop to perform Auth0 management operations:

  • Create a new Auth0 app and get the domain and client ID

  • Create and deploy a new Auth0 action to generate a JWT token

  • Could you check Auth0 logs for logins from 192.108.92.3 IP address?

<br/> <div align="center"> <img src="https://cdn.auth0.com/website/mcp/assets/auth0-mcp-example-demo.gif" alt="Auth0 MCP Server Demo" width="800"> </div>

🚀 Getting Started

Prerequisites:

<br/>

Install the Auth0 MCP Server

Install Auth0 MCP Server and configure it to work with your preferred MCP Client. The --tools parameter specifies which tools should be available (defaults to * if not provided).

Claude Desktop with all tools

npx @auth0/auth0-mcp-server init

Claude Desktop with read-only tools

npx @auth0/auth0-mcp-server init --read-only

You can also explicitly select read-only tools:

npx @auth0/auth0-mcp-server init --tools 'auth0_list_*,auth0_get_*'

Windsurf

npx @auth0/auth0-mcp-server init --client windsurf

Cursor

Step 1:

Install MCP Server

Step 2:

npx @auth0/auth0-mcp-server init --client cursor

Cursor with limited tools access

npx @auth0/auth0-mcp-server init --client cursor --tools 'auth0_list_applications,auth0_get_application'

VS Code

npx @auth0/auth0-mcp-server init --client vscode

You can configure VS Code for either global or workspace scope:

  • Global: Available in all VS Code instances
  • Workspace: Available only in a specific project/repository

The command will prompt you to choose your preferred scope and automatically configure the appropriate mcp.json file.

VS Code with limited tools access

npx @auth0/auth0-mcp-server init --client vscode --tools 'auth0_list_*,auth0_get_*' --read-only

Gemini CLI

Initialize the gemini MCP server for the Gemini CLI

npx @auth0/auth0-mcp-server init --client gemini

Install the Gemini Extension

gemini extensions install https://github.com/auth0/auth0-mcp-server

Other MCP Clients

To use Auth0 MCP Server with any other MCP Client, you can manually add this configuration to the client and restart for changes to take effect:

{
  "mcpServers": {
    "auth0": {
      "command": "npx",
      "args": ["-y", "@auth0/auth0-mcp-server", "run"],
      "capabilities": ["tools"],
      "env": {
        "DEBUG": "auth0-mcp"
      }
    }
  }
}

You can add --tools '<pattern>' to the args array to control which tools are available. See Security Best Practices for recommended patterns.

Authorize with Auth0

Your browser will automatically open to initiate the OAuth 2.0 device authorization flow. Log into your Auth0 account and grant the requested permissions.

[!NOTE] Credentials are securely stored in your system's keychain. You can optionally verify storage through your keychain management tool. Check out Authentication for more info.

Verify your integration

Restart your MCP Client (Claude Desktop, Windsurf, Cursor, etc.) and ask it to help you manage your Auth0 tenant

<div align="left"> <img src="https://cdn.auth0.com/website/mcp/assets/help-image-01.png" alt="Claude Desktop help screen showing successful integration" width="300"> </div>

🛠️ Supported Tools

The Auth0 MCP Server provides the following tools for Claude to interact with your Auth0 tenant:

<div align="center" style="display: flex; justify-content: center; gap: 20px;"> <img src="https://cdn.auth0.com/website/mcp/assets/help-image-02.png" alt="Supported Tools img" width="400"> <img src="https://cdn.auth0.com/website/mcp/assets/help-image-03.png" alt="Supported Tools img" width="400"> </div>

Applications

ToolDescriptionUsage Examples
auth0_list_applicationsList all applications in the Auth0 tenant or search by name- Show me all my Auth0 applications <br> - Find applications with 'api' in their name <br> - What applications do I have in my Auth0 tenant?
auth0_get_applicationGet details about a specific Auth0 application- Show me details for the application called 'Customer Portal' <br> - Get information about my application with client ID abc123 <br> - What are the callback URLs for my 'Mobile App'?
auth0_create_applicationCreate a new Auth0 application- Create a new single-page application called 'Analytics Dashboard' <br> - Set up a new native mobile app called 'iOS Client' <br> - Create a machine-to-machine application for our background service
auth0_update_applicationUpdate an existing Auth0 application- Update the callback URLs for my 'Web App' to include https://staging.example.com/callback <br> - Change the logout URL for the 'Customer Portal' <br> - Add development environment metadata to my 'Admin Dashboard' application

Resource Servers

ToolDescriptionUsage Examples
auth0_list_resource_serversList all resource servers (APIs) in the Auth0 tenant- Show me all the APIs in my Auth0 tenant <br> - List my resource servers <br> - What APIs have I configured in Auth0?
auth0_get_resource_serverGet details about a specific Auth0 resource server- Show me details for the 'User API' <br> - What scopes are defined for my 'Payment API'? <br> - Get information about the resource server with identifier https://api.example.com"
auth0_create_resource_serverCreate a new Auth0 resource server (API)- Create a new API called 'Inventory API' with read and write scopes <br> - Set up a resource server for our customer data API <br> - Create an API with the identifier https://orders.example.com"
auth0_update_resource_serverUpdate an existing Auth0 resource server- Add an 'admin' scope to the 'User API' <br> - Update the token lifetime for my 'Payment API' to 1 hour <br> - Change the signing algorithm for my API to RS256