How to Use the Dog CEO MCP in Mastra AI
Build reliable automated dog-data workflows in Mastra AI with the Dog CEO MCP Server.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Dog CEO MCP to Mastra AI
Create your Vinkius account to connect Dog CEO to Mastra AI and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Automated breed lists for Mastra AI workflows
Trigger `list_dog_breeds` within your agent's task chain to ensure you have the latest taxonomy. Mastra AI can then parse this list to make decisions about which breeds to research next. It handles the data retrieval as a background task. If the connection drops, your defined retry logic kicks in automatically to keep the workflow moving.
Trigger conditional image fetches with MCP Server
Use `get_random_dog_image` as a conditional step in your agent's decision tree. If your agent determines a user needs visual proof of a breed, it calls the tool and proceeds based on the result. This removes the need for manual image searching. The agent executes the entire process from data request to final output without you touching the keyboard.
Reliable breed-specific retrieval in Mastra AI
Call `get_dog_by_breed` to inject specific images into your multi-step pipelines. By setting up tool approval, you keep a human in the loop before the agent confirms the final image selection. This ensures your workflows remain predictable. You get exact results for the breeds you define, with error handling built into the agent's execution path.
Set up Dog CEO MCP in Mastra AI
Prerequisites
- Node.js 18+ and a TypeScript project
-
@mastra/mcp+@mastra/corepackages - Active Vinkius subscription with a valid endpoint token
- 1
Install dependencies
Run
npm install @mastra/mcp @mastra/coreplus your preferred model provider (e.g.@ai-sdk/openai). - 2
Configure the MCPClient
Create an
MCPClientwith your Vinkius endpoint as aURLobject. Replace[YOUR_TOKEN_HERE]with your token from cloud.vinkius.com. - 3
Discover and inject tools
Call
mcpClient.listTools()and spread the result into your agent'stoolsobject. All Dog CEO tools become native Mastra tools. - 4
Run with any model
Swap
openai("gpt-4o")for any AI SDK-compatible provider. Callagent.generate()and the agent routes tool calls through MCP automatically.
import { MCPClient } from "@mastra/mcp";
import { Agent } from "@mastra/core/agent";
import { openai } from "@ai-sdk/openai";
const mcpClient = new MCPClient({
id: "dog-ceo-mcp-client",
servers: {
"dog-ceo-mcp": {
url: new URL(
"https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
),
},
},
});
const agent = new Agent({
name: "Dog CEO Agent",
model: openai("gpt-4o"),
instructions: "You have access to Dog CEO tools.",
tools: {
...(await mcpClient.listTools()),
},
});
const result = await agent.generate(
"List recent Dog CEO transactions"
);
console.log(result.text); Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Dog CEO. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Dog CEO MCP in Mastra AI
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Dog CEO MCP today
We host it, we monitor it, we maintain it. You just paste one token.