This guide walks you through connecting Cloudflare to Mastra AI using the Composio tool router. By the end, you'll have a working Cloudflare agent that can add new a record for my domain, list all firewall rules for zone, show members of my cloudflare account, delete a dns record by name through natural language commands.
This guide will help you understand how to give your Mastra AI agent real control over a Cloudflare account through Composio's Cloudflare MCP server.
Before we dive in, let's take a quick look at the key ideas and tools involved.








