Home / Servers / Cloudflare API / origin_cloud_regions_v2_upsert
Create or replace an origin cloud region mapping
An MCP tool from the Cloudflare API server, hosted on mcp.hjlabs.in.
Create or replace an origin cloud region mapping Creates a new IP-to-cloud-region mapping or replaces the existing mapping for the specified IP.… [PUT /zones/{zone_id}/origin/cloud_regions/{origin_ip}]
Name on the gateway: cloudflare_api__origin_cloud_regions_v2_upsert · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
zone_id required | string | zone_id parameter |
origin_ip required | string | origin_ip parameter |
body_origin_ip required | string | Origin IP address (IPv4 or IPv6). For the single… |
region required | string | Cloud vendor region identifier. Must be a valid… |
vendor required | aws | azure | gcp | oci | Cloud vendor hosting the origin. Must be one of… |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "cloudflare_api__origin_cloud_regions_v2_upsert",
"arguments": {
"zone_id": "…",
"origin_ip": "…",
"body_origin_ip": "…",
"region": "…",
"vendor": "…"
}
}Or connect the Cloudflare API server directly, which lists 3,127 tools including this one:
claude mcp add --transport http hj-cloudflare-api https://mcp.hjlabs.in/mcp/cloudflare-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the create or replace an origin cloud region mapping tool with zone_id set to ….