TriNet MCP Server
for AI Agents
Connect your AI agent to StackOne's TriNet MCP server and give it 72 MCP tools out of the box. Auth, tool execution, and security all managed.
Coverage
72 Agent Actions
Agents can read, write and run operations in TriNet. Extend your agent's capabilities with custom actions.
Authentication
Agent Tool Authentication
Per-user OAuth in one call. Your TriNet MCP server gets session-scoped tokens with zero credentials stored on your infra.
Agent Auth →Security
Agent Protection
Every TriNet 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 TriNet call.
Tools Discovery →What is the TriNet MCP Server?
A TriNet MCP server lets AI agents read and write TriNet data through the Model Context Protocol, Anthropic's open standard for connecting LLMs to external tools. StackOne's TriNet MCP server ships with 72 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 TriNet MCP Tools
Every StackOne action for TriNet, ready for your agent. Read, write and run operations, scoped to exactly what you need.
Employee Loan Deductions
- Add Employee Loan Deduction
Add a retirement plan loan deduction for an employee.
- Get Employee Loan Deductions
List an employee's retirement plan loan deductions.
- Update Employee Loan Deduction
Change or stop an employee's retirement plan loan deduction.
Departments
- Add Department
Create a department in a company.
- List Departments
List a company's departments.
- Update Department
Update a department.
Locations
- Add Location
Create a work location in a company.
- List Locations
List a company's work locations.
Emergency Contacts
- Add Emergency Contact
Add an emergency contact to an employee.
- List Emergency Contacts
List an employee's emergency contacts.
- Update Emergency Contact
Update an employee's emergency contact.
Personal Contacts
- Add Personal Contacts
Add email addresses or phone numbers to an employee.
- Update Personal Contacts
Update an employee's email addresses or phone numbers.
Employee Names
- Add Employee Name
Add a new name record to an employee.
- Update Employee Name
Update an employee's name.
Payruns
- List Payruns
List a company's pay runs.
- Get Payrun
Get a pay run by ID.
Other (55)
- Add Or Update Employee's Retirement Elections
Add or update an employee's retirement contribution elections.
- Create Pay Entries
Submit a batch of pay entries to a company's payroll.
- List Company Benefit Classes
List a company's benefit classes.
- List Company Benefits
List the benefit plans a company currently offers.
- List Company Savings Plans
List a company's retirement savings plans.
- Get Employee's Retirement Plan Elections
Get an employee's retirement plan contribution elections.
- List Company And Employee Changes
List company and employee changes over a date range.
- List Company Changes
List changes made to company information over a date range.
- List Company Contacts
List a company's contacts.
- List Company Custom Fields
List the custom fields defined for a company.
- List Company Roles
List the roles defined in a company.
- List Company Support Contacts
List the TriNet support contacts assigned to a company.
- List Employee Companies
List the TriNet companies an employee belongs to.
- List Job Codes
List a company's job codes.
- List National ID Types
List the national ID types TriNet supports.
- List Supervisors
List the supervisors in a company.
- List Workers Comp Codes
List a company's workers' compensation codes.
- Get Company Details
Get a TriNet company's organisation details.
- Get Department By ID
Get a department by ID.
- Get Location By ID
Get a work location by ID.
- List Profile Photos
List an employee's profile photos.
- Get Citizenship
Get an employee's citizenship details.
- Get Employee Contacts
Get an employee's work and personal contact details.
- Get Home Address
Get an employee's home address.
- Get Employee National ID
Get an employee's national ID details.
- Get Personal Identification Information
Get an employee's personal identification and biographical details.
- Get Profile Photo By ID
Get one of an employee's profile photos.
- List Employee Changes
List changes made to employee records in a company over a date range.
- List Employee Roles
List the TriNet roles assigned to an employee.
- List All Employees
List employees in a TriNet company with their profile and employment data.
- Get Employee Department Split
Get how an employee's time is split across departments.
- Get Employee Job Details
Get an employee's employment and job details.
- Get Employee Work Profile
Get an employee's work profile.
- Get New Hire Status
Get the status and TriNet employee ID of a submitted new hire.
- List Employee's Pay Checks
List an employee's paychecks.
- List Pay Codes
List a company's pay codes.
- List Pay Groups
List a company's pay groups.
- List Payroll Schedules
List a company's payroll schedules.
- Get Payroll Schedules By Pay Group ID
List the payroll schedule of one pay group.
- Get Employee's Pay Info
Get an employee's pay information.
- Get Employee's Pay Check Details
Get the details of one employee paycheck.
- Get Pay Entry Batch
Get the status and entries of a pay entry batch.
- Get Pay Group By ID
Get a pay group by ID.
- List Holidays
List a company's holidays.
- Get Holidays By Schedule
List a company's holidays for one holiday schedule.
- List Leave Plans
List a company's leave plans.
- List Employees' Time Off Requests
List employees' time off requests in a company.
- Get Employee's Time Off Accruals
Get an employee's time off accruals and balances.
- Get Leave Plans Details By Plan Type
Get a leave plan by plan type.
- Update Employee's Retirement Elections
Update an employee's retirement contribution elections.
- Update Personal Identification
Update an employee's personal identification details.
- Update Employee Custom Fields
Update the custom field values of an employee.
- Update Employee Job
Change an employee's job, pay, department, location, title or manager.
- Hire Employee
Add a new hire to TriNet as an incomplete record for HR to complete.
- Validate New Hire
Validate new hire data without creating the hire.
TriNet AI Agent Use Cases
Connect your AI agent to TriNet 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.
ViewUse StackOne to connect your AI agent to your HRIS, knowledge base, and messaging tools to automate HR policy Q&A.
ViewUse StackOne to connect your AI agent to your HRIS, identity management, and ITSM to automate employee offboarding and deprovisioning.
ViewSet Up Your TriNet MCP Server in Minutes
One endpoint. Any framework. Your agent is talking to TriNet 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 HRIS / HCM MCP Servers
365+ actions
256+ actions
173+ actions
162+ actions
129+ actions
127+ actions
120+ 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
TriNet MCP Server FAQ
origin_owner_id.