Home / Servers / Cloudflare API / create_ip_profile

Create IP profile

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

Create IP profile Creates a WARP Device IP profile. Currently, only IPv4 Device subnets can be associated. [POST /accounts/{account_id}/devices/ip-profiles]

Name on the gateway: cloudflare_api__create_ip_profile · may change things.

Parameters

NameTypeDescription
account_id requiredstringaccount_id parameter
descriptionstringAn optional description of the Device IP profile.
enabledbooleanWhether the Device IP profile will be applied to…
match requiredstringThe wirefilter expression to match…
name requiredstringA user-friendly name for the Device IP profile.
precedence requiredintegerThe precedence of the Device IP profile. Lower…
subnet_id requiredstringThe ID of the Subnet.

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__create_ip_profile",
  "arguments": {
    "account_id": "…",
    "match": "…",
    "name": "…",
    "precedence": 0,
    "subnet_id": "…"
  }
}

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 create ip profile tool with account_id set to ….

More from Cloudflare API