This guide walks you through connecting Zep to Mastra AI using the Composio tool router. By the end, you'll have a working Zep agent that can store and retrieve agent memory, manage threads and sessions, search knowledge graphs, add facts, and manage users through natural language commands.
This guide will help you understand how to give your Mastra AI agent real control over a Zep account through Composio's Zep MCP server.
Before we dive in, let's take a quick look at the key ideas and tools involved.
For exact tool slugs and parameter tables, see the tool catalog in the Composio docs.






