1. Conduid
  2. Security
  3. Auth0 Firebase Fastmcp
MCP server · Security

Auth0 Firebase Fastmcp

Unclaimed last commit 10 months ago security
30Low

Scored 7 months ago · breakdown

About Auth0 Firebase Fastmcp

Auth0 Firebase Fastmcp is an MCP server published by priley86 in the Security category.

Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/priley86/auth0-firebase-fastmcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (3)

get_datetimeReturns the current UTC date and time (no scope required)

Parameters not published.

greetPersonalized greeting demonstrating authenticated tool access

Parameters not published.

whoamiReturns authenticated user information and granted scopes

Parameters not published.

Ask AI

✦

Ask AI about Auth0 Firebase Fastmcp

Powered by Claude · Grounded in docs

I know everything about Auth0 Firebase Fastmcp. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

Auth0 + Firebase + FastMCP MCP Server Starter

This example demonstrates how to create a FastMCP MCP server that uses Auth0 for authentication using the auth0-api-python library.

Open in IDX

Features

  • 🔐 Secure Authentication with Auth0 OAuth 2.0
  • 🚀 FastMCP - High-performance MCP server built on Starlette
  • 🔧 Firebase Studio Ready - Pre-configured for Firebase Studio (Project IDX)
  • ☁️ Cloud Run Deployment - Production-ready deployment scripts for Google Cloud

Available Tools

The server exposes the following tools:

  • whoami - Returns authenticated user information and granted scopes
  • greet - Personalized greeting demonstrating authenticated tool access
  • get_datetime - Returns the current UTC date and time (no scope required)

Quick Start

  1. Click the "Open in Firebase Studio" button above
  2. Wait for the workspace to initialize (dependencies will be installed automatically)
  3. Configure your .env file with your Auth0 credentials (see below sections on how to configure this)
  4. The MCP server will start automatically! See the Testing section below for instructions on testing in Firebase Studio.

Auth0 Tenant Setup

Create an Auth0 account to setup an Auth0 tenant if you don't yet have one.

For detailed instructions on setting up your Auth0 tenant for MCP server integration, please refer to the Auth0 Tenant Setup guide in the FastMCP example.

Simplified instructions for this starter:

  1. Authenticate with Auth0 CLI:
auth0 login --scopes "read:client_grants,create:client_grants,delete:client_grants,read:clients,create:clients,update:clients,read:resource_servers,create:resource_servers,update:resource_servers,read:roles,create:roles,update:roles,update:tenant_settings,read:connections,update:connections"

and verify you are using the correct Auth0 tenant after:

auth0 tenants list
  1. Enable Dynamic Client Registration (DCR) and improved user consent experience:
auth0 tenant-settings update set flags.enable_dynamic_client_registration flags.use_scope_descriptions_for_consent
  1. Create an API (Resource Server) for your MCP Server with Auth0
auth0 api post resource-servers --data '{
  "identifier": "http://localhost:3001/",
  "name": "MCP Tools API",
  "signing_alg": "RS256",
  "token_dialect": "rfc9068_profile_authz",
  "enforce_policies": true,
  "scopes": [
    {"value": "tool:whoami", "description": "Access the WhoAmI tool"},
    {"value": "tool:greet", "description": "Access the Greeting tool"}
  ]
}'
  1. Configure RBAC Roles & Permissions

You read further about specifying granular roles and scope access for users in the mention here, but you minimally add an Admin role for testing with the following:

auth0 roles create --name "Tool Administrator" --description "Grants access to all MCP tools"

Note the role ID returned and use it to assign permissions to a role:

auth0 roles permissions add YOUR_ADMIN_ROLE_ID --api-id "http://localhost:3001/" --permissions "tool:whoami,tool:greet"

Now assign the admin role to your user:

# Find a user's ID
auth0 users search --query "email:\"example@google.com\""

auth0 users roles assign "auth0|USER_ID_HERE" --roles "YOUR_ROLE_ID_HERE"
  1. Ensure Resource Parameter Compatibility Profile

Ensure you can use resource parameters when requesting access tokens for a resource server. This is an Early access feature.

Go to your Auth0 tenant Settings and navigate to the Advanced tab. Make sure to enable the Resource Parameter Compatibility Profile setting.

Screen 5

Configuration

Copy .env.example to .env and configure the domain and audience:

# Auth0 tenant domain
AUTH0_DOMAIN=example-tenant.us.auth0.com

# Auth0 API Identifier
AUTH0_AUDIENCE=http://localhost:3001/

Note: the AUTH0_AUDIENCE should match the identifier you used when creating the resource server above. The AUTH0_DOMAIN can be found in your tenant settings.

The other settings can remain defaulted if using the Firebase Studio Preview:

# URL where this MCP server is accessible (used for OAuth metadata)
MCP_SERVER_URL=http://localhost:3001

# Port the server will listen on
PORT=3001

# Enable debug mode for detailed logging
DEBUG=false

# CORS origins - comma-separated list of allowed origins (* for all)
CORS_ORIGINS=*

# Google Cloud Platform Configuration (for production deployment)
# GCP_PROJECT_ID=your-project-id
# GCP_REGION=us-central1
# SERVICE_NAME=mcp-server

Testing

Testing in Firebase Studio

For local testing with Firebase Studio, you can visit your Auth0 tenant at manage.auth0.com to create a test application and acquire an access token for use with your FastMCP Server.

Note: this is not required if using a deployed instance. You can test this easily with MCP Inspector using DCR (Dynamic Client Registration).

  1. Visit the Applications -> APIs page and select your MCP Tools API.

Within the Test tab, use the Create & Authorize Test Application button to create a test client.

Screen 1

  1. Enable permissions (scopes) for your client.

Within the M2M Applications tab, ensure your MCP Tools API (Test Application) has the tool:whoami and tool:great permissions. Once enabled, hit the Update button and save these permissions. Screen 2

  1. Request an access token.

Lastly, you can request an access token by navigating back to the Test tab. Copy the access token in the response. Screen 3

Deployment

This project includes production-ready deployment scripts for Google Cloud Run.

See DEPLOYMENT.md for detailed instructions on:

  • Setting up Google Cloud Platform
  • Configuring production environment variables
  • Deploying to Cloud Run
  • Monitoring and troubleshooting

Quick Deploy

# 1. Create production environment file
cp .env.example .env.production

# 2. Edit .env.production with your credentials

# 3. Deploy to Cloud Run
./scripts/deploy-mcp-server.sh

Running Locally

Install dependencies:

poetry install

With the .env configuration file in place, the example can be started by running:

poetry run python -m src.server

Learn More

License

This project is based on the Auth0 AI Samples and is provided under the MIT License.

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Auth0 Firebase Fastmcp

How do I install Auth0 Firebase Fastmcp?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Auth0 Firebase Fastmcp safe to use with an AI agent?

Its trust score is 30 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Auth0 Firebase Fastmcp still maintained?

The last commit was 10 months ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.