OpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2026-08-148243531000.1 KB

5f7e0c3a8f59

mcp_oauth

MCP OAuth callback

Handles OAuth callback, exchanges code for tokens, returns HTML that posts message to opener

get/mcp/oauth/callback

Query parameters

codestring required

OAuth authorization code

statestring required

CSRF state token

Response

HTML page with JavaScript that posts tokens to opener window and closes