This guide walks you through connecting Linkly to Mastra AI using the Composio tool router. By the end, you'll have a working Linkly agent that can create a tracking link for new product, list all active tracking links, add a retargeting tag to a link through natural language commands.
This guide will help you understand how to give your Mastra AI agent real control over a Linkly account through Composio's Linkly MCP server.
Before we dive in, let's take a quick look at the key ideas and tools involved.


