7shifts MCP by usefulapi
v1.2.1Read locations, employees, roles, shifts and time punches of a restaurant in 7shifts.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
7shifts_whoami Who am I
Show the identity behind the connected 7shifts access token. First call to check the connection. 7shifts API: GET /v2/whoami.
7shifts_list_companies List companies
List the companies the access token can read (one for a single-company token). 7shifts API: GET /v2/companies.
| Parameter | Type | Description |
|---|---|---|
modified_since | string | Only items modified after this ISO 8601 date-time. |
7shifts_get_company Get a company
Get one company: plan status, expiry, country, start-of-week and POS type. 7shifts API: GET /v2/companies/{id}.
| Parameter | Type | Description |
|---|---|---|
company_id | integer | Company id. Default: the company of the connected token. |
7shifts_list_locations List locations
List the company's locations (restaurants or sites). Use the ids in other tools. 7shifts API: GET /v2/company/{company_id}/locations.
| Parameter | Type | Description |
|---|---|---|
company_id | integer | Company id. Default: the company of the connected token. |
cursor | string | Cursor from the previous page's cursor.next. |
deleted | boolean | Return deleted locations instead of active ones. |
limit | integer | Items per page. |
modified_since | string | Only items modified after this ISO 8601 date-time. |
7shifts_get_location Get a location
Get one location by id, with its settings. 7shifts API: GET /v2/company/{company_id}/locations/{location_id}.
| Parameter | Type | Description |
|---|---|---|
location_id * | integer | Location id (from 7shifts_list_locations). |
company_id | integer | Company id. Default: the company of the connected token. |
7shifts_list_departments List departments
List departments, optionally for one location. 7shifts API: GET /v2/company/{company_id}/departments.
| Parameter | Type | Description |
|---|---|---|
company_id | integer | Company id. Default: the company of the connected token. |
cursor | string | Cursor from the previous page's cursor.next. |
limit | integer | Items per page. |
location_id | integer | Only departments of this location. |
modified_since | string | Only items modified after this ISO 8601 date-time. |
7shifts_list_roles List roles
List job roles (positions), optionally for one location or department. 7shifts API: GET /v2/company/{company_id}/roles.
| Parameter | Type | Description |
|---|---|---|
company_id | integer | Company id. Default: the company of the connected token. |
cursor | string | Cursor from the previous page's cursor.next. |
department_id | integer | Only roles of this department. |
limit | integer | Items per page. |
location_id | integer | Only roles of this location. |
modified_since | string | Only items modified after this ISO 8601 date-time. |
7shifts_list_inactive_reasons List inactive reasons
List the reasons used to deactivate an employee. 7shifts API: GET /v2/company/{company_id}/inactive_reasons.
| Parameter | Type | Description |
|---|---|---|
company_id | integer | Company id. Default: the company of the connected token. |
7shifts_list_users List employees
List employees (users) with their role, location and department ids. Filter by status (active or inactive) or name. 7shifts API: GET /v2/company/{company_id}/users.
| Parameter | Type | Description |
|---|---|---|
company_id | integer | Company id. Default: the company of the connected token. |
cursor | string | Cursor from the previous page's cursor.next. |
department_id | integer | Only employees in this department. |
limit | integer | Items per page. |
location_id | integer | Only employees at this location. |
modified_since | string | Only items modified after this ISO 8601 date-time. |
name | string | Filter by employee name. |
role_id | integer | Only employees with this role. |
sort_by | string | Sort field, as the 7shifts API names it. |
status | string | Only active or only inactive employees. |
7shifts_get_user Get an employee
Get one employee by id, with profile fields. 7shifts API: GET /v2/company/{company_id}/users/{identifier}.
| Parameter | Type | Description |
|---|---|---|
identifier * | string | Employee id (from 7shifts_list_users). |
company_id | integer | Company id. Default: the company of the connected token. |
include_inactive | boolean | Also find an inactive employee. |
7shifts_list_user_assignments List an employee's assignments
List the locations, departments and roles one employee is assigned to. 7shifts API: GET /v2/company/{company_id}/users/{user_id}/assignments.
| Parameter | Type | Description |
|---|---|---|
user_id * | integer | Employee id (from 7shifts_list_users). |
company_id | integer | Company id. Default: the company of the connected token. |
7shifts_list_shifts List shifts
List scheduled shifts, filtered by time window, location, department, role or employee. Use start and end bounds for a date range. 7shifts API: GET /v2/company/{company_id}/shifts.
| Parameter | Type | Description |
|---|---|---|
company_id | integer | Company id. Default: the company of the connected token. |
cursor | string | Cursor from the previous page's cursor.next. |
department_id | integer | Only shifts in this department. |
end_gte | string | Shifts ending at or after this date-time. |
end_lte | string | Shifts ending at or before this date-time. |
include_draft | boolean | Include draft (unpublished) shifts. |
limit | integer | Items per page. |
location_id | integer | Only shifts at this location. |
modified_since | string | Only items modified after this ISO 8601 date-time. |
open | boolean | Only open (unassigned) shifts. |
role_id | integer | Only shifts for this role. |
sort_by | string | Sort field, as the 7shifts API names it. |
sort_dir | string | Sort direction. |
start_gte | string | Shifts starting at or after this date-time. |
start_lte | string | Shifts starting at or before this date-time. |
user_id | integer | Only shifts of this employee. |
7shifts_get_shift Get a shift
Get one shift by id. 7shifts API: GET /v2/company/{company_id}/shifts/{shift_id}.
| Parameter | Type | Description |
|---|---|---|
shift_id * | integer | Shift id (from 7shifts_list_shifts). |
company_id | integer | Company id. Default: the company of the connected token. |
include_deleted | boolean | Also return a deleted shift. |
7shifts_list_time_punches List time punches
List clock-in and clock-out records (time punches), filtered by employee, location, role, approval or clock time. 7shifts API: GET /v2/company/{company_id}/time_punches.
| Parameter | Type | Description |
|---|---|---|
approved | boolean | Only approved (true) or unapproved (false) punches. |
business_date_end | string | Last business date (YYYY-MM-DD). |
business_date_start | string | First business date (YYYY-MM-DD). |
clocked_in_gte | string | Punches clocked in at or after this date-time. |
clocked_in_lte | string | Punches clocked in at or before this date-time. |
clocked_out_gte | string | Punches clocked out at or after this date-time. |
clocked_out_lte | string | Punches clocked out at or before this date-time. |
company_id | integer | Company id. Default: the company of the connected token. |
cursor | string | Cursor from the previous page's cursor.next. |
department_id | integer | Only punches in this department. |
include_deleted | boolean | Include deleted punches. |
limit | integer | Items per page. |
location_id | integer | Only punches at this location. |
modified_since | string | Only items modified after this ISO 8601 date-time. |
role_id | integer | Only punches for this role. |
sort_by | string | Sort field, as the 7shifts API names it. |
user_id | integer | Only punches of this employee. |
7shifts_get_time_punch Get a time punch
Get one time punch by id. 7shifts API: GET /v2/company/{company_id}/time_punches/{time_punch_id}.
| Parameter | Type | Description |
|---|---|---|
time_punch_id * | integer | Time punch id (from 7shifts_list_time_punches). |
company_id | integer | Company id. Default: the company of the connected token. |