Auth0 Forms MCP Custom Extension
Provides tools for interacting with Auth0 Forms, enabling an Auth0 Form to be exposed as an MCP endpoint with session handling and protected resource metadata.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Auth0 Forms MCP Custom ExtensionFill out the contact form with name John and email john@example.com"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Auth0 Forms MCP Custom Extension
This repository packages the MCP server from auth0-agent-components/examples/poc-server in the same format as Auth0's Delegated Administration Extension. The package exposes one Auth0 Form as an MCP App at the deployed extension URL plus /mcp.
What is in the package
package.jsoncontains theauth0-extensionmanifest that the Custom Extension importer reads.webtask.jsonselects the Node 22 Webtask runtime used by the extension deployment.src/webtask.tsis the Webtask handler expected by the extension runtime.src/app.tsadapts the POC server to a stateless Streamable HTTP MCP transport.dist/package.zip, created bynpm run build, is the file to import into the Custom Extension workflow.index.jsandbuild/bundle.jssupport the legacy repository loader that fetches those paths from themasterbranch.
Related MCP server: mcp-server-dashform
Configure the extension
During import, set these settings:
Setting | Required | Purpose |
| No | Optional canonical tenant issuer override; defaults to the tenant supplied by the extension runtime. |
| Yes | The Auth0 Form ID to expose. |
| Session forms | Shared secret for the Forms session JWT. |
| Session forms | Hidden Form field receiving the session JWT, normally |
| External endpoint only | Optional audience override for an OAuth proxy or custom endpoint. |
| OAuth proxy | Public proxy origin, without a trailing slash. |
| No | Custom domain that hosts the Forms bundle. |
| No | Leave on in production. Set off only for no-session local development. |
FORM_DESCRIPTION and FORM_NAME control the model-facing tool description and tool name.
Provision the tenant API
The extension requests an extension-owned Management API client with only read:resource_servers and create:resource_servers. It reads the tenant domain from the runtime and creates or reuses an Auth0 API whose identifier is the exact installed MCP URL.
Perform a full Custom Extension update or reinstall after importing version
0.3.0so Auth0 creates the managed client and grants its declared scopes.Open the extension landing page and select Sign in and provision.
Complete the tenant-admin login. The landing page creates or reuses the required API audience, then shows its status.
Connect the MCP client to the displayed MCP endpoint.
Provisioning is available only through the Dashboard-admin login flow. Public MCP, health, and discovery routes never modify tenant configuration. AUTH0_CLIENT_ID, AUTH0_CLIENT_SECRET, AUTH0_DOMAIN, and EXTENSION_SECRET are runtime-managed values; do not add them to extension settings or log them.
Build an importable package
The local @auth0/agent-components dependency points to the sibling source repository because it is not available from the configured npm registry. Keep these two directories adjacent while building:
/Users/adeel.mustafa/
auth0-agent-components/
auth0-mcp-custom-extension/Then run:
npm install
npm run buildThe importer artifact is dist/package.zip. It contains the bundled extension.js and a runtime-only package.json; neither references the sibling checkout once imported.
The repository also publishes a master branch because the legacy Custom Extension loader fetches index.js and build/bundle.js from that branch. Do not remove the generated build/bundle.js file.
Import and connect
Import
dist/package.zipinto the same Custom Extension workflow that accepts the Delegated Administration Extension package format.Enter the configuration values above.
Open the installed extension and complete Sign in and provision once.
Register the displayed MCP URL in an MCP client. The extension advertises its protected-resource metadata at
/.well-known/oauth-protected-resource.
The extension uses a stateless MCP transport because Webtask-style extension runtimes do not guarantee that the same process handles successive requests. It does not support server-initiated notifications or resumable SSE sessions.
OAuth discovery companion
Webtask routes are scoped under the extension name, so the platform cannot serve the host-root OAuth protected-resource metadata URL. Use the companion Custom Extension at https://github.com/mustafadeel/auth0-ext-wellknown; it stays in the same Auth0 tenant and does not require an external proxy.
Import
auth0-ext-wellknowninto the same tenant as a second Custom Extension. Keep its name as.well-knownanduseHashNameasfalse.Set
MCP_RESOURCE_URLto the displayed MCP URL,AUTH0_TENANT_ORIGINto the canonical tenant issuer, and optionally setRESOURCE_NAME.Connect the client to the MCP URL from this extension, never the companion extension URL.
For an intentionally external proxy or custom domain, set PUBLIC_BASE_URL and AUTH0_AUDIENCE to the proxy's exact /mcp URL before provisioning.
Local development
Copy .env.example to .env.local, configure it, then run:
npm run devConnect the MCP Inspector to http://localhost:3000/mcp.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceA modular server implementation that integrates Auth0 OAuth 2.0 authentication with FastMCP to securely serve AI tools through the Model Context Protocol.1
- Alicense-qualityFmaintenanceMCP server for Dashform (getaiform.com) - create and manage AI-powered forms, quizzes, and surveys. Supports form creation, response collection, analytics, and AI-driven form building with 15 tools across form management, response handling, and AI operations.MIT
- AlicenseAqualityFmaintenanceA Model Context Protocol (MCP) server for authenticated REST APIs. Drop it into any project, point it at your API, and let AI agents call endpoints — with auto-login, 2FA support, Swagger spec fetch, and fuzzy endpoint search — all without writing a single line of auth code.3116MIT
- Alicense-qualityCmaintenanceMCP server for the Nextcloud Forms API v3 that enables secure creation, update, cloning, and validation of forms without exposing credentials to the AI agent.MIT
Related MCP Connectors
Self-hosted MCP gateway: turn any API, database or MCP server into AI connectors — no code.
MCP (Model Context Protocol) server for Appwrite
MCP server for Argo RPG Platform — connects AI assistants to campaign data via OAuth2
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mustafadeel/auth0-poc-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server