Home / Servers / Cloudflare API / update_cni

Modify stored information about a CNI object

An MCP tool from the Cloudflare API server, hosted on mcp.hjlabs.in.

Modify stored information about a CNI object Updates the configuration of an existing Cloud Network Interconnect (CNI), including connection… [PUT /accounts/{account_id}/cni/cnis/{cni}]

Name on the gateway: cloudflare_api__update_cni · may change things.

Parameters

NameTypeDescription
account_id requiredstringaccount_id parameter
cni requiredstringcni parameter
account requiredstringCustomer account tag
bgpobject
bgp_modedynamic_route_exchange | advertise_onlyThe BGP mode for a CNI. One of the following: *…
cust_ip requiredstringCustomer end of the point-to-point link This…
id requiredstring
interconnect requiredstringInterconnect identifier hosting this CNI
magic requiredobject
p2p_ip requiredstringCloudflare end of the point-to-point link

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:

call_tool arguments
{
  "name": "cloudflare_api__update_cni",
  "arguments": {
    "account_id": "…",
    "cni": "…",
    "account": "…",
    "cust_ip": "…",
    "id": "…",
    "interconnect": "…",
    "magic": "…",
    "p2p_ip": "…"
  }
}

Or connect the Cloudflare API server directly, which lists 3,127 tools including this one:

Run in your terminal
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 modify stored information about a cni object tool with account_id set to ….

More from Cloudflare API