HeavenHR MCP Server
for AI Agents
Connect your AI agent to StackOne's HeavenHR MCP server and give it 28 MCP tools out of the box. Auth, tool execution, and security all managed.
Coverage
28 Agent Actions
Agents can read and write in HeavenHR. Extend your agent's capabilities with custom actions.
Authentication
Agent Tool Authentication
Per-user OAuth in one call. Your HeavenHR MCP server gets session-scoped tokens with zero credentials stored on your infra.
Agent Auth →Security
Agent Protection
Every HeavenHR tool response scanned for prompt injection in about 2.5 ms, with 0.94 F1 on tool-response attacks, all running on a CPU.
Prompt Injection Defense →Performance
Max Agent Context. Min Cost.
Free up to 96% of your agent's context window to enhance reasoning and reduce cost, on every HeavenHR call.
Tools Discovery →What is the HeavenHR MCP Server?
A HeavenHR MCP server lets AI agents read and write HeavenHR data through the Model Context Protocol, Anthropic's open standard for connecting LLMs to external tools. StackOne's HeavenHR MCP server ships with 28 pre-built actions, fully extensible via the Connector Builder, plus managed authentication, prompt injection defense, observability, and agent execution runtime. Connect it from MCP clients like Claude Desktop, Claude Code, Cursor, Goose, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.
All HeavenHR MCP Tools
Every StackOne action for HeavenHR, ready for your agent. Read and write, scoped to exactly what you need.
Employees
- Create Employee
Add an employee to the company and optionally send an onboarding registration email.
- Get Employee
Find an employee by ID and return all employee details.
- Update Employee
Partially update an existing employee record; only the fields sent are changed.
Shifts
- Get Shifts
Return a paginated list of company shifts in a date range, filterable by DRAFT or PUBLISHED status.
- Get Shift
Return the full detail of one company shift, including assigned users, occupations and organisational units.
Employee Time Tracking Requests
- Create Employee Time Tracking Request
Add a new time tracking request to an employee; allowed creation statuses are EDITABLE and REQUESTED.
- Get Employee Time Tracking Request
Get a single time tracking request for an employee by its ID.
- Update Employee Time Tracking Request
Update the details of a specific time tracking request; only the fields sent are changed.
Other (20)
- Create Employee Absence Budget
Create the absence budget for a particular employee for a given year.
- Get Vacation And Absence Types
Return all vacation and absence types configured for the company.
- Get Company Vacations And Absences
Return a paginated list of company-wide vacation and absence records in a date range, filtered by status.
- Get Employee Vacations And Absences
Return a paginated list of one employee's vacation and absence records in a date range, filtered by status.
- Get Costcenters
Return a paginated list of the company's cost centers.
- Get Locations
Return a paginated list of the company's office locations.
- Get Organizations
Return the hierarchical company organisation (department) structure tree.
- Get Company
Return the company information including the custom attributes defined at company level.
- Get All Shifts For An Employee
Return all shifts assigned to an employee within a start and end date range.
- Get All Employees
Return a sorted, paginated list of employees with limited fields, filterable by employee number, department, job status, start date and updatedAt.
- Get Payroll Period Salary Details
Return the per-employee salary details recorded for a payroll period.
- Get Company Payroll Periods
Return all payroll periods for the company, both open and closed.
- Get Sub Company Payroll Periods
Return all payroll periods for a specific sub company, both open and closed.
- Get All Vacancies
Return a paginated list of the company's public job vacancies.
- Get Vacancy
Find a published job vacancy by ID and return its full details.
- Get Categories
Return a paginated list of the company's time tracking categories.
- Get Time Tracking Projects
List the time tracking projects available to an employee.
- Get Employees' Time Tracking Requests
Return a sorted, paginated list of an employee's time tracking requests, filterable by status and request date.
- Update Employee Time Tracking Request Status
Update the status of a time tracking request to REQUESTED, APPROVED or REJECTED.
- Health Check
Verify the status of the HeavenHR API; returns 200 with an OK message.
HeavenHR AI Agent Use Cases
Connect your AI agent to HeavenHR and help your team scale the HR operations they run by hand today.
Use StackOne to connect your AI agent to your HRIS, identity management, and LMS to automate employee onboarding.
ViewAutomate invoice processing with AI agents connected to your ERP, accounting software, and AP tools through StackOne.
ViewUse StackOne to connect your AI agent to your ATS and job boards to automate job posting distribution.
ViewSet Up Your HeavenHR MCP Server in Minutes
One endpoint. Any framework. Your agent is talking to HeavenHR in under 10 lines of code.
Agent Frameworks
{
"mcpServers": {
"stackone": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://api.stackone.com/mcp?x-account-id=<account_id>",
"--header",
"Authorization: Basic <YOUR_BASE64_TOKEN>"
]
}
}
}Check More hr-workforce MCP Servers
95+ actions
94+ actions
87+ actions
78+ actions
76+ actions
72+ actions
71+ actions
Platform Resources
Comparing BM25, TF-IDF, and Hybrid Search for MCP Tool Discovery
Benchmarking BM25, TF-IDF, and hybrid search for MCP tool discovery across 916 tools. The 80/20 TF-IDF/BM25 hybrid hits 21% Top-1 accuracy in under 1ms.
10 min
Indirect Prompt Injection Defense for MCP Tools: A Technical Guide
MCP tools that read emails, CRM records, and tickets are indirect prompt injection vectors. Here's how we built a two-tier defense that scans tool results in ~11ms.
12 min
MCP vs A2A: Architecture, Security, and When to Use Each
MCP vs A2A: what each protocol standardizes, how they differ, the security risks they share, and when to use one, both or a hybrid.
12 min
MCP vs API: What Hundreds of Connector Builds Taught Us
MCP wraps APIs, it doesn't replace them. After building hundreds of connectors that serve both, here's when each approach wins.
14 min read
FAQ
HeavenHR MCP Server FAQ
origin_owner_id.