# 7shifts

```json
{
  "name": "7shifts",
  "slug": "7shifts",
  "url": "https://composio.dev/toolkits/7shifts",
  "markdown_url": "https://composio.dev/toolkits/7shifts.md",
  "logo_url": "https://logos.composio.dev/api/7shifts",
  "categories": [
    "hr & recruiting"
  ],
  "is_composio_managed": false,
  "updated_at": "2026-08-21T05:27:54.942Z"
}
```

![7shifts logo](https://logos.composio.dev/api/7shifts)

## Description

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.

## Summary

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.

## Categories

- hr & recruiting

## Toolkit Details

- Tools: 10

## Images

- Logo: https://logos.composio.dev/api/7shifts

## Authentication

- **Api Key**
  - Type: `api_key`
  - Description: Api Key authentication for 7shifts.
  - Setup:
    - Configure Api Key credentials for 7shifts.
    - Use the credentials when creating an auth config in Composio.

## Suggested Prompts

- List today's scheduled restaurant shifts
- Check employees clocked in right now
- Create tomorrow's server shift schedule

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `7SHIFTS_CREATE_DEPARTMENT` | Create Department | Create a department at a company location, optionally make it the location's default department, and return its new department ID. |
| `7SHIFTS_DELETE_DEPARTMENT` | Delete Department | Permanently delete a department, optionally transferring its roles and shifts to another department. |
| `7SHIFTS_GET_DEPARTMENT` | Get Department | Return one department by company and department ID. |
| `7SHIFTS_GET_USER_ASSIGNMENTS` | Get User Assignments | Return one user's assigned locations, departments, and roles in a single read. |
| `7SHIFTS_LIST_COMPANIES` | List Companies | Return companies available to the connected access token, including the company IDs needed by company-scoped tools. |
| `7SHIFTS_LIST_DEPARTMENTS` | List Departments | List one page of departments in a company, optionally filtered by location or modification date, with a cursor when more are available. |
| `7SHIFTS_LIST_LOCATIONS` | 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. |
| `7SHIFTS_LIST_SHIFTS` | 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. |
| `7SHIFTS_LIST_USERS` | List Users | List employees and administrators in a 7shifts company, with optional status, name, and one assignment filter. Returns one page and an opaque cursor when more users are available. |
| `7SHIFTS_UPDATE_DEPARTMENT` | Update Department | Replace a department's name and default setting. |

## Supported Triggers

None listed.

## Installation and MCP Setup

### Path 1: SDK Installation

#### Path 1, Step 1: Install Composio

Install the Composio SDK
```python
pip install composio_openai
```

```typescript
npm install @composio/openai
```

#### Path 1, Step 2: Initialize Composio and Create Tool Router Session

Import and initialize Composio client, then create a Tool Router session
```python
from openai import OpenAI
from composio import Composio
from composio_openai import OpenAIResponsesProvider

composio = Composio(provider=OpenAIResponsesProvider())
openai = OpenAI()
session = composio.create(user_id='your-user-id')
```

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

const composio = new Composio({
  provider: new OpenAIResponsesProvider(),
});
const openai = new OpenAI({});
const session = await composio.create('your-user-id');
```

#### Path 1, Step 3: Execute 7shifts Tools via Tool Router with Your Agent

Get tools from Tool Router session and execute 7shifts actions with your Agent
```python
tools = session.tools
response = openai.responses.create(
  model='gpt-4.1',
  tools=tools,
  input=[{
    'role': 'user',
    'content': 'List today\'s scheduled restaurant shifts in 7shifts'
  }]
)
result = composio.provider.handle_tool_calls(
  response=response,
  user_id='your-user-id'
)
print(result)
```

```typescript
const tools = session.tools;
const response = await openai.responses.create({
  model: 'gpt-4.1',
  tools: tools,
  input: [{
    role: 'user',
    content: "List today's scheduled restaurant shifts in 7shifts"
  }],
});
const result = await composio.provider.handleToolCalls(
  'your-user-id',
  response.output
);
console.log(result);
```

### Path 2: MCP Server Setup

#### Path 2, Step 1: Install Composio

Install the Composio SDK for Python or TypeScript
```python
pip install composio claude-agent-sdk
```

```typescript
npm install @composio/core ai @ai-sdk/openai @ai-sdk/mcp
```

#### Path 2, Step 2: Initialize Client and Create Tool Router Session

Import and initialize the Composio client, then create a Tool Router session for 7shifts
```python
from composio import Composio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions

composio = Composio(api_key='your-composio-api-key')
session = composio.create(user_id='your-user-id')
url = session.mcp.url
```

```typescript
import { Composio } from '@composio/core';

const composio = new Composio({ apiKey: 'your-api-key' });
const session = await composio.create('your-user-id');
console.log(`Tool Router session created: ${session.mcp.url}`);
```

#### Path 2, Step 3: Connect to AI Agent

Use the MCP server with your AI agent (Anthropic Claude or Mastra)
```python
import asyncio

options = ClaudeAgentOptions(
    permission_mode='bypassPermissions',
    mcp_servers={
        'tool_router': {
            'type': 'http',
            'url': url,
            'headers': {
                'x-api-key': 'your-composio-api-key'
            }
        }
    },
    system_prompt='You are a helpful assistant with access to 7shifts tools.',
    max_turns=10
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query('Check which employees are clocked in right now in 7shifts')
        async for message in client.receive_response():
            if hasattr(message, 'content'):
                for block in message.content:
                    if hasattr(block, 'text'):
                        print(block.text)

asyncio.run(main())
```

```typescript
import { openai } from '@ai-sdk/openai';
import { experimental_createMCPClient as createMCPClient } from '@ai-sdk/mcp';
import { generateText } from 'ai';

const client = await createMCPClient({
  transport: {
    type: 'http',
    url: session.mcp.url,
    headers: {
      'x-api-key': 'your-composio-api-key',
    },
  },
});

const tools = await client.tools();
const { text } = await generateText({
  model: openai('gpt-4o'),
  tools,
  messages: [{
    role: 'user',
    content: 'Check which employees are clocked in right now in 7shifts'
  }],
  maxSteps: 5,
});

console.log(`Agent: ${text}`);
```

## Why Use Composio?

### 1. 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

### 2. 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

### 3. 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

### 4. 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

## Use 7shifts with any AI Agent Framework

Choose a framework you want to connect 7shifts with:

None listed.

## Related Toolkits

- [Ashby](https://composio.dev/toolkits/ashby) - Ashby is an applicant tracking system that handles job postings, candidate management, and hiring analytics.
- [Async interview](https://composio.dev/toolkits/async_interview) - Async interview is an on-demand video interview platform for streamlined hiring. Candidates record responses on their schedule, so employers can review anytime.
- [Bamboohr](https://composio.dev/toolkits/bamboohr) - BambooHR is a cloud-based HR management platform for small and mid-sized businesses. It streamlines employee data, HR workflows, and reporting in one easy interface.
- [Breathe HR](https://composio.dev/toolkits/breathehr) - Breathe HR is cloud-based HR software for SMEs to manage employee data, absences, and performance. It simplifies HR admin, making it easy to keep employee records accurate and up to date.
- [Breezy Hr](https://composio.dev/toolkits/breezy_hr) - Breezy HR is a recruiting and applicant tracking platform for managing jobs, candidates, pipelines, and hiring teams. It helps teams move faster from job posting to offer without losing track of applicants.
- [Connecteam](https://composio.dev/toolkits/connecteam) - Connecteam is a workforce management platform for deskless teams, streamlining operations, HR, and team communication. It helps businesses save time by automating scheduling, time tracking, and staff engagement tasks.
- [Coresignal](https://composio.dev/toolkits/coresignal) - Coresignal is a real-time public web data platform for employee, company, and professional profile intelligence. It helps teams access fresh workforce data for research, recruiting, sales, and market analysis.
- [Dice MCP](https://composio.dev/toolkits/dice_mcp) - Dice MCP is an MCP server for searching Dice's tech-job database by role, company, location, and employment type. It helps agents find relevant tech roles fast with conversational filters.
- [Greenhouse](https://composio.dev/toolkits/greenhouse) - Greenhouse is applicant tracking and recruiting software for managing jobs, candidates, interviews, and hiring workflows. It helps recruiting teams move faster with structured pipelines, collaboration tools, and hiring data in one place.
- [Gusto](https://composio.dev/toolkits/gusto) - Gusto is a payroll, benefits, and HR platform for small and medium businesses. It helps teams run payroll, manage people, and stay compliant with less busywork.
- [Lever](https://composio.dev/toolkits/lever) - Lever is an applicant tracking system that blends sourcing, CRM, and analytics for recruiting. It helps companies scale hiring with collaborative workflows and actionable insights.
- [Recruitee](https://composio.dev/toolkits/recruitee) - Recruitee is collaborative hiring software that centralizes recruitment tasks for teams. It streamlines sourcing, interviewing, and hiring so you can fill roles faster.
- [Remote retrieval](https://composio.dev/toolkits/remote_retrieval) - Remote retrieval is a logistics automation tool for managing laptop and monitor returns. It streamlines return tracking, saving time and hassle for IT and ops teams.
- [Sap successfactors](https://composio.dev/toolkits/sap_successfactors) - Sap successfactors is a cloud-based human capital management suite for HR, payroll, recruiting, and talent management. It helps organizations centralize employee data and streamline the entire employee lifecycle.
- [Talenthr](https://composio.dev/toolkits/talenthr) - TalentHR is an intuitive, all-in-one HR tool for managing employee records, leave, and HR workflows. It streamlines HR operations so businesses can focus on people, not paperwork.
- [Workable](https://composio.dev/toolkits/workable) - Workable is an all-in-one HR software platform that streamlines hiring, employee management, and payroll. It helps teams simplify recruiting, onboarding, and staff operations in one place.
- [Workday](https://composio.dev/toolkits/workday) - Workday is a cloud-based ERP platform for HR, finance, and workforce analytics. It streamlines employee management, payroll, and business operations in a single system.
- [ZipRecruiter MCP](https://composio.dev/toolkits/ziprecruiter_mcp) - ZipRecruiter is an online employment marketplace for searching job listings by role, location, salary, and work type. Use it to surface relevant openings fast from a broad job marketplace.
- [Gmail](https://composio.dev/toolkits/gmail) - Gmail is Google's email service with powerful spam protection, search, and G Suite integration. It keeps your inbox organized and makes communication fast and reliable.
- [Google Calendar](https://composio.dev/toolkits/googlecalendar) - Google Calendar is a time management service for scheduling meetings, events, and reminders. It streamlines personal and team organization with integrated notifications and sharing options.

## Frequently Asked Questions

### Do I need my own developer credentials to use 7shifts with Composio?

Yes, 7shifts requires you to configure your own API key. Once set up, Composio handles secure credential storage and API request handling for you.

### Can I use multiple toolkits together?

Yes! Composio's Tool Router enables agents to use multiple toolkits. [Learn more](https://docs.composio.dev/tool-router/overview).

### Is Composio secure?

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. [Learn more](https://trust.composio.dev).

### What if the API changes?

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
