Response
mcp_oauth is omitted here like mcp_url would be if unset — both fields drop from the response rather than printing false/"" when they don’t apply.
Typical custom-UI flow
- Fetch widget-config on load.
- If
captcha_required, load reCAPTCHA v3 withrecaptcha_site_keyand obtain a token before each chat call (X-Captcha-Tokenheader, orcaptcha_tokenon WebSocket frames). - Respect
hide_branding_allowedwhen deciding whether to show attribution. - If
mcp_available, offer readers the MCP install — usingmcp_urlwhen it’s set.