·mcp oauth cloudflare
!

mcp oauth cloudflare

jezweb/claude-skills

將 OAuth 身份驗證添加到 Cloudflare Workers 上的 MCP 服務器。使用 @cloudflare/workers-oauth-provider 和 Google OAuth 進行與 Claude.ai 兼容的身份驗證。防止 9 個已記錄的錯誤,包括 RFC 8707 受眾錯誤、Claude.ai 連接失敗和 CSRF 漏洞。 在構建需要用戶身份驗證的 MCP 服務器、為 Claude.ai 實施動態客戶端註冊 (DCR) 或用 OAuth 流替換靜態身份驗證令牌時使用。包括生產重定向 URI 不匹配和重新身份驗證循環問題的解決方法。

294安裝·6熱度·@jezweb

安裝

$npx skills add https://github.com/jezweb/claude-skills --skill mcp oauth cloudflare

SKILL.md

Production-ready OAuth authentication for MCP servers on Cloudflare Workers.

When using a third-party OAuth provider (like Google), the MCP Server acts as both an OAuth client (to upstream service) and as an OAuth server (to MCP clients). The Worker:

Critical: The MCP server generates and issues its own token rather than passing through the third-party token. This is essential for security and spec compliance.

將 OAuth 身份驗證添加到 Cloudflare Workers 上的 MCP 服務器。使用 @cloudflare/workers-oauth-provider 和 Google OAuth 進行與 Claude.ai 兼容的身份驗證。防止 9 個已記錄的錯誤,包括 RFC 8707 受眾錯誤、Claude.ai 連接失敗和 CSRF 漏洞。 在構建需要用戶身份驗證的 MCP 服務器、為 Claude.ai 實施動態客戶端註冊 (DCR) 或用 OAuth 流替換靜態身份驗證令牌時使用。包括生產重定向 URI 不匹配和重新身份驗證循環問題的解決方法。 來源:jezweb/claude-skills。

查看原文

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/jezweb/claude-skills --skill mcp oauth cloudflare
分類
!安全工具
認證
收錄時間
2026-02-01
更新時間
2026-02-18

快速解答

什麼是 mcp oauth cloudflare?

將 OAuth 身份驗證添加到 Cloudflare Workers 上的 MCP 服務器。使用 @cloudflare/workers-oauth-provider 和 Google OAuth 進行與 Claude.ai 兼容的身份驗證。防止 9 個已記錄的錯誤,包括 RFC 8707 受眾錯誤、Claude.ai 連接失敗和 CSRF 漏洞。 在構建需要用戶身份驗證的 MCP 服務器、為 Claude.ai 實施動態客戶端註冊 (DCR) 或用 OAuth 流替換靜態身份驗證令牌時使用。包括生產重定向 URI 不匹配和重新身份驗證循環問題的解決方法。 來源:jezweb/claude-skills。

如何安裝 mcp oauth cloudflare?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/jezweb/claude-skills --skill mcp oauth cloudflare 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

這個 Skill 的原始碼在哪?

https://github.com/jezweb/claude-skills