Bring Employee Management
to Mastra AI
Create your Vinkius account to connect SmartHR to Mastra AI and start using all 8 AI tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code. No hosting, no server setup — just connect and start using.
Compatible with every major AI agent and IDE
What is the SmartHR MCP Server?
Connect your SmartHR directory to any AI agent and empower your team to query employee data, organizational hierarchies, and payroll records securely. Interact with your organization's human capital database through natural language without ever switching tabs.
What you can do
- Employee Tracking — Call the
list_crewstool to retrieve the roster of all employees and cross-reference demographic metadata - Department Hierarchies — Ask your AI to
list_departmentsor checklist_positionsto understand the internal structure - Deep Employee Profiles — Perform targeted queries using
get_crew_detailsorlist_crew_dependentsto fetch highly sensitive contract details - Payroll Overviews — Securely query active or historical payroll ledgers to audit compensation scaling
How it works
- Subscribe to this server
- Enter your SmartHR Access Token and Subdomain
- Start using Claude, Cursor, or any MCP-compatible client to query your employee database
Stop clicking through countless profiles on the SmartHR platform just to find out someone's department or employment type. Your AI agent can read your internal database directly.
Who is this for?
- HR Managers & Admins — easily audit payroll accounts or check an employee's listed dependents internally via chat
- Department Leads — request the agent to fetch a list of active job positions and associated team members
- Security Teams — check office locations and active employee sublists via the physical
list_establishmentstools
Built-in capabilities (8)
Retrieves details for a specific employee
Lists dependents for a specific employee
Lists all employees (crews) in SmartHR
Lists all organizational departments
Lists all employment types
Lists business establishments or office locations
Lists employee payroll records
Lists all job positions or roles
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and SmartHR tool infrastructure. Connect 8 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.
- —
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add SmartHR without touching business code
- —
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
- —
TypeScript-native: full type inference for every SmartHR tool response with IDE autocomplete and compile-time checks
- —
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
SmartHR in Mastra AI
Why run SmartHR with Vinkius?
The SmartHR connection runs on our fully managed, secure cloud infrastructure. We handle the hosting, maintenance, and security so you don't have to deal with servers or code. All 8 tools are ready to work instantly without any complex setup.
You stay in complete control of your data. Your AI only accesses the information you approve, keeping your sensitive passwords and private details completely safe. Plus, with automatic optimizations, your AI works faster and more efficiently.

* Every connection is hosted and maintained by Vinkius. We handle the security, updates, and infrastructure so you don't have to write code or manage servers. See our infrastructure
Over 4,000 integrations ready for AI agents
Explore a vast library of pre-built integrations, optimized and ready to deploy.
Connect securely in under 30 seconds
Generate tokens to authenticate and link external services in a single step.
Complete visibility into every agent action
Audit live requests, latency, success rates, and active security compliance policies.
Optimize spending and track token ROI
Analyze real-time token consumption and cost metrics detailed by connection.




Explore our live AI Agents Analytics dashboard to see it all working
This dashboard is included when you connect SmartHR using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
SmartHR and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect SmartHR to Mastra AI through Vinkius don't need to write code, manage servers, or worry about security. Everything is pre-configured, secure, and runs automatically in the background.
Raw MCP | Vinkius | |
|---|---|---|
| Ready-to-use MCPs | Find and configure each manually | 4,000+ MCPs ready to use |
| Connection Setup | Manual coding & server setup | 1-click instant connection |
| Server Hosting | You host it yourself (needs 24/7 uptime) | 100% hosted & managed by Vinkius |
| Security & Privacy | Stored in plaintext config files | Bank-grade encrypted vault |
| Activity Visibility | Blind execution (no logs or tracking) | Live dashboard with real-time logs |
| Cost Control | Runaway AI token spend risk | Automatic budget limits |
| Revoking Access | Must delete files or code to stop | 1-click disconnect button |
How Vinkius secures
SmartHR for Mastra AI
Every request between Mastra AI and SmartHR is protected by our secure gateway. We automatically keep your sensitive data private, prevent unauthorized access, and let you disconnect instantly at any time.
Frequently asked questions
Is it safe to expose my company's payrolls to the AI?
Yes. This connector runs entirely on your local machine or trusted enclave natively. No employee data, payload information or generated queries are routed to our servers—your API interactions occur directly from your environment straight to SmartHR's endpoints.
Can the agent calculate average payroll over time automatically?
Absolutely. Just prompt your agent: 'List all payrolls from Q2, and display the average distribution'. The agent will call the list_payrolls endpoint, retrieve the raw figures, do the mathematical operation independently in context, and present you a very clear table or markdown summary.
How do I look up which internal department an employee works for?
You don't need to specify the exact tool. You can simply ask: 'What department is crew member [Name] in?'. Your AI will automatically use the list_crews tool and cross reference the results with list_departments to formulate a correct response.
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.
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.
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.
createMCPClient not exported
Install: npm install @mastra/mcp
Explore More MCP Servers
View all →
Commission Factory
8 toolsCommission Factory is a leading affiliate marketing network in Asia-Pacific. This MCP server allows affiliates and merchants to retrieve transactions, manage programs, and track performance programmatically.

AppsFlyer (Pull API)
7 toolsRetrieve raw and aggregate attribution data from AppsFlyer — track installs, events, and performance via AI.

Browserless (Playwright Cloud)
10 toolsEquip your AI with a remote headless browser to scrape, interact, and run Playwright safely via cloud.

Deepgram
10 toolsPower audio AI via Deepgram — perform high-speed speech-to-text, generate lifelike text-to-speech, track usage, and manage API keys directly from any AI agent.
