Home / Servers / Cloudflare API / ip_address_management_prefixes_update_bgp_prefix
Update BGP Prefix
An MCP tool from the Cloudflare API server, hosted on mcp.hjlabs.in.
Update BGP Prefix Update the properties of a BGP Prefix, such as the on demand advertisement status (advertised or… [PATCH /accounts/{account_id}/addressing/prefixes/{prefix_id}/bgp/prefixes/{bgp_prefix_id}]
Name on the gateway: cloudflare_api__ip_address_management_prefixes_update_bgp_prefix · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
account_id required | string | account_id parameter |
prefix_id required | string | prefix_id parameter |
bgp_prefix_id required | string | bgp_prefix_id parameter |
asn_prepend_count | integer | Number of times to prepend the Cloudflare ASN to… |
auto_advertise_withdraw | boolean | Determines if Cloudflare advertises a BYOIP BGP… |
on_demand | object |
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__ip_address_management_prefixes_update_bgp_prefix",
"arguments": {
"account_id": "…",
"prefix_id": "…",
"bgp_prefix_id": "…"
}
}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 update bgp prefix tool with account_id set to ….