How to Use the Breezy HR MCP in Mastra AI
Run reliable, multi-step Breezy HR workflows with Mastra AI agents that handle retries and pipeline failures.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Breezy HR MCP to Mastra AI
Create your Vinkius account to connect Breezy HR 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.
Self-healing MCP Server pipelines
Hiring pipelines break when external APIs hiccup. Mastra AI solves this by wrapping Breezy HR tools like `move_candidate` in structured workflows. If a stage transition fails because of a network glitch, Mastra automatically backs off and retries the action until it succeeds. Your agent uses `list_stages` to check the pipeline structure before executing any moves. If a stage is missing or renamed, the workflow halts and triggers an alert instead of silently failing.
Automated candidate onboarding setups
When a new applicant comes in, you need to do more than just save a name. Mastra runs a multi-step sequence that starts with `create_candidate` and immediately chains it to `list_task_templates`. The system automatically assigns the right onboarding tasks based on the target role. It pulls job requirements using `get_position` to determine which tasks fit. If any step fails, the workflow engine logs the state and retries, ensuring no applicant gets stuck in limbo.
Secure human-in-the-loop hiring actions
You do not want an agent posting random jobs to your public boards. This Mastra AI integration supports explicit tool approval before executing sensitive actions like `create_position`. The agent drafts the role, pauses execution, and waits for a manager's confirmation. Once approved, the agent publishes the job and verifies it using `list_positions`. This gives you the speed of automation without giving up control over your public-facing job listings.
Set up Breezy HR 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 Breezy HR 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: "breezy-hr-mcp-client",
servers: {
"breezy-hr-mcp": {
url: new URL(
"https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
),
},
},
});
const agent = new Agent({
name: "Breezy HR Agent",
model: openai("gpt-4o"),
instructions: "You have access to Breezy HR tools.",
tools: {
...(await mcpClient.listTools()),
},
});
const result = await agent.generate(
"List recent Breezy HR 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 Breezy HR. 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 Breezy HR MCP in Mastra AI
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Breezy HR MCP today
We host it, we monitor it, we maintain it. You just paste one token.