Skip to main content

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

Sage HR MCP Server
for AI Agents

Production-ready Sage HR MCP server with 35 extensible actions — plus built-in authentication, security, and optimized execution.

Sage HR logo
Sage HR MCP Server
Built by StackOne StackOne

Coverage

35 Agent Actions

Create, read, update, and delete across Sage HR — and extend your agent's capabilities with custom actions.

Authentication

Agent Tool Authentication

Per-user OAuth in one call. Your Sage HR MCP server gets session-scoped tokens with zero credentials stored on your infra.

Agent Auth →

Security

Agent Protection

Every Sage HR 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 Sage HR call.

Tools Discovery →

What is the Sage HR MCP Server?

A Sage HR MCP server lets AI agents read and write Sage HR data through the Model Context Protocol — Anthropic's open standard for connecting LLMs to external tools. StackOne's Sage HR MCP server ships with 35 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 Sage HR MCP Tools and Actions

Every action from Sage HR's API, ready for your agent. Create, read, update, and delete — scoped to exactly what you need.

Employees

  • Create Employee

    Create a new employee in the company.

  • List Employees

    Retrieve a list of all active employees in the company.

  • Get Employee

    Retrieve details of a specific active employee.

  • Update Employee

    Update an existing employee's details.

Employee Custom Fields

  • Get Employee Custom Fields

    Retrieve custom fields for a specific employee.

  • Update Employee Custom Field

    Update a custom field value for a specific employee.

Terminated Employees

  • List Terminated Employees

    Retrieve a list of all terminated employees.

  • Get Terminated Employee

    Retrieve details of a specific terminated employee.

Leave Requests

  • Create Leave Request

    Create a new time-off request for an employee.

  • List Leave Requests

    Retrieve a list of all time-off requests.

Documents

  • Create Document

    Upload a new document.

  • List Documents

    Retrieve a list of all documents.

  • Get Document

    Retrieve details of a specific document.

  • Update Document

    Update an existing document.

  • Delete Document

    Delete a document.

Other (20)

  • Create Onboarding Task

    Create a new onboarding task template.

  • Create Offboarding Task

    Create a new offboarding task template.

  • Get Employee Compensations

    Retrieve salary history for a specific employee.

  • Get Employee Time Off Balances

    Retrieve time-off balances for a specific employee.

  • List Leave Policies

    Retrieve a list of all time-off policies.

  • Get Leave Policy

    Retrieve details of a specific time-off policy.

  • List Employees Out Of Office

    Retrieve a list of employees who are out of the office.

  • Get Leave Allowances Report

    Retrieve individual leave allowances report.

  • List Document Categories

    Retrieve a list of all document categories.

  • List Positions

    Retrieve a list of all company positions.

  • List Teams

    Retrieve a list of all company teams.

  • List Termination Reasons

    Retrieve a list of all termination reasons.

  • Get Overall Goals Progress

    Retrieve overall quarterly goals progress.

  • Get Company Goals Progress

    Retrieve company-level quarterly goals progress.

  • Get Team Goals Progress

    Retrieve team-level quarterly goals progress.

  • Get Individual Goals Progress

    Retrieve individual-level quarterly goals progress.

  • List Onboarding Categories

    Retrieve a list of all onboarding task categories.

  • List Offboarding Categories

    Retrieve a list of all offboarding task categories.

  • Terminate Employee

    Terminate an employee.

  • Rehire Employee

    Rehire a previously terminated employee.

Set Up Your Sage HR MCP Server in Minutes

One endpoint. Any framework. Your agent is talking to Sage HR 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

Sage HR MCP Server FAQ

Sage HR MCP server vs direct API integration — what's the difference?
A Sage HR MCP server and direct API integration serve different use cases. Direct API integration is for software-to-software — backend code calling Sage HR. A Sage HR 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 Sage HR at runtime. StackOne provides both.
How does Sage HR authentication work for AI agents?
Sage HR 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 Sage HR account; StackOne handles token exchange, storage, and refresh. Credentials never reach the LLM, and each user is isolated via origin_owner_id.
Are Sage HR MCP tools vulnerable to prompt injection?
Yes — Sage HR 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 Sage HR agent and how do I avoid it?
Context bloat happens when Sage HR tool schemas and API responses eat your Sage HR agent's memory, preventing it from reasoning effectively. A single Sage HR 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 Sage HR agent can access?
Yes — you can limit which actions your Sage HR 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 Sage HR MCP server?
Yes — you can create custom agent actions for your Sage HR MCP server using Connector Builder. It's an integration agent your coding assistant (Claude Code, Cursor, or Copilot) can invoke to research Sage HR's API, generate production-ready connector YAML, test against the live API, and validate before you ship.
When should I NOT use a Sage HR MCP server?
Skip a Sage HR MCP server if your integration is purely software-to-software — direct Sage HR 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 Sage HR actions at runtime.
What AI frameworks and AI clients does the StackOne Sage HR MCP server support?
The StackOne Sage HR 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.