Provides a FastMCP server with Bearer token authentication and OAuth 2.1 endpoints for dynamic client registration and metadata discovery.
This project serves as a comprehensive example for establishing a secure FastMCP server using FastAPI. It integrates robust OAuth 2.1 Bearer token authentication, enabling dynamic client registration and metadata discovery. Designed for developers, it demonstrates how to build MCP-compliant services that enforce secure access, providing a foundational blueprint for integrating authentication flows with Model Context Protocol applications.
주요 기능
01FastMCP server mounted on FastAPI
02Bearer token (JWT) authentication with RSA public key validation
03OAuth 2.1 Authorization Server metadata endpoints
04Dynamic client registration (RFC 7591)
05OpenID Connect discovery support
060 GitHub stars
사용 사례
01Developing and testing MCP servers requiring OAuth authentication
02Integrating MCP services with AI assistants like Claude
03Building secure, MCP-compliant API services with modern authentication