MCP OAuth Server

This server provides OAuth 2.0 authorization for MCP (Model Context Protocol) clients.

OAuth 2.0 Endpoints:

GET /authorize
OAuth 2.0 authorization endpoint
GET /callback
OAuth 2.0 callback endpoint (for provider callbacks)
POST /token
OAuth 2.0 token endpoint
POST /register
Dynamic client registration endpoint

Discovery Endpoints:

GET /.well-known/oauth-authorization-server
OAuth 2.0 Authorization Server Metadata
GET /.well-known/openid-configuration
OpenID Connect Discovery

MCP API:

POST /mcp
Model Context Protocol API (requires OAuth 2.0 Bearer token)