7shifts MCP server for AI agents and assistants

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with 7shifts MCP or direct API to manage schedules, review time clock data, coordinate staff updates, and streamline restaurant labor workflows through natural language.

7shifts logo7shifts
Api Key

7shifts is a restaurant team management platform for scheduling, time clocks, payroll, and team communication. It helps operators keep labor, shifts, and staff workflows organized in one place.

18 Tools

Try 7shifts now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
7shifts
Try asking
TOOLS

Supported Tools

Every 7shifts action and event your agent gets out of the box.

Create Department

Create a department at a company location, optionally make it the location's default department, and return its new department ID.

Create Event

Create a company schedule event and return the created event.

Create Shift

Create a scheduled shift for a company, assigned to a user or open for workers to request, and return the created shift record.

Delete Department

Permanently delete a department, optionally transferring its roles and shifts to another department.

Get Daily Sales and Labor

Retrieve daily sales and labor totals for a location and date range.

Get Department

Return one department by company and department ID.

Get User Assignments

Return one user's assigned locations, departments, and roles in a single read.

List Companies

Return companies available to the connected access token, including the company IDs needed by company-scoped tools.

List Departments

List one page of departments in a company, optionally filtered by location or modification date, with a cursor when more are available.

List Events

Return up to limit company schedule events in a required date range.

List Locations

List one page of locations in a company and return location IDs used to filter schedules, users, and departments, with a cursor when more are available.

List Log Book Posts

List one page of operational log-book posts for a company, filtered by location, category, author, date, date range, or message text.

List Roles

List one page of company scheduling roles, optionally filtered by workplace, department, IDs, or modification date.

List Shifts

List one page of scheduled shifts for a company with employee, location, department, role, time-range, publication-state, and open-shift filters, with a cursor when more are available.

List Time Off

List one page of company time-off records, with optional workplace, user, status, category, end-date, and ordering filters.

List Time Punches

List one page of actual employee time punches for a company, with worker, workplace, approval, clock-time, business-date, status, and ordering filters.

List Users

List employees and administrators in a 7shifts company, with optional status, name, and one assignment filter.

Update Department

Replace a department's name and default setting.

SETUP GUIDE

Connect 7shifts MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
Install the Composio SDK and your agent framework
2

Create a session with MCP enabled

typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["7shifts"],
  mcp: true,
});
Create a session scoped to 7shifts and read its MCP URL and headers
3

Connect your agent to the MCP server

typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "List today's scheduled restaurant shifts in 7shifts",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
Pass the session's MCP URL and headers to your agent and run a 7shifts request
SETUP GUIDE

Connect 7shifts API Tool with your Agent

1

Install Composio

typescript
npm install @composio/core @composio/openai openai
Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
2

Create a Composio session

typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["7shifts"] });
const tools = await session.tools();
Initialize Composio with the OpenAI Responses provider and create a session scoped to 7shifts
3

Run 7shifts tools with your agent

typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "List today's scheduled restaurant shifts in 7shifts" }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
Send a request, execute the 7shifts tool calls through the session, and print the final answer

Why Use Composio?

AI Native 7shifts Integration

  • Supports both 7shifts MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable restaurant scheduling and labor workflows
  • Rich coverage for reading, writing, and querying your 7shifts data without bespoke integration code

Managed Auth

  • 7shifts uses API key authentication, and Composio handles secure credential storage and API request handling
  • Use auth_configs.create() to configure 7shifts auth and connected_accounts.link() to connect each restaurant operator or workspace
  • Keep per user and per environment credentials out of your app code, where they belong

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve reliability over time
  • Comprehensive execution logs so you can see which 7shifts action ran, when it ran, and on whose behalf
  • Use mcp.create() or Tool Router sessions to connect 7shifts tools to agents that need shift, labor, and team data

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access 7shifts
  • Scoped, least privilege access to restaurant scheduling, time clock, payroll, and staff resources
  • Full audit trail of agent actions to support review, compliance, and operational accountability
FRAMEWORKS

Use 7shifts with any AI Agent Framework

Choose a Framework you want to connect 7shifts with

Rolling this out across your team?

Give your team centralized access control across every framework with Composio’s MCP Gateway.

EXPLORE MCP GATEWAY
FAQ

Frequently asked questions

Start with 7shifts.It takes 30 seconds.

Managed auth, hosted MCP servers, and every 7shifts tool your agent needs.Free to start.

Start building