Deputy MCP Server
for AI Agents
Connect your AI agent to StackOne's Deputy 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 Deputy — and extend your agent's capabilities with custom actions.
Authentication
Agent Tool Authentication
Per-user OAuth in one call. Your Deputy MCP server gets session-scoped tokens with zero credentials stored on your infra.
Agent Auth →Security
Agent Protection
Every Deputy 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 Deputy call.
Tools Discovery →What is the Deputy MCP Server?
A Deputy MCP server lets AI agents read and write Deputy data through the Model Context Protocol — Anthropic's open standard for connecting LLMs to external tools. StackOne's Deputy 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 Deputy MCP Tools
Every action from Deputy's API, ready for your agent. Create, read, update, and delete — scoped to exactly what you need.
Locations
- Create Location
Create a new location in Deputy
- List Locations
Get all locations (companies) in the Deputy installation
- Update Location
Update an existing location in Deputy
- Delete Location
Delete a location in Deputy
Employees
- Create Employee
Add an employee
- List Employees
Get details for all employees
- Search Employees
Search and filter employees by criteria
- Get Employee
Get details for an employee by ID
- Update Employee
Update an existing employee
Employee Unavailabilitys
- Add Employee Unavailability
Add unavailability details for an employee
- Get Employee Unavailability
Get unavailability details for an employee
Rosters
- Copy Rosters
Copy rosters from one date range to another
- Publish Rosters
Publish rosters to make them visible to employees
Operational Units
- Create Operational Unit
Create a new operational unit (department/area)
- List Operational Units
Get all operational units (areas/departments)
- Update Operational Unit
Update an existing operational unit
- Delete Operational Unit
Delete an operational unit
Other (32)
- Add New Workplace
Add a new workplace/location to Deputy
- Add Location To Employee
Add a location against an employee
- Create Multiple Operational Units
Create multiple operational units (departments/areas) at once
- Create Memo
Create a memo in Deputy
- Get Employee Shift Status
Check whether an employee is currently clocked on, on break, or off shift
- List Employee Agreements
Get all employee agreements
- Search Employment Contracts
Search for employment contracts using query filters
- Search Employment Contract Leave Rules
Search for employment contract leave rules
- List Employee Roles
Get all employee roles
- List Employee Workplaces
Get all employee workplace records
- Search Employee History
Search for employee history records
- List Employee Availability
Get all employee availability records
- List Employee Appraisals
Get all employee appraisal records
- List Employee Agreement History
Get all employee agreement history records
- List Employment Conditions
Get all employment condition records
- Get Recent Rosters
Get rosters from last 12 hours and forward 36 hours
- List Awards Library
Get awards library list
- Get Agreed Hours By Employee ID
Get agreed hours for a specific employee
- Retrieve Sales Data
Get sales metrics data
- List Categories
Get all categories
- List Custom Fields
Get all custom field definitions
- List Events
Get all events
- Remove Location From Employee
Remove a location from an employee
- Terminate Employee
Terminate an employee
- Activate Employee
Re-activate a terminated employee
- Invite Employee
Invite employee to Deputy
- Post A Journal
Post a journal entry for an employee
- Start Timesheet (Clock On)
Start an employee's timesheet (Clock On)
- Stop Timesheet (Clock Off)
Stop an employee's timesheet (Clock Off)
- Pause/Unpause Timesheet
Pause or unpause an employee's timesheet (take a break/finish break)
- View Timesheet Details
View a timesheet by ID
- Discard Rosters
Discard unpublished rosters
Deputy AI Agent Use Cases
Connect your AI agent to Deputy 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 Deputy MCP Server in Minutes
One endpoint. Any framework. Your agent is talking to Deputy 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
162+ 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
Deputy MCP Server FAQ
Does StackOne have a Deputy MCP server?
Deputy MCP server vs direct API integration — what's the difference?
How does Deputy authentication work for AI agents?
origin_owner_id.Are Deputy MCP tools vulnerable to prompt injection?
What is the context bloat of a Deputy agent and how do I avoid it?
Can I limit which actions my Deputy agent can access?
Can I create custom agent actions for my Deputy MCP server?
When should I NOT use a Deputy MCP server?
What AI frameworks and AI clients does the StackOne Deputy 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.