This guide walks you through connecting Ngrok to Mastra AI using the Composio tool router. By the end, you'll have a working Ngrok agent that can list all active tunnels and endpoints, show https edges currently configured, list all api keys for my account, get details for a specific ip restriction through natural language commands.
This guide will help you understand how to give your Mastra AI agent real control over a Ngrok account through Composio's Ngrok MCP server.
Before we dive in, let's take a quick look at the key ideas and tools involved.









