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 your domain, list all firewall rules for zone, show members of your cloudflare account 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.









