2,500+ MCP servers ready to use
Vinkius

BrioHR MCP Server for Mastra AI 10 tools — connect in under 2 minutes

Built by Vinkius GDPR 10 Tools SDK

Mastra AI is a TypeScript-native agent framework built for modern web stacks. Connect BrioHR through Vinkius and Mastra agents discover all tools automatically. type-safe, streaming-ready, and deployable anywhere Node.js runs.

Vinkius supports streamable HTTP and SSE.

typescript
import { Agent } from "@mastra/core/agent";
import { createMCPClient } from "@mastra/mcp";
import { openai } from "@ai-sdk/openai";

async function main() {
  // Your Vinkius token. get it at cloud.vinkius.com
  const mcpClient = await createMCPClient({
    servers: {
      "briohr": {
        url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
      },
    },
  });

  const tools = await mcpClient.getTools();
  const agent = new Agent({
    name: "BrioHR Agent",
    instructions:
      "You help users interact with BrioHR " +
      "using 10 tools.",
    model: openai("gpt-4o"),
    tools,
  });

  const result = await agent.generate(
    "What can I do with BrioHR?"
  );
  console.log(result.text);
}

main();
BrioHR
Fully ManagedVinkius Servers
60%Token savings
High SecurityEnterprise-grade
IAMAccess control
EU AI ActCompliant
DLPData protection
V8 IsolateSandboxed
Ed25519Audit chain
<40msKill switch
Stream every event to Splunk, Datadog, or your own webhook in real-time

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure

About BrioHR MCP Server

Connect your AI agents to BrioHR, the all-in-one HR software designed to simplify the management of your greatest asset: your people. This MCP provides 10 tools to automate HR data orchestration, from employee record synchronization and leave monitoring to claim report retrieval and recruitment oversight.

Mastra's agent abstraction provides a clean separation between LLM logic and BrioHR tool infrastructure. Connect 10 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.

What you can do

  • Employee Insights — Download main information for all employees and retrieve detailed individual profiles including roles and departments
  • Time-Off Orchestration — Monitor who is away within specific date ranges and retrieve detailed leave requests for any employee
  • Financial Integration — Access approved claim reports for external payroll/accounting syncing and monitor monthly payroll summaries
  • Talent Acquisition — List active job postings and monitor candidates through the recruitment pipeline
  • Performance & Org — Track performance appraisal cycles and inspect organizational department structures

The BrioHR MCP Server exposes 10 tools through the Vinkius. Connect it to Mastra AI in under two minutes — no API keys to rotate, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.

How to Connect BrioHR to Mastra AI via MCP

Follow these steps to integrate the BrioHR MCP Server with Mastra AI.

01

Install dependencies

Run npm install @mastra/core @mastra/mcp @ai-sdk/openai

02

Replace the token

Replace [YOUR_TOKEN_HERE] with your Vinkius token

03

Run the agent

Save to agent.ts and run with npx tsx agent.ts

04

Explore tools

Mastra discovers 10 tools from BrioHR via MCP

Why Use Mastra AI with the BrioHR MCP Server

Mastra AI provides unique advantages when paired with BrioHR through the Model Context Protocol.

01

Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add BrioHR without touching business code

02

Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation

03

TypeScript-native: full type inference for every BrioHR tool response with IDE autocomplete and compile-time checks

04

One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure

BrioHR + Mastra AI Use Cases

Practical scenarios where Mastra AI combined with the BrioHR MCP Server delivers measurable value.

01

Automated workflows: build multi-step agents that query BrioHR, process results, and trigger downstream actions in a typed pipeline

02

SaaS integrations: embed BrioHR as a first-class tool in your product's AI features with Mastra's clean agent API

03

Background jobs: schedule Mastra agents to query BrioHR on a cron and store results in your database automatically

04

Multi-agent systems: create specialist agents that collaborate using BrioHR tools alongside other MCP servers

BrioHR MCP Tools for Mastra AI (10)

These 10 tools become available when you connect BrioHR to Mastra AI via MCP:

01

get_employee_details

Get detailed profile for a specific employee

02

get_payroll_summary

Get payroll overview for a specific month

03

get_who_is_away

List employees who are currently away or scheduled for leave

04

list_claim_reports

Retrieve approved claim reports for payroll integration

05

list_departments

List organizational departments

06

list_employees

Download the main information for all employees

07

list_job_candidates

List candidates for a specific job

08

list_job_postings

List active job openings in the recruitment module

09

list_leave_requests

Retrieve leave requests for an employee

10

list_performance_appraisals

List performance review cycles

Example Prompts for BrioHR in Mastra AI

Ready-to-use prompts you can give your Mastra AI agent to start working with BrioHR immediately.

01

"Who is away in my company between 2024-05-01 and 2024-05-15?"

02

"List all active job postings in my BrioHR account."

03

"Show the payroll summary for January 2024."

Troubleshooting BrioHR MCP Server with Mastra AI

Common issues when connecting BrioHR to Mastra AI through the Vinkius, and how to resolve them.

01

createMCPClient not exported

Install: npm install @mastra/mcp

BrioHR + Mastra AI FAQ

Common questions about integrating BrioHR MCP Server with Mastra AI.

01

How does Mastra AI connect to MCP servers?

Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.
02

Can Mastra agents use tools from multiple servers?

Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.
03

Does Mastra support workflow orchestration?

Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.

Connect BrioHR to Mastra AI

Get your token, paste the configuration, and start using 10 tools in under 2 minutes. No API key management needed.