Home / Servers / Cloudflare API / notification_policies_create_a_notification_policy

Create a Notification policy

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

Create a Notification policy Creates a new Notification policy. [POST /accounts/{account_id}/alerting/v3/policies]

Name on the gateway: cloudflare_api__notification_policies_create_a_notification_policy · may change things.

Parameters

NameTypeDescription
account_id requiredstringaccount_id parameter
alert_intervalstringOptional specification of how often to re-alert…
alert_type requiredstringRefers to which event will trigger a…
descriptionstringOptional description for the Notification policy.
enabled requiredbooleanWhether or not the Notification policy is enabled.
filtersobjectOptional filters that allow you to be alerted…
mechanisms requiredobjectList of IDs that will be used when dispatching a…
name requiredstringName of the policy.

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__notification_policies_create_a_notification_policy",
  "arguments": {
    "account_id": "…",
    "alert_type": "…",
    "enabled": true,
    "mechanisms": "…",
    "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 create a notification policy tool with account_id set to ….

More from Cloudflare API