This guide walks you through connecting Livesession to Mastra AI using the Composio tool router. By the end, you'll have a working Livesession agent that can show most recent user sessions from today, list sessions from users in germany, find sessions with rage clicks this week, get all sessions for a specific url through natural language commands.
This guide will help you understand how to give your Mastra AI agent real control over a Livesession account through Composio's Livesession MCP server.
Before we dive in, let's take a quick look at the key ideas and tools involved.








