Skip to main content
Glama

cloudflare_ip_access_create

Create IP access rules to block, challenge, whitelist, or apply JS challenges to specific IPs, CIDR ranges, ASNs, or countries for Cloudflare zones.

Instructions

Create an IP access rule for a zone. Targets can be a specific IP, CIDR range, ASN, or country code.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
zone_idYesZone ID (32-char hex) or zone name (e.g., 'example.com')
modeYesAction mode for the rule
targetYesType of target to match
valueYesValue to match: IP address (192.0.2.1), CIDR (192.0.2.0/24), ASN number (AS12345), or 2-letter country code (US)
notesNoOptional notes describing why the rule was created

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/itunified-io/mcp-cloudflare'

If you have feedback or need assistance with the MCP directory API, please join our Discord server