This guide walks you through connecting Tapfiliate to Mastra AI using the Composio tool router. By the end, you'll have a working Tapfiliate agent that can create and manage affiliates, track conversions and commissions, review balances, record payments, and organize affiliate groups through natural language commands.
This guide will help you understand how to give your Mastra AI agent real control over a Tapfiliate account through Composio's Tapfiliate MCP server.
Before we dive in, let's take a quick look at the key ideas and tools involved.


