Claude MCP + Cloudflare Access auth trap: slow connection leads to repeated clicks and 400 errors

nomad_maker · x · 2026-11-05

Developer nomadmaker documents a painful Cloudflare Access + Claude MCP authentication flow: connecting an MCP server redirects to Cloudflare Access for approval, and while auth actually succeeds after clicking "Allow", Claude takes up to 10 seconds to complete the connection — during which the approval page still shows an active "Allow" button.

Because the approval link is single-use, clicking again triggers a 400 "Invalid login session" error, making users think the connection failed and retry repeatedly or contact support, when the first attempt already succeeded.

The author calls on Cloudflare (disable the button after first click or show a clear error) and Anthropic (don't take 10 seconds) to fix this. Investigated after several customer reports.

Related event: Cloudflare Access and Claude MCP authentication conflict fixed(2 posts)→

Original post →

More from coding & agent

coding & agent channel →