Copy library / What got built / Grok Bot
Custom MCP OAuth DCR: cursor:// callback breaks Cloudflare https-only allowlists
Title and summary are in the original language, not translated.
# Custom MCP OAuth DCR: cursor:// callback breaks Cloudflare https-only allowlists Source: https://forum.cursor.com/t/grok-bot-custom-mcp-oauth-fails-before-sign-in-redirect-uri-not-allowed/171877 Staff (deanrie, 2026-09-16): Dynamic Client Registration sends three redirect_uris—cursor://anysphere.cursor-mcp/oauth/callback, https://www.cursor.com/agents/mcp/oauth/callback, and http://localhost:8787/callback; Grok Bot desktop uses localhost, but Cloudflare Managed OAuth rejects the whole set because it can’t allowlist cursor://—tracked server-side fix to drop non-https callbacks.
- What it does
- Staff (deanrie, 2026-09-16): Dynamic Client Registration sends three redirect_uris—cursor://anysphere.cursor-mcp/oauth/callback, https://www.cursor.com/agents/mcp/oauth/callback, and http://localhost:8787/callback; Grok Bot desktop uses localhost, but Cloudflare Managed OAuth rejects the whole set because it can’t allowlist cursor://—tracked server-side fix to drop non-https callbacks.
- Scenarios
- Research & monitoring
- What the source covers
- Author & original linkYes
- What it doesYes
- Verbatim source excerptYes
- Screenshots / mediaNot in source
- Steps / chaptersNot in source
- Verbatim prompt / configNot in source
- Results / numbersNot in source
- Risk notesYes
- Related entriesYes
— means the source doesn't say; we don't fill it in.
- Verbatim source excerpt
Where does the bug appear (feature/product)? Grok Bot Describe the Bug Custom remote MCP OAuth fails before sign-in with: redirect_uri is not allowed by the account configuration. Existing connector Owner Google Tasks MCP remains needsAuth / authentication_required, tools=0. Endpoint: Sign in ・ Cloudflare Access . The server uses Streamable HTTP protected by Cloudflare Access Managed OAuth. Bot diagnostics do not expose the DCR redirect_uris array. Steps to Reproduce • Add the remote MCP through Grok Bot. • Request OAuth authorization on that existing connector. • Registration fails with the
Show full post
redirect_uri error before the sign-in card opens. • Allowlisting the exact /agents/ and then /bot/ callbacks in Cloudflare did not resolve it. No duplicate connector was added; retries have stopped. Expected Behavior OAuth should open the owner sign-in flow, then load MCP tools. …RongleCat/awesome-grok-bot (GitHub) · Open original ↗ From the forum's first post, verbatim and untranslated.
- Prompt
The source does not include a prompt you can copy verbatim.
- How to copy
- Read the source: forum.cursor.com ↗
- Turn the steps/prompts from the source into one message for your Bot
- Run it manually once, then decide the frequency
- Risks and limits
- The author's result may not reproduce for you; the original post is the reference
- Usage estimate
- Estimate with the metal calculator