HTTP OAuth Auth0
H

HTTP OAuth Auth0

This project provides a reference implementation of an MCP server that supports OAuth authorization and streaming HTTP/SSE transmission, allowing developers to quickly set up their own MCP services and integrate OAuth authentication.
2.5 points
6.5K

What is an MCP server?

The MCP server is a system for handling Model Context Protocol (MCP) communications. It supports streaming HTTP and SSE transmission methods and uses OAuth for secure authorization.

How to use the MCP server?

Simply configure your OAuth credentials and start the server to begin using it. You can integrate this server into an existing MCP client or host.

Applicable scenarios

Suitable for application scenarios that require efficient and secure model interactions, such as AI assistants and chatbots.

Main Features

Streaming HTTP Support
Allows clients to receive model responses in real - time via the HTTP protocol.
SSE Support
Supports Server - Sent Events (SSE) for pushing model outputs.
OAuth Authorization
Implements strong authentication and access control through OAuth.
Dynamic Client Registration
Supports dynamic client registration, simplifying the onboarding process for new clients.
Advantages
Efficient streaming communication
Powerful OAuth security mechanism
Easy to expand and integrate
Supports multiple transport protocols
Limitations
Requires additional configuration of an OAuth server
May have certain requirements for the network environment

How to Use

Install Dependencies
Ensure that the Bun runtime environment is installed.
Configure Environment Variables
Fill in the OAuth - related ID, secret, and domain name in the.env file.
Start the Server
Run the server using Bun.

Usage Examples

Integrate into an MCP Host
Connect a remote MCP server to Cursor or Claude desktop.
Directly Integrate into an Agent
Use StreamableHTTPClientTransport in a JavaScript/TypeScript project.

Frequently Asked Questions

Which transport protocols does the MCP server support?
How to set up OAuth authentication?
Does it support Python clients?

Related Resources

MCP Official Documentation
Learn the detailed specification of the MCP protocol.
Auth0 Documentation
Learn how to configure an OAuth server.
GitHub Repository
View the source code and more examples.

Installation

Copy the following command to your Client for configuration
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
25.6K
5 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
15.2K
4.5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
47.6K
4.3 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
16.4K
4.3 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
47.3K
4.5 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
21.1K
5 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
16.5K
4.5 points
C
Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
65.9K
4.7 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIBase