Update
Forbidden Rules can name domains and resources
TL;DR
Forbidden Rules gained a Domains & resources section. A rule can allow only the resources you list — "MCP can only manage example.com on Cloudflare" — or stop calls that touch them. Rules are drafted from plain words, tested with Test this rule, saved off and turned on from the list.
What changed
- Domains & resources: Every resource (as before), Allow ONLY these, or Stop these, with a list — Cloudflare domains (a domain covers its subdomains), Google Ads campaign, ad group and ad ids, Search Console sites and GitHub repositories.
- Allow ONLY these fails closed: a call outside the list is stopped, and so is a call that names no resource. The list is tied to its platform, so other platforms are not affected.
- Zone ids found for you: when a Cloudflare domain is saved, its zone id is looked up with the workspace's own tokens, so a call that names the zone by id is matched too.
- Plain words: "Describe it in words" drafts the platform, Who ("MCP" means API keys and connected apps), the actions and the resource list from one sentence. Checked with the real model on five phrasings in English and Chinese.
- Test this rule says what would be blocked and why — for example that other.com is outside the allowed list — before the rule is on.
- Refusals say what matched: the agent sees the rule and the reason; nothing is sent to the platform.
Tested end to end with a real Cloudflare token: changes, a Worker deploy and a raw request outside the allowed domain were refused; a record on the allowed domain was created and deleted. How-to: Limit an AI agent to specific domains · Forbidden Rules · Cloudflare guide.
Frequently asked questions
- Can I keep an MCP client to one domain on Cloudflare?
- Yes. Describe it in words — "MCP can only manage example.com on Cloudflare" — check the draft, test it and turn it on. Changes on any other domain are refused before they are sent.
- Does the rule stop reads too?
- Only if it covers Read. A rule that covers Make changes and Delete leaves reading open.