This guide walks you through connecting Memberspot to Mastra AI using the Composio tool router. By the end, you'll have a working Memberspot agent that can list all users enrolled in a course, find a user by their email address, revoke access to a specific offer for a user, generate a one-hour login token for a user through natural language commands.
This guide will help you understand how to give your Mastra AI agent real control over a Memberspot account through Composio's Memberspot MCP server.
Before we dive in, let's take a quick look at the key ideas and tools involved.








