Skip to main content

Announcing StackOne Defender: leading open-source prompt injection guard for your agent Read More

Paylocity MCP Server
for AI Agents

Production-ready Paylocity MCP server with 49 extensible actions — plus built-in authentication, security, and optimized execution.

Paylocity logo
Paylocity MCP Server
Built by StackOne StackOne

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, and optimized agent context. Connect it from MCP clients like Claude Desktop, Cursor, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.

All Paylocity MCP Tools and Actions

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.

Set Up Your Paylocity MCP Server in Minutes

One endpoint. Any framework. Your agent is talking to Paylocity in under 10 lines of code.

MCP Clients

Agent Frameworks

Claude Desktop
{
  "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>"
      ]
    }
  }
}

More HRIS / HCM MCP Servers

UKG Ready

140+ actions

Factorial

127+ actions

HiBob

123+ actions

Oracle Fusion HCM

120+ actions

Humaans

117+ actions

BambooHR

100+ actions

Paylocity MCP Server FAQ

Paylocity MCP server vs direct API integration — what's the difference?
A Paylocity MCP server and direct API integration serve different use cases. Direct API integration is for software-to-software — backend code calling Paylocity. A Paylocity MCP server is for AI agents — MCP clients like Claude and Cursor, plus framework agents built with OpenAI, LangChain, or Vercel AI — discovering and calling Paylocity at runtime. StackOne provides both.
How does Paylocity authentication work for AI agents?
Paylocity authentication for AI agents works through a StackOne Connect Session. Create one via the dashboard or the SDK — you get an auth link and ready-to-paste config for Claude Desktop, Cursor, and other MCP clients. Your user authenticates their own Paylocity account; StackOne handles token exchange, storage, and refresh. Credentials never reach the LLM, and each user is isolated via origin_owner_id.
Are Paylocity MCP tools vulnerable to prompt injection?
Yes — Paylocity MCP tools can be vulnerable to indirect prompt injection. Any tool that reads user-written content — documents, messages, tickets, records, or free-text fields — is a potential vector. StackOne Defender scans every tool response before it enters the agent's context — regex patterns in ~1ms, then a MiniLM classifier in ~4ms. 88.7% accuracy, CPU-only.
What is the context bloat of a Paylocity agent and how do I avoid it?
Context bloat happens when Paylocity tool schemas and API responses eat your Paylocity agent's memory, preventing it from reasoning effectively. A single Paylocity query can return a massive JSON response, and connecting multiple tools compounds the problem. Tools Discovery and Code Mode reduce context bloat — loading only relevant tools per query and keeping raw responses out of the agent's context.
Can I limit which actions my Paylocity agent can access?
Yes — you can limit which actions your Paylocity agent can access directly from the StackOne dashboard. Toggle actions on or off, or restrict them to specific accounts, with no code changes to your agent. Session tokens can be scoped to exact actions so if one leaks, exposure stays contained.
Can I create custom agent actions for my Paylocity MCP server?
Yes — you can create custom agent actions for your Paylocity MCP server using Connector Builder. It's an integration agent your coding assistant (Claude Code, Cursor, or Copilot) can invoke to research Paylocity's API, generate production-ready connector YAML, test against the live API, and validate before you ship.
When should I NOT use a Paylocity MCP server?
Skip a Paylocity MCP server if your integration is purely software-to-software — direct Paylocity API integration is simpler when no AI agent is involved. For deterministic, compliance-critical operations (financial transactions, regulatory reporting), direct API gives you predictable behavior without agent-driven decision-making. MCP shines when AI agents need to dynamically discover and call Paylocity actions at runtime.
What AI frameworks and AI clients does the StackOne Paylocity MCP server support?
The StackOne Paylocity MCP server supports both. MCP clients (paste-and-go apps): Claude Desktop, Claude Code, Cursor, VS Code, Goose. Agent frameworks (code SDKs you build with): OpenAI Agents SDK, Anthropic, Vercel AI, Google ADK, CrewAI, Pydantic AI, LangChain, LangGraph, Azure AI Foundry.

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.