This guide walks you through connecting Firmao to Mastra AI using the Composio tool router. By the end, you'll have a working Firmao agent that can list all invoices created this month, get details for invoice id 12345, delete a contact named john doe, retrieve offer details for offer id 9876 through natural language commands.
This guide will help you understand how to give your Mastra AI agent real control over a Firmao account through Composio's Firmao MCP server.
Before we dive in, let's take a quick look at the key ideas and tools involved.









