🔐 OAuth 2.1 Debugger
Validate the complete OAuth 2.1 setup of any remote MCP endpoint — the same checks real MCP clients perform.
Reference — the OAuth 2.1 handshake MCP clients expect
- 401 challenge.
POST /mcp initializewithout a token → HTTP 401 withWWW-Authenticate: Bearer resource_metadata="…". - RFC 9728 protected-resource metadata at
/.well-known/oauth-protected-resource(path-aware variants allowed):{ "resource": "https://mcp.example.com/mcp", "authorization_servers": ["https://auth.example.com"], "scopes_supported": ["read"], "bearer_methods_supported": ["header"] } - RFC 8414 authorization-server metadata at
/.well-known/oauth-authorization-server(or OIDC discovery), withauthorization_endpoint,token_endpoint,registration_endpoint(DCR, RFC 7591) andcode_challenge_methods_supported: ["S256"]. - PKCE S256 + DCR — the client registers itself dynamically and completes the code flow with an S256 challenge.
- CORS — browsers need
Access-Control-Allow-Origin, allow headersContent-Type, Authorization, Mcp-Session-Id, and exposeMcp-Session-Id+WWW-Authenticate.