Paylocity MCP Server
for AI Agents
Connect your AI agent to StackOne's Paylocity MCP server and give it 49 MCP tools out of the box. Auth, tool execution, and security all managed.
Coverage
49 Agent Actions
Create, read, update, and delete across Paylocity — and extend your agent's capabilities with custom actions.
Authentication
Agent Tool Authentication
Per-user OAuth in one call. Your Paylocity MCP server gets session-scoped tokens with zero credentials stored on your infra.
Agent Auth →Security
Agent Protection
Every Paylocity tool response scanned for prompt injection in milliseconds — 88.7% accuracy, all running on 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 Paylocity call.
Tools Discovery →What is the Paylocity MCP Server?
A Paylocity MCP server lets AI agents read and write Paylocity data through the Model Context Protocol — Anthropic's open standard for connecting LLMs to external tools. StackOne's Paylocity MCP server ships with 49 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 Paylocity MCP Tools
Every action from Paylocity's API, ready for your agent. Create, read, update, and delete — scoped to exactly what you need.
Employees
- List Employees
Retrieve a paginated list of employees with optional demographic, position, status, and pay rate data.
- Get Employee
Retrieve detailed information for a single employee by their ID.
- Update Employee
Update existing employee data including personal info, address, tax settings, and direct deposit.
Job Codes
- Create Job Code
Create a new job code for a company.
- Get Job Codes
Get a list of job codes for a company.
- Get Job Code
Get a single job code by its code identifier.
- Update Job Code
Update an existing job code for a company.
- Delete Job Code
Delete a job code from a company.
Deductions
- Create Deduction
Create a new deduction for an employee in Paylocity.
- List Deductions
Retrieve all deductions for a specific employee.
- Update Deduction
Update an employee deduction by resourceId.
- Delete Deduction
Delete an employee deduction by code and resourceId.
Employee Earnings
- Create Employee Earning
Create a new earning on an employee record.
- List Employee Earnings
Retrieve all active earnings for a specific employee.
Employee Earning By ResourceIds
- Get Employee Earning By ResourceId
Get details for a specific earning code occurrence by resourceId.
- Update Employee Earning By ResourceId
Update details for a specific earning code occurrence by resourceId.
- Delete Employee Earning By ResourceId
Delete a specific earning code occurrence by resourceId.
Other (32)
- Add New Employee
Create a new employee record in Paylocity with personal info, tax settings, pay rates, and more.
- Add Local Tax
Add a new local tax record for an employee. Requires a valid taxCode configured in your Paylocity company setup.
- Get Employee With Benefits
Retrieve detailed employee information including benefit setup data via WebLink v2 API.
- Get Company Information
Retrieve company details including name, address, EIN, and configuration settings.
- Get Custom Fields
Retrieve all custom field definitions for a specific category.
- Get All Local Taxes
Retrieve all local tax information for an employee.
- Get Local Taxes By Tax Code
Retrieve local tax information for an employee by specific tax code.
- Get Tax Codes
Retrieve a list of tax codes for a company.
- Get All Direct Deposit
Retrieve main and additional direct deposit accounts for an employee.
- Get Pay Grades
Retrieve a list of pay grades configured for the company.
- Get Rate Codes
Retrieve a list of rate codes configured for the company.
- Get Pay Frequency Codes
Retrieve a list of pay frequency codes configured for the company.
- List Work Locations
Get all work locations for a company
- List Employee Deductions By Code
List employee deductions filtered by deduction code.
- Get Employee Deduction By ResourceId
Get a specific employee deduction occurrence by deduction code and resourceId.
- Get Deduction Codes
Retrieve a list of deduction codes for a company.
- Get Pay Statement Details
Retrieve employee pay statement details for a specified year.
- Get Pay Statement Summary
Retrieve employee pay statement summary for a specified year.
- Get Cost Centers
Retrieve cost center codes and levels for a company.
- List Pay Statement Details By Year And Check Date
List employee pay statement details for a specified year and check date. checkDate must be in MM-DD-YYYY format (e.g., 01-01-2024).
- Get Open Shifts
Get a list of open shifts not assigned to any employee.
- Get Company Shifts
Get a list of all shifts for a company.
- Get Employee Shifts
Get shifts assigned to a specific employee.
- Get Position Codes
Get a list of position codes for a company.
- Get Workers Compensation Codes
Retrieve a list of workers compensation codes for a company.
- List Employee Earnings By Code
List employee earnings filtered by earning code.
- Get Earning Codes
Retrieve a list of earning codes for a company.
- Get Sensitive Data
Get employee sensitive data information.
- Update Benefit Setup
Add or update an employee's benefit setup in Paylocity.
- Add/Update Non-Primary State Tax
Add or update non-primary state tax information for an employee.
- Add/Update Primary State Tax
Add or update primary state tax information for an employee.
- Add/Update Emergency Contacts
Add or update emergency contact information for an employee.
Paylocity AI Agent Use Cases
Connect your AI agent to Paylocity 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 Paylocity MCP Server in Minutes
One endpoint. Any framework. Your agent is talking to Paylocity 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
139+ actions
128+ actions
127+ actions
123+ actions
120+ actions
117+ actions
111+ actions
Platform Resources
MCP Code Mode: Keeping Tool Responses Out of Agent Context
Anthropic's code_execution processes data already in context. Custom MCP code mode keeps raw tool responses in a sandbox. 14K tokens vs 500.
11 min
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, their shared security risks including indirect prompt injection, and when to use one, both, or a hybrid architecture.
12 min
MCP vs API: What 200+ Connector Builds Taught Us
MCP wraps APIs, it doesn't replace them. After building 200+ connectors that serve both, here's when each approach wins.
14 min read
Paylocity MCP Server FAQ
Does StackOne have a Paylocity MCP server?
Paylocity MCP server vs direct API integration — what's the difference?
How does Paylocity authentication work for AI agents?
origin_owner_id.Are Paylocity MCP tools vulnerable to prompt injection?
What is the context bloat of a Paylocity agent and how do I avoid it?
Can I limit which actions my Paylocity agent can access?
Can I create custom agent actions for my Paylocity MCP server?
When should I NOT use a Paylocity MCP server?
What AI frameworks and AI clients does the StackOne Paylocity MCP server support?
Put your AI agents to work
All the tools you need to build and scale AI agent integrations, with best-in-class connectivity, execution, and security.