Home / Servers / Cloudflare API / email_sending_subdomains_preview_sending_subdomain

Preview sending subdomain DNS

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

Preview sending subdomain DNS Returns the DNS records that would be created for a sending subdomain, flags which records are… [POST /zones/{zone_id}/email/sending/subdomains/preview]

Name on the gateway: cloudflare_api__email_sending_subdomains_preview_sending_subdomain · may change things.

Parameters

NameTypeDescription
zone_id requiredstringzone_id parameter
name requiredstringThe domain name within the zone. A wildcard is…

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__email_sending_subdomains_preview_sending_subdomain",
  "arguments": {
    "zone_id": "…",
    "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 preview sending subdomain dns tool with zone_id set to ….

More from Cloudflare API