Shiftbrook MCP by usefulapi

v1.3.1
io.usefulapi/shiftbrook Checked 1 day ago Published 10 hours ago

Read shifts, people, leave and timesheets; add people and approve leave in Shiftbrook.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

shiftbrook_check_key Check API key

Check that the API key is valid. Returns the organisation name. Shiftbrook GET /api/v1/auth/test.

shiftbrook_list_people List people

List people in the organisation, with open invites. Use status to filter. Shiftbrook GET /api/v1/people.

ParameterTypeDescription
cursorstringnextCursor from the previous page.
limitintegerPage size, 1 to 100 (default 50).
statusstringFilter by status, as the Shiftbrook API defines it.

shiftbrook_get_person Get a person

Get one person by id. Shiftbrook GET /api/v1/people/{id}.

ParameterTypeDescription
person_id *stringThe person id.

shiftbrook_create_person Add a person

Add a person to the organisation. Shiftbrook sends that person an invite email. The invite token is not returned. Shiftbrook POST /api/v1/people.

ParameterTypeDescription
email *stringEmail address for the invite.
name *stringFull name.
role *stringRole, as the Shiftbrook API defines it.

shiftbrook_list_locations List locations

List the organisation's locations (sites). Shiftbrook GET /api/v1/locations.

ParameterTypeDescription
cursorstringnextCursor from the previous page.
limitintegerPage size, 1 to 100 (default 50).

shiftbrook_get_location Get a location

Get one location by id. Shiftbrook GET /api/v1/locations/{id}.

ParameterTypeDescription
location_id *stringThe location id.

shiftbrook_list_shifts List shifts

List shifts in the rota, optionally between two dates. Draft shifts are not published. Shiftbrook GET /api/v1/shifts.

ParameterTypeDescription
cursorstringnextCursor from the previous page.
fromstringDate, yyyy-mm-dd.
limitintegerPage size, 1 to 100 (default 50).
statusstringFilter by status, as the Shiftbrook API defines it.
tostringDate, yyyy-mm-dd.

shiftbrook_get_shift Get a shift

Get one shift by id. Shiftbrook GET /api/v1/shifts/{id}.

ParameterTypeDescription
shift_id *stringThe shift id.

shiftbrook_list_leave_requests List leave requests

List leave requests. Use status to see only pending or approved requests. Shiftbrook GET /api/v1/leave-requests.

ParameterTypeDescription
cursorstringnextCursor from the previous page.
limitintegerPage size, 1 to 100 (default 50).
statusstringFilter by status, as the Shiftbrook API defines it.

shiftbrook_get_leave_request Get a leave request

Get one leave request by id. Shiftbrook GET /api/v1/leave-requests/{id}.

ParameterTypeDescription
leave_request_id *stringThe leave request id.

shiftbrook_approve_leave_request Approve a leave request

Approve one leave request. This changes the request and its approved absence. Shiftbrook POST /api/v1/leave-requests/{id}/approve.

ParameterTypeDescription
leave_request_id *stringThe leave request id.

shiftbrook_list_timesheets List timesheets

List timesheets. With status 'approved', each item includes approvedHours. Shiftbrook GET /api/v1/timesheets.

ParameterTypeDescription
cursorstringnextCursor from the previous page.
limitintegerPage size, 1 to 100 (default 50).
statusstringFilter by status, as the Shiftbrook API defines it.

shiftbrook_get_timesheet Get a timesheet

Get one timesheet by id. Shiftbrook GET /api/v1/timesheets/{id}.

ParameterTypeDescription
timesheet_id *stringThe timesheet id.

shiftbrook_list_absences List absences

List approved leave that overlaps a date range, for example one month. Shiftbrook GET /api/v1/absences.

ParameterTypeDescription
from *stringDate, yyyy-mm-dd.
to *stringDate, yyyy-mm-dd.