7shifts MCP Server
for AI Agents
Connect your AI agent to StackOne's 7shifts MCP server and give it 59 MCP tools out of the box. Auth, tool execution, and security all managed.
Coverage
59 Agent Actions
Create, read, update, and delete across 7shifts — and extend your agent's capabilities with custom actions.
Authentication
Agent Tool Authentication
Per-user OAuth in one call. Your 7shifts MCP server gets session-scoped tokens with zero credentials stored on your infra.
Agent Auth →Security
Agent Protection
Every 7shifts 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 7shifts call.
Tools Discovery →What is the 7shifts MCP Server?
A 7shifts MCP server lets AI agents read and write 7shifts data through the Model Context Protocol — Anthropic's open standard for connecting LLMs to external tools. StackOne's 7shifts MCP server ships with 59 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 7shifts MCP Tools
Every action from 7shifts's API, ready for your agent. Create, read, update, and delete — scoped to exactly what you need.
Companys
- Get Company
Retrieve details for a specific company
- Update Company
Update a company's details
Locations
- Create Location
Create a new location for a company
- List Locations
List all locations for a company
- Get Location
Retrieve a specific location by ID
- Update Location
Update an existing location
- Delete Location
Delete a location from a company
Departments
- Create Department
Create a new department
- List Departments
List all departments for a company
- Get Department
Retrieve a specific department by ID
- Update Department
Update an existing department
- Delete Department
Delete a department
Roles
- Create Role
Create a new role
- List Roles
List all roles for a company
- Get Role
Retrieve a specific role by ID
- Update Role
Update an existing role
- Delete Role
Delete a role
Users
- Create User
Create a new user in a company
- List Users
List all users for a company
- Get User
Retrieve a user's full profile by ID
- Update User
Update an existing user
- Delete User
Deactivate a user from a company
User Contacts
- List User Contacts
List user contacts for a company
- Get User Contact
Retrieve a user's phone and email contact info
Shifts
- Create Shift
Create a new shift
- List Shifts
List all shifts for a company
- Get Shift
Retrieve a specific shift by ID
- Update Shift
Update an existing shift
- Delete Shift
Delete a shift
Time Punchs
- Create Time Punch
Create a new time punch
- Get Time Punch
Retrieve a specific time punch by ID
- Update Time Punch
Update an existing time punch
- Delete Time Punch
Delete a time punch
Time Offs
- Create Time Off
Create a new time off request
- List Time Off
List time off requests
- Get Time Off
Retrieve a specific time off request by ID
- Update Time Off
Update a time off request
- Delete Time Off
Delete a time off request
Time Off Settings
- Create Time Off Settings
Create or update time off settings for a company
- Get Time Off Settings
Retrieve time off settings for a company
Events
- Create Event
Create a new event
- List Events
List events for a company
- Get Event
Retrieve a specific event by ID
- Update Event
Update an existing event
- Delete Event
Delete an event
Other (14)
- Create User Wage
Create a wage record for a user
- List Companies
List all companies accessible to the authenticated user
- Get Labor Settings
Retrieve labor settings for a company
- List Inactive Reasons
List inactive reasons for a company
- Get User Assignments
Get location, department, and role assignments for a user
- List User Authorized Locations
List authorized locations for a user
- List Time Punches
List all time punches for a company
- Get Time Off Total Hours
Retrieve total time off hours for employees
- Get Hours And Wages Report
Retrieve worked hours and wages report
- Get Daily Sales And Labor Report
Retrieve daily sales and labor report
- Get Daily Stats
Retrieve daily stats for a location
- Get Current User
Retrieve the identity of the authenticated user
- Approve Time Off
Approve a time off request
- Decline Time Off
Decline a time off request
7shifts AI Agent Use Cases
Connect your AI agent to 7shifts 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 7shifts MCP Server in Minutes
One endpoint. Any framework. Your agent is talking to 7shifts 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
7shifts MCP Server FAQ
Does StackOne have a 7shifts MCP server?
7shifts MCP server vs direct API integration — what's the difference?
How does 7shifts authentication work for AI agents?
origin_owner_id.Are 7shifts MCP tools vulnerable to prompt injection?
What is the context bloat of a 7shifts agent and how do I avoid it?
Can I limit which actions my 7shifts agent can access?
Can I create custom agent actions for my 7shifts MCP server?
When should I NOT use a 7shifts MCP server?
What AI frameworks and AI clients does the StackOne 7shifts 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.