MCP OAuth Server

This MCP server uses an OAuth 2.0 authorization-code flow with PKCE.

Available Endpoints:

Authorization Endpoint

GET /authorize

Parameters:

Token Endpoint

POST /token

Parameters:

MCP streamablehttp Endpoints

/mcp - Streamablehttp connection endpoint (requires OAuth token)

OAuth Flow:

  1. The MCP client discovers metadata and dynamically registers.
  2. The client starts authorization with an S256 PKCE challenge.
  3. The resource owner authenticates and approves the bound transaction.
  4. The server returns a short-lived, one-time authorization code.
  5. The client exchanges the code and PKCE verifier for expiring tokens.
  6. The client sends the bearer access token to the MCP endpoint.