auth0-whoami-mcp-template

auth0-whoami-mcp-template

An MCP server that exposes an authenticated Streamable HTTP endpoint with a whoami tool returning safe claims for the current Auth0 user.

Category
Visit Server

README

Auth0 Who Am I MCP Template

Fork this public template to create an Auth0 Custom Extension that exposes an authenticated Streamable HTTP MCP server. Its whoami tool returns safe claims for the current Auth0 user.

The template targets Node 22, derives the tenant issuer and installed MCP URL at runtime, and creates or reuses the Auth0 API resource server from a tenant-admin setup flow. It does not ask users to enter tenant or direct MCP URLs in extension settings.

Fork and customize

  1. Fork this repository and keep the fork public.
  2. Update webtask.json and package.json with your title, extension name, author, repository URL, and version.
  3. Replace or add tools in src/app.ts. Keep the bearer-token verification and protected setup route intact.
  4. Run npm install and npm test with your organization's managed npm authentication.
  5. Commit generated index.js, build/bundle.js, dist/extension.js, and dist/package.zip.
  6. Push the same release to both main and master. The legacy Custom Extension importer fetches generated loader files from master.

Deploy to Auth0

  1. Perform a full Custom Extension import or update from this public repository. Do not use a code-only redeploy when the manifest changes.
  2. Open the installed extension and select Sign in and provision.
  3. Complete the Dashboard-admin login. The extension creates or reuses an RS256 Auth0 API resource server whose identifier is the displayed MCP URL.
  4. Import https://github.com/mustafadeel/auth0-ext-wellknown as a separate Custom Extension in the same tenant. Keep its name .well-known and useHashName: false.
  5. Configure the companion with the MCP URL displayed by this extension and the tenant issuer displayed by setup.
  6. Connect Claude, Codex, or MCP Inspector to the displayed /mcp URL and complete OAuth.

The public MCP, health, and metadata routes never change tenant configuration. Only the Dashboard-admin-protected setup route can provision the resource server.

Optional external public endpoint

The default audience is the installed Webtask URL plus /mcp. If you intentionally put an external proxy or custom domain in front of the MCP server, add an optional PUBLIC_BASE_URL setting to webtask.json and set it to the proxy origin. The resource-server identifier becomes ${PUBLIC_BASE_URL}/mcp.

Local checks

npm install
npm test

The smoke test verifies that the landing page and admin-login route are present and that unauthenticated provisioning is rejected.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured