Logo
Agent Skills Guide

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-cloudflare

Local download

Download only this skill directory.

Download MCP OAuth Cloudflare only
File Explorer
0 files
No file selected
readonly

Select a file to view its content