Home / Servers / Cloudflare API / tenant_level_custom_nameservers_add_tenant_custom_nameserver

Add Tenant Custom Nameserver

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

Add Tenant Custom Nameserver Adds a custom nameserver for a tenant. [POST /tenants/{tenant_id}/custom_ns]

Name on the gateway: cloudflare_api__tenant_level_custom_nameservers_add_tenant_custom_nameserver · may change things.

Parameters

NameTypeDescription
tenant_id requiredstringtenant_id parameter
ns_name requiredstringThe FQDN of the name server.
ns_setnumberThe number of the set that this name server…

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__tenant_level_custom_nameservers_add_tenant_custom_nameserver",
  "arguments": {
    "tenant_id": "…",
    "ns_name": "…"
  }
}

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

More from Cloudflare API