This guide walks you through connecting Buildkite to Mastra AI using the Composio tool router. By the end, you'll have a working Buildkite agent that can list all connected agents for my org, fetch buildkite api metadata for firewall setup, verify my buildkite api access token details, show pipeline agents filtered by status through natural language commands.
This guide will help you understand how to give your Mastra AI agent real control over a Buildkite account through Composio's Buildkite MCP server.
Before we dive in, let's take a quick look at the key ideas and tools involved.









