This guide walks you through connecting Leverly to Mastra AI using the Composio tool router. By the end, you'll have a working Leverly agent that can show all current ingestion reattempts, stop reattempts for a specific lead, list reattempts history for lead 1234, halt all retries for failed lead imports through natural language commands.
This guide will help you understand how to give your Mastra AI agent real control over a Leverly account through Composio's Leverly MCP server.
Before we dive in, let's take a quick look at the key ideas and tools involved.









