MCP OAuth Cloudflare
•published 2026/02/01
Add OAuth authentication to MCP servers on Cloudflare Workers. Uses @cloudflare/workers-oauth-provider with Google OAuth for Claude.ai-compatible authentication. Prevents 9 documented errors including RFC 8707 audience bugs, Claude.ai connection failures, and CSRF vulnerabilities. Use when building MCP servers that need user authentication, implementing Dynamic Client Registration (DCR) for Claude.ai, or replacing static auth tokens with OAuth flows. Includes workarounds for production redirect URI mismatches and re-auth loop issues.
📦 Install Skill
Command line install
Install directly with the `skills` CLI.
npx skills add ma1orek/replay/skills/mcp-oauth-cloudflareFile Explorer
No file selected
Select a file to view its content

