Auth0 MCP Server — Claude Code MCP server: features and setup
Connect an AI agent to an Auth0 account to manage apps, Actions, logs, and users through natural-language requests.
claude mcp add mcp -- npx -y @auth0/auth0-mcp-serverWhat Auth0 MCP Server does
Auth0 MCP Server gives an agent tools for managing Auth0 applications and APIs, deploying Actions, inspecting logs, and working with users. You can ask it to create an application and return its domain and client ID, or search logs for sign-ins from a particular IP address.
You need Node.js 18 or later, an Auth0 account with suitable permissions, and an MCP client. On first connection, a browser starts OAuth 2.0 authorization; credentials are stored in the system keychain. Limit available tools with --tools or use --read-only. The server is in beta, and its maintainers advise against using it for production or critical workloads.
What it helps with
- create an Auth0 application and retrieve its domain and client ID
- deploy an Action that generates a JWT
- search Auth0 logs for sign-ins from a given IP address
- manage Auth0 users through an AI agent
Example prompts for the agent
- Create an Auth0 application and return its domain and client ID.
- Deploy an Action that generates a JWT.
- Search Auth0 logs for sign-ins from IP address 192.108.92.3.
How to install Auth0 MCP Server
Platform CLI
claude mcp add mcp -- npx -y @auth0/auth0-mcp-serverPlatform CLI
codex mcp add auth0-mcp-server -- npx -y @auth0/auth0-mcp-serverConfig file
{
"mcpServers": {
"auth0-mcp-server": {
"command": "npx",
"args": [
"-y",
"@auth0/auth0-mcp-server"
]
}
}
}Config file
{
"servers": {
"auth0-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@auth0/auth0-mcp-server"
]
}
}
}Platform CLI
gemini mcp add auth0-mcp-server npx -y @auth0/auth0-mcp-serverStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Auth0 MCP Server
How do I install Auth0 MCP Server in Claude Code?
Run claude mcp add auth0-mcp-server -- npx -y @auth0/auth0-mcp-server. Authorize your Auth0 account in the browser, then restart the MCP client.
What does Auth0 MCP Server do?
It gives an AI agent tools to manage Auth0 applications, APIs, Actions, logs, and users. You can request these operations in natural language.
What does Auth0 MCP Server require?
You need Node.js 18 or later, an MCP client, and an Auth0 account with suitable permissions. It is beta software and is not recommended for production or critical workloads.