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