Home / Servers / Cloudflare API / email_security_create_trusted_domain

Create trusted email domain

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

Create trusted email domain Creates a new trusted domain pattern. Use for partner domains or approved senders that should… [POST /accounts/{account_id}/email-security/settings/trusted_domains]

Name on the gateway: cloudflare_api__email_security_create_trusted_domain · may change things.

Parameters

NameTypeDescription
account_id requiredstringaccount_id parameter
commentsstring
created_atstring
idstringTrusted domain identifier.
is_recent requiredbooleanSelect to prevent recently registered domains…
is_regex requiredbooleanWhether pattern is a regular expression instead…
is_similarity requiredbooleanSelect for partner or other approved domains…
last_modifiedstringDeprecated, use modified_at instead. End of…
modified_atstring
pattern requiredstringThe domain pattern to trust, e.g. example.com.

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_security_create_trusted_domain",
  "arguments": {
    "account_id": "…",
    "is_recent": true,
    "is_regex": true,
    "is_similarity": true,
    "pattern": "…"
  }
}

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 trusted email domain tool with account_id set to ….

More from Cloudflare API