·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