Skip to content

hemdagem/auth0-fastmcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

auth0-fastmcp

This repository helps you implement and test the Auth0 interactive login flow with a FastMCP MCP Server. It provides example FastMCP servers and configuration to enable secure authentication and API access using Auth0.

  • server.py: Main API server
  • server_openapi.py: OpenAPI documentation server

Prerequisites

Setup Instructions

1. Clone the Repository

git clone https://github.com/hemdagem/auth0-fastmcp.git
cd auth0-fastmcp

2. Create .env file

cp .env.example .env

Edit .env with your credentials and settings as needed. Refer to .env.example and the code for required variables.

You can configure your Auth0 setup here: https://auth0.com/docs/get-started/auth0-overview/create-applications/regular-web-apps

3. Create and Activate Virtual Environment

python3 -m venv env
source env/bin/activate

4. Install Dependencies

pip install -r requirements.txt

Running the Servers

Run server.py

python server.py
  • The API server will start at http://localhost:8000

Run server_openapi.py

python server_openapi.py
  • This will start the OpenAPI documentation server.
  • The API server will start at http://localhost:8000

Additional Notes


Feel free to contribute or open issues for bugs and feature requests.

About

Full Auth0 Interactive flow with FastMCP and VS Code

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages