latestOpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2026-08-218323541013.9 KB

0b43f7e6248c

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