Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Goodsmileduck/claude-registry --skill cloudflare-access-mcpgit clone --depth 1 https://github.com/Goodsmileduck/claude-registryWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/goodsmileduck/claude-registry/cloudflare-access-mcp)<a href="https://agentmods.dev/skills/goodsmileduck/claude-registry/cloudflare-access-mcp"><img src="https://agentmods.dev/badge/skills/goodsmileduck/claude-registry/cloudflare-access-mcp/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/goodsmileduck/claude-registry/cloudflare-access-mcp"><img src="https://agentmods.dev/badge/skills/goodsmileduck/claude-registry/cloudflare-access-mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00164 | $0.02279 |
| Opus 5 | $0.00082 | $0.01140 |
| Sonnet 5 | $0.00033 | $0.00456 |
| Haiku 4.5 | $0.00016 | $0.00228 |
Grade A, and why
cloudflare-access-mcp scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- [ ] `curl -s https://<mcp-host>/.well-known/oauth-authorization-server | jq .` returns issuer + authorization_endpoint + token_endpoint + registration_endpoint. How it starts
The opening of the file, as written. The whole thing — 126 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Cloudflare → MCP server OAuth/SSO
Three real paths, pick by use case.
Decision matrix
| Path | When | Effort | Limit |
|---|---|---|---|
| A — AI Controls MCP Portal (REST) | You have one or more MCP URLs that already exist (public Workers MCPs, vendor MCPs). You want one portal URL fronting them with OAuth, plus per-tool/per-prompt toggles and Access logging. | 1 IdP step + 1 POST per server + 1 dashboard step | auth_type is oauth / bearer / unauthenticated only — no Cloudflare Access service-token (dual-header) auth to upstream. Portal composition is dashboard-driven; only server registration is REST today. |
| B — Self-hosted Access app + Managed OAuth (REST) | Per-hostname OAuth on your own origin. No portal hop. Origin can be private (behind cloudflared tunnel) or any public URL. Native MCP-spec OAuth (DCR, /authorize, /token, .well-known/*) at your hostname. | ~6 API calls per server (+ tunnel if private) | More moving parts. Five known footguns — see Hard rules. |
| C — Same as B, in Terraform/OpenTofu | You already have IaC for Cloudflare. Multi-environment parity matters. PR-reviewed access changes. | Heaviest setup, smallest per-server delta | Wrong for one-offs. If a project has no Cloudflare IaC yet, pick A or B. |
The cf CLI also exposes these endpoints — preview only; the REST recipes here are the stable contract. See the cloudflare-cf-cli skill for cf posture.
When to invoke
- "Put my MCP server behind Cloudflare", "add OAuth to my MCP server", "expose private MCP server", "MCP portal", "AI Controls MCP", "MCP Managed OAuth", "MCP DCR".
- Adding another MCP server to an existing setup (Path A: another POST; Path B/C: another API call / tfvars entry).
- Choosing between paths — present the matrix above.
Inputs to collect first
| Input | Why | Example |
|---|---|---|
| Cloudflare account ID + zone ID | Account- and zone-scoped resources | from dash sidebar |
| MCP URL(s) | Path A: the upstream hostname. Path B/C: the public FQDN you'll publish |
https://mcp.github.com/mcp (A) or notion-mcp.example.com (B/C) |
| Path B/C: origin reachability from cloudflared | Tunnel ingress service (only if origin is private) |
http://notion-mcp:3100 |
| IdP + client id + secret location | Cloudflare needs an Identity Provider before any path works | Google; AWS SM cf/google-oauth |
| Zero Trust team domain | <team>.cloudflareaccess.com; permanent; dashboard |
mycorp |
| Allowlist | Who can sign in | ["example.com"] |
| Session duration | Edge auth cache TTL | "24h" |
What ships with it
12 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- evals/managed-oauth-vs-mcp-remote.json 1.5 KB
- evals/otp-fallback-bypass.json 1.6 KB
- evals/pick-the-path.json 1.7 KB
- evals/policy-session-duration-override.json 1.2 KB
- references/recipes/access-app-rest.md 7.8 KB
- references/recipes/ai-controls-portal.md 6.4 KB
- references/recipes/idp-setup.md 2.1 KB
- references/templates/google_idp.tf 887 B
- references/templates/main.tf 2.5 KB
- references/templates/tunnel.tf 1.9 KB
- references/templates/variables.tf 2.6 KB
- scripts/validate_access_mcp.py 11 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 9d ago First seen · 126 lines · 164 tokens per session scan A befca38b066f
cloudflare-access-mcp is a skill published in the GitHub repository Goodsmileduck/claude-registry (1 stars, last pushed 1mo ago), licensed MIT. It adds 164 tokens to every session and 2,279 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
devops-best-practices
Opinionated production-grade DevOps defaults for Terraform, Kubernetes, CI/CD, Docker, cloud security, observability, cost, and disaster recovery. ALWAYS use when generating, reviewing, or modifying any infrastructure code, Kubernetes manifests (Deployment, Service, StatefulSet, Helm, Kustomize), Terraform (.tf…
cloudflare-temporary-deploy
Deploy a Worker live, no account, via wrangler --temporary.
tensorrt-llm
High-throughput LLM inference on NVIDIA GPUs.
stripe-projects
Provision SaaS services + sync creds via Stripe Projects.
cloud-sync
Set up or check claude-mem cloud sync with cmem.ai Pro. Use when the user says "set up cloud sync", "sync my memories", "cmem pro", "cloud backup", "sync status", or wants their memory database backed up or synced to their cmem.ai account.
cli-backup-sync
Backup and restore OmniRoute data from the CLI. Trigger incremental snapshots, sync to cloud storage, manage backup schedules, and restore from archive files.