Skip to main content

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

Live 59 Actions

7shifts MCP Server
for AI Agents

StackOne's 7shifts MCP server gives AI agents 59 ready-to-use actions for 7shifts — with built-in authentication, security, governance, token efficiency, and high tool-calling accuracy.

7shifts logo
7shifts MCP Server
Built by StackOne StackOne
DrataGPLocalyzeFlipMindtoolsScreenloop

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, and optimized agent context. 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 and Actions

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.

Employee Onboarding

Use StackOne to connect your AI agent to your HRIS, identity management, and LMS to automate employee onboarding.

View
WorkdayBambooHRPersonioHiBobGustoRipplingOkta360Learning
HR Policy Q&A Chatbot

Use StackOne to connect your AI agent to your HRIS, knowledge base, and messaging tools to automate HR policy Q&A.

View
WorkdayBambooHRPersonioHiBobGustoRipplingSharePointConfluence
Employee Offboarding

Use StackOne to connect your AI agent to your HRIS, identity management, and ITSM to automate employee offboarding and deprovisioning.

View
WorkdayBambooHRPersonioOktaServiceNowRipplingGustoJira

Set Up Your 7shifts MCP Server in Minutes

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

7shifts MCP Server FAQ

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