Is the Auth0 MCP server safe? What it can reach
What the Auth0 MCP server can read, write and delete, how it signs in, and how to limit it in Claude Code and Codex.
Auth0 publishes the official server as a beta npm package that runs on your machine. You sign in through the device flow, and the server acts on your tenant with the scopes you pick at init. It can create apps, APIs, Actions and Forms, and deploy live Actions. The read-only flag is the control to set.
Who maintains it
| Implementation | Kind | Status |
|---|---|---|
| Auth0 MCP server (auth0/auth0-mcp-server, beta) | Official | active |
It runs as a local process on your machine.
How it signs in
Default sign-in is the OAuth 2.0 device authorization flow, and tokens go in the system keychain. Private cloud tenants use machine-to-machine client credentials instead. The server calls the Management API with whatever scopes you granted.
| Scope or permission | Access |
|---|---|
read:clients | read |
create:clients | write |
update:clients | write |
read:resource_servers | read |
create:resource_servers | write |
update:resource_servers | write |
read:actions | read |
create:actions | write |
update:actions | write |
read:forms | read |
create:forms | write |
update:forms | write |
read:logs | read |
What its tools can do
| Kind | Tools |
|---|---|
| Read | auth0_list_applications, auth0_get_application, auth0_list_resource_servers, auth0_get_resource_server, auth0_list_actions, auth0_get_action, auth0_list_logs, auth0_get_log, auth0_list_forms, auth0_get_form, auth0_get_quickstart_guide |
| Write | auth0_create_application, auth0_update_application, auth0_save_credentials_to_file, auth0_onboarding, auth0_create_resource_server, auth0_update_resource_server, auth0_create_action, auth0_update_action, auth0_create_form, auth0_update_form |
| Can’t be undone | auth0_create_application_grant, auth0_deploy_action, auth0_publish_form |
The README lists 24 tools. Auth0’s tools reference page lists 20 and leaves out auth0_save_credentials_to_file, auth0_onboarding, auth0_get_quickstart_guide and auth0_publish_form. Neither source describes auth0_onboarding in detail, so it is filed under write. No tool deletes anything. The software is marked beta, with limited support.
Built-in limits
| Option | What it does |
|---|---|
--read-only / AUTH0_MCP_READ_ONLY=true | Allows only read operations. It takes priority over --tools. |
--tools / AUTH0_MCP_TOOLS | A glob pattern that sets which tools are available. The default is *. |
--scopes | Chooses OAuth scopes with glob patterns, such as read:*, at init. No scopes are selected by default. |
AUTH0_MCP_ANALYTICS=false | Opts out of anonymized analytics. |
logout | Removes the stored tokens from the keychain. |
The risks
- auth0_deploy_action puts Action code live in your tenant, and Actions run in login and token flows, so an injected instruction could push code into every sign-in.
- auth0_create_application_grant authorizes an application to call an API with chosen scopes, which is a permission change that can widen who can reach your data.
- auth0_list_logs and auth0_get_log return tenant log entries, which hold user identifiers and sign-in activity, and that text goes into the model context.
- auth0_save_credentials_to_file writes client credentials to a .env file in your project, where other tools and commits can pick them up.
- The README says secrets in tool responses are shown as [REDACTED], but the tool names and the broad scopes you grant still decide how much a bad instruction can change.
Limit it in Claude Code
Add it from the documented launch settings, at local or user scope so a token never lands in a shared .mcp.json:
claude mcp add --env AUTH0_MCP_READ_ONLY=... auth0 -- npx -y @auth0/auth0-mcp-server runClaude Code names MCP tools mcp__auth0__<tool>. Deny rules win over ask rules, and ask rules over allow rules. Put these in ~/.claude/settings.json or the project’s .claude/settings.json:
{
"permissions": {
"deny": [
"mcp__auth0__auth0_deploy_action",
"mcp__auth0__auth0_publish_form",
"mcp__auth0__auth0_create_application_grant"
],
"ask": [
"mcp__auth0__auth0_create_application",
"mcp__auth0__auth0_update_application",
"mcp__auth0__auth0_save_credentials_to_file",
"mcp__auth0__auth0_onboarding",
"mcp__auth0__auth0_create_resource_server",
"mcp__auth0__auth0_update_resource_server",
"mcp__auth0__auth0_create_action",
"mcp__auth0__auth0_update_action",
"mcp__auth0__auth0_create_form",
"mcp__auth0__auth0_update_form"
]
}
}Limit it in Codex
Codex reads MCP servers from ~/.codex/config.toml. disabled_tools removes tools, and enabled_tools keeps only the ones you list:
[mcp_servers.auth0]
command = "npx"
args = ["-y", "@auth0/auth0-mcp-server", "run"]
env_vars = ["AUTH0_MCP_READ_ONLY"]
disabled_tools = ["auth0_deploy_action", "auth0_publish_form", "auth0_create_application_grant"]Checklist
- Start with --read-only or AUTH0_MCP_READ_ONLY=true and a dev tenant.
- Pick narrow scopes at init, not read:* and create:* together.
- Deny the deploy, publish and grant tools in your client.
- Run logout when you finish, and keep this off production tenants while it is in beta.
Checked against the vendor documentation on November 25, 2026. auth0/auth0-mcp-server README · Auth0 MCP tools reference · auth0/auth0-mcp-server repository
What Excellent covers
Excellent doesn’t inspect MCP servers themselves. Its free scan reads supported logs on the Mac (Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code) and reports findings for review, so you can see what an agent did after a session. Run the free scan · See a sample report · How to vet any MCP server
Excellent Pro adds checks before supported actions. Claude Code can display an ask prompt. With Codex, an Excellent “ask” refuses the action and tells the agent to ask you. Pro is US-only for now. Agent coverage · Pricing