Home / Servers / Cloudflare API / dns_settings_for_an_account_create_custom_nameserver_set

Create Custom Nameserver Set

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

Create Custom Nameserver Set Creates a named Custom Nameserver Set. Only the customer-defined name can be changed later. To… [POST /accounts/{account_id}/dns_settings/nameserver_sets]

Name on the gateway: cloudflare_api__dns_settings_for_an_account_create_custom_nameserver_set · may change things.

Parameters

NameTypeDescription
account_id requiredstringaccount_id parameter
advancedbooleanWhether to allocate the nameservers from…
ip_setintegerSelects the account-specific IP set that…
name requiredstringCustomer-defined name, unique within the account…
nameservers requiredarrayLists each nameserver and the number 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:

call_tool arguments
{
  "name": "cloudflare_api__dns_settings_for_an_account_create_custom_nameserver_set",
  "arguments": {
    "account_id": "…",
    "name": "…",
    "nameservers": []
  }
}

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 custom nameserver set tool with account_id set to ….

More from Cloudflare API