L'Atlas / Serveurs MCP / When I Work MCP by usefulapi
Serveur MCP

When I Work MCP by usefulapi

io.usefulapi/when-i-work

Serveur MCP OK 21 outils

Faire examiner Voir les tarifs

Check shifts, time clock entries, time-off requests, swaps and availability, and manage shifts.

Fiche technique

Auteur
usefulapi.io (espace de noms du registre)
Dépôt
github.com/m190/usefulapi-mcp
Site
usefulapi.io/when-i-work
Version
1.40.6
Transport
Streamable HTTP
Authentification
Aucune (constatée par notre test)
Adresse du serveur
https://when-i-work.usefulapi.io/mcp Streamable HTTP
Outils
21
Catégories
—
Dernière mise à jour
24 nov. 2026
Publication
24 nov. 2026

Badge pour votre README

Référencé sur L’Atlas

Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.

MarkdownREADME.md
[![Référencé sur L’Atlas](https://latlas.dev/badge/fiche/io.usefulapi/when-i-work.svg)](https://latlas.dev/mcp/io.usefulapi/when-i-work)
HTML
<a href="https://latlas.dev/mcp/io.usefulapi/when-i-work"><img src="https://latlas.dev/badge/fiche/io.usefulapi/when-i-work.svg" alt="Référencé sur L’Atlas" height="20"></a>

Nos tests

Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode

Adresse
https://when-i-work.usefulapi.io/mcp
Dernier résultat
OK 28 nov. 2026, 10:55
Temps de réponse
1 242 ms (initialize + tools/list)
Version du protocole
2025-11-25
Nom annoncé
when-i-work-mcp 1.40.6
Outils
21

Historique

DateRésultatRéponseOutils
28 nov. 2026, 10:55OK1 242 ms21

Outils exposés (21, réponse à tools/list, 28 nov. 2026)

wheniwork_get_account

Get the account

Fetch the When I Work account (workplace) the token acts on — company name, plan and settings; for a parent account also its child accounts. A cheap way to confirm the credentials work. When I Work: GET /2/account.

Aucun paramètre.

wheniwork_list_users

List users

List the employees, supervisors, managers and admins in the account, optionally limited to some schedules or searched by name/email. Returns 25 per call by default; page with offset (next_offset is null on the last page). Role codes: 1 admin, 2 manager, 3 employee, 5 supervisor. When I Work: GET /2/users.

ParamètreTypeRequisDescription
location_idarray<integer>nonOne or more schedule (location) ids.
searchstringnonSearch first name, last name or email.
show_pendingbooleannonInclude users who have not accepted their invite (default true).
only_pendingbooleannonOnly pending users.
show_deletedbooleannonInclude deleted users (supervisor or above).
only_deletedbooleannonOnly deleted/archived users (supervisor or above).
limitintegernonRecords to return, 1-100 (default 25).
offsetintegernonRecords to skip, for paging (default 0; use next_offset from the previous reply).

wheniwork_get_user

Get one user

Fetch one user by id — name, email, role, positions, schedules, wage. When I Work: GET /2/users/{id}.

ParamètreTypeRequisDescription
user_idintegerouiThe user id.

wheniwork_list_locations

List schedules (locations)

List the schedules in the account. The API calls a schedule a "location"; its id is the location_id every shift belongs to. When I Work: GET /2/locations.

ParamètreTypeRequisDescription
only_unconfirmedbooleannonOnly schedules whose address is unconfirmed.

wheniwork_list_positions

List positions

List the positions (job roles such as Cashier or Dishwasher) in the account. When I Work: GET /2/positions.

ParamètreTypeRequisDescription
show_deletedbooleannonInclude deleted positions.

wheniwork_list_shifts

List shifts

List scheduled shifts in a time window — who works when, where and in which position — optionally including open shifts and unpublished drafts. Answers "who is on on Friday?" and "what open shifts are left?". Returns up to 25 shifts by default (limit up to 1000); narrow the window to see more. When I Work: GET /2/shifts.

ParamètreTypeRequisDescription
startstringnonStart of the window. Date-time, e.g. 2026-10-05T08:00:00-05:00 (When I Work's own examples also use RFC 2822, e.g. "Mon, 05 Oct 2026 08:00:00 -0500").
endstringnonEnd of the window. Date-time, e.g. 2026-10-05T08:00:00-05:00 (When I Work's own examples also use RFC 2822, e.g. "Mon, 05 Oct 2026 08:00:00 -0500").
user_idintegernonOnly this user's shifts.
location_idarray<integer>nonOne or more schedule (location) ids.
all_locationsbooleannonInclude shifts from all schedules.
unpublishedbooleannonInclude unpublished (draft) shifts — supervisor or above.
include_openbooleannonInclude open (unassigned) shifts from the user's schedules.
include_onlyopenbooleannonReturn only open shifts.
include_allopenbooleannonInclude open shifts across all schedules — manager or admin.
include_swapsbooleannonInclude swap requests attached to the shifts.
deletedbooleannonAlso return deleted_ids: shifts deleted in the window.
include_repeating_shifts_tostringnonAlso expand repeating shift series up to this date. Date-time, e.g. 2026-10-05T08:00:00-05:00 (When I Work's own examples also use RFC 2822, e.g. "Mon, 05 Oct 2026 08:00:00 -0500").
limitintegernonMaximum number of shifts to return, 1-1000 (default 25).

wheniwork_get_shift

Get one shift

Fetch one shift by id, including its breaks and publish state. When I Work: GET /2/shifts/{id}.

ParamètreTypeRequisDescription
shift_idintegerouiThe shift id.
include_repeating_shifts_tostringnonAlso expand the shift's repeating series up to this date. Date-time, e.g. 2026-10-05T08:00:00-05:00 (When I Work's own examples also use RFC 2822, e.g. "Mon, 05 Oct 2026 08:00:00 -0500").

wheniwork_list_eligible_users_for_shift

List users eligible for an open shift

Find who could take an open shift — either an existing shift (shift_id) or a hypothetical one (start, end, position_id and location_id all required). When I Work: GET /2/shifts/eligible.

ParamètreTypeRequisDescription
shift_idintegernonAn existing shift's id.
startstringnonStart of the potential shift (required without shift_id). Date-time, e.g. 2026-10-05T08:00:00-05:00 (When I Work's own examples also use RFC 2822, e.g. "Mon, 05 Oct 2026 08:00:00 -0500").
endstringnonEnd of the potential shift (required without shift_id). Date-time, e.g. 2026-10-05T08:00:00-05:00 (When I Work's own examples also use RFC 2822, e.g. "Mon, 05 Oct 2026 08:00:00 -0500").
position_idintegernonPosition of the potential shift (required without shift_id).
location_idintegernonSchedule of the potential shift (required without shift_id).
is_sharedbooleannonWhether it is a shared open shift.
include_objectsbooleannonInclude the users' schedules and positions in the output.

wheniwork_list_times

List clocked times (timesheets)

List clocked time entries — actual hours worked, clock-in/out times, length and approval state. Use only_open to see who is clocked in right now. Returns 25 per call by default; page with offset (next_offset is null on the last page). When I Work: GET /2/times.

ParamètreTypeRequisDescription
startstringnonStart of the window. Date-time, e.g. 2026-10-05T08:00:00-05:00 (When I Work's own examples also use RFC 2822, e.g. "Mon, 05 Oct 2026 08:00:00 -0500").
endstringnonEnd of the window. Date-time, e.g. 2026-10-05T08:00:00-05:00 (When I Work's own examples also use RFC 2822, e.g. "Mon, 05 Oct 2026 08:00:00 -0500").
user_idarray<integer>nonOne or more user ids.
only_openbooleannonOnly times with no end yet (people currently clocked in).
updated_atstringnonOnly times updated since this timestamp. Date-time, e.g. 2026-10-05T08:00:00-05:00 (When I Work's own examples also use RFC 2822, e.g. "Mon, 05 Oct 2026 08:00:00 -0500").
limitintegernonRecords to return, 1-100 (default 25).
offsetintegernonRecords to skip, for paging (default 0; use next_offset from the previous reply).

wheniwork_list_time_off_requests

List time-off requests

List time-off requests in a date range, with the requesting users. Status: 0 pending, 1 canceled, 2 accepted, 3 expired, 4 denied. When I Work: GET /2/requests.

ParamètreTypeRequisDescription
startstringnonStart date, yyyy-mm-dd.
endstringnonEnd date, yyyy-mm-dd.
user_idarray<integer>nonOne or more user ids.
location_idintegernonOnly requests for this schedule.
statusintegernonOnly requests with this status.
typeintegernonOnly this request type.
sortbystringnon'created' sorts newest first; anything else sorts by status then last update.
include_deleted_usersbooleannonInclude requests made by deleted users.
since_idintegernonOnly requests created after this request id.
max_idintegernonOnly requests created before this request id.
limitintegernonMaximum number of results.
pageintegernonPage of results to load (the response says whether there are `more`).

wheniwork_get_time_off_request

Get one time-off request

Fetch one time-off request by id, with its message thread and users. When I Work: GET /2/requests/{request_id}.

ParamètreTypeRequisDescription
request_idintegerouiThe time-off request id.

wheniwork_list_time_off_types

List time-off types

List the time-off types (e.g. Personal, Sick, Holiday) and whether each allows paid time. Their ids are the type_id for a new request. When I Work: GET /2/requesttypes.

Aucun paramètre.

wheniwork_list_shift_swaps

List shift swaps and drops

List shift requests: swaps, drops and alerts, with the shifts and users involved. Status: 0 pending, 1 approved, 2 declined, 3 completed, 4 canceled, 5 expired. Type: 1 swap, 2 drop, 3 alert. start and end must be given together. When I Work: GET /2/swaps.

ParamètreTypeRequisDescription
startstringnonStart of the shift window (give with end). Date-time, e.g. 2026-10-05T08:00:00-05:00 (When I Work's own examples also use RFC 2822, e.g. "Mon, 05 Oct 2026 08:00:00 -0500").
endstringnonEnd of the shift window (give with start). Date-time, e.g. 2026-10-05T08:00:00-05:00 (When I Work's own examples also use RFC 2822, e.g. "Mon, 05 Oct 2026 08:00:00 -0500").
user_idarray<integer>nonOne or more user ids.
shift_idarray<integer>nonOne or more shift ids.
statusarray<integer>nonOne or more statuses.
typearray<integer>nonOne or more types.
open_onlybooleannonOnly open swaps.
limitintegernonMaximum number of results.
pageintegernonPage of results to load (the response says whether there are `more`).

wheniwork_list_availability

List availability

List availability events — when people said they can or cannot work, including recurring patterns that fall in the window. Defaults to the caller, from now to two weeks out. When I Work: GET /2/availabilityevents.

ParamètreTypeRequisDescription
startstringnonStart of the window (default now). Date-time, e.g. 2026-10-05T08:00:00-05:00 (When I Work's own examples also use RFC 2822, e.g. "Mon, 05 Oct 2026 08:00:00 -0500").
endstringnonEnd of the window (default two weeks from now). Date-time, e.g. 2026-10-05T08:00:00-05:00 (When I Work's own examples also use RFC 2822, e.g. "Mon, 05 Oct 2026 08:00:00 -0500").
user_idintegernonWhose availability (default the calling user).
include_allbooleannonEveryone's availability, not just one user's — managers only.

wheniwork_list_annotations

List schedule annotations

List schedule annotations — announcements, business-closed days and blackout dates when time off is not allowed. Defaults to today through one year out. When I Work: GET /2/annotations.

ParamètreTypeRequisDescription
start_datestringnonStart of the range (default the start of today). Date-time, e.g. 2026-10-05T08:00:00-05:00 (When I Work's own examples also use RFC 2822, e.g. "Mon, 05 Oct 2026 08:00:00 -0500").
end_datestringnonEnd of the range (default one year after start). Date-time, e.g. 2026-10-05T08:00:00-05:00 (When I Work's own examples also use RFC 2822, e.g. "Mon, 05 Oct 2026 08:00:00 -0500").
no_time_offbooleannonOnly annotations that block time off.

wheniwork_create_shift

Create a shift

Create one shift on a schedule — assigned to a user, or open (user_id 0). Created as a draft unless published is true. Undo by editing it or unpublishing. When I Work: POST /2/shifts.

ParamètreTypeRequisDescription
location_idintegerouiThe schedule (location) the shift belongs to id.
start_timestringouiShift start, date-time with offset, e.g. 2026-10-05T08:00:00-05:00.
end_timestringouiShift end, date-time with offset.
user_idintegernonThe user to assign. 0 (or omitted on create) makes it an open shift.
position_idintegernonPosition for the shift.
site_idintegernonJob site for the shift.
break_timenumbernonUnpaid break length in hours, e.g. 0.5.
notesstringnonShift notes shown to the employee.
colorstringnonHex colour without #, e.g. cc0000.
publishedbooleannonPublish it immediately (default: draft).
is_sharedbooleannonFor an open shift: a shared open shift.

wheniwork_update_shift

Update a shift

Change a shift — reassign it, move it, change position or notes. When I Work requires start_time, end_time and location_id on every update, so fetch the shift first and pass them back. This tool never sends a breaks array; When I Work documents that breaks omitted from an update's breaks list are removed, so re-check the shift's breaks afterwards. When I Work: PUT /2/shifts/{id}.

ParamètreTypeRequisDescription
shift_idintegerouiThe shift id.
location_idintegerouiThe schedule (location) id.
start_timestringouiShift start (required by the API even if unchanged).
end_timestringouiShift end (required by the API even if unchanged).
user_idintegernonThe user to assign. 0 (or omitted on create) makes it an open shift.
position_idintegernonPosition for the shift.
site_idintegernonJob site for the shift.
break_timenumbernonUnpaid break length in hours, e.g. 0.5.
notesstringnonShift notes shown to the employee.
colorstringnonHex colour without #, e.g. cc0000.
publishedbooleannonPublish it immediately (default: draft).
is_sharedbooleannonFor an open shift: a shared open shift.

wheniwork_publish_shifts

Publish shifts

Publish draft shifts so employees can see them. Publishing does not itself send notifications. Undo with wheniwork_unpublish_shifts. When I Work: POST /2/shifts/publish.

ParamètreTypeRequisDescription
idsarray<integer>ouiThe shift ids to publish.

wheniwork_unpublish_shifts

Unpublish shifts

Return published shifts to draft, hiding them from employees. Undo with wheniwork_publish_shifts. When I Work: POST /2/shifts/unpublish.

ParamètreTypeRequisDescription
idsarray<integer>ouiThe shift ids to unpublish.

wheniwork_create_time_off_request

Create a time-off request

Create a time-off request for a user (default the calling user). It starts pending; cancel it with wheniwork_update_time_off_request (status 1). Get type ids from wheniwork_list_time_off_types. When I Work: POST /2/requests.

ParamètreTypeRequisDescription
start_timestringouiStart of the time off, full date-time.
end_timestringouiEnd of the time off, full date-time.
user_idintegernonWho is taking time off (default the calling user).
type_idintegernonTime-off type id (Personal, Sick, Holiday...).
paidbooleannonWhether it is paid time off.
hoursnumbernonHours of paid time off to use.

wheniwork_update_time_off_request

Approve, deny or change a time-off request

Change a time-off request: set its status (0 pending, 1 canceled, 2 accepted/approved, 3 expired, 4 denied) and/or its dates or hours. Reversible — set the status back. start_time and end_time must be given together. When I Work: PUT /2/requests/{request_id}.

ParamètreTypeRequisDescription
request_idintegerouiThe time-off request id.
statusintegernonNew status.
start_timestringnonNew start, full date-time (give with end_time).
end_timestringnonNew end, full date-time (give with start_time).
hoursnumbernonHours of paid time off to use.

Compatibilité clients

Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.

ClientTransports documentésCe serveurSource
Claude Codestdio Streamable HTTP SSEtransport acceptédoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport acceptédoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport acceptédoc
Cursorstdio Streamable HTTP SSEtransport acceptédoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport acceptédoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport acceptédoc
Gemini CLIstdio Streamable HTTP SSEtransport acceptédoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport acceptédoc

Configs prêtes à copier

Adresse distante utilisée : https://when-i-work.usefulapi.io/mcp. Formats repris de la documentation de chaque client.

Claude Code
claude mcp add --transport http when-i-work https://when-i-work.usefulapi.io/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : when-i-work ; URL : https://when-i-work.usefulapi.io/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : when-i-work ; Server URL : https://when-i-work.usefulapi.io/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "when-i-work": {
      "url": "https://when-i-work.usefulapi.io/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "when-i-work": {
      "type": "http",
      "url": "https://when-i-work.usefulapi.io/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "when-i-work": {
      "url": "https://when-i-work.usefulapi.io/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "when-i-work": {
      "httpUrl": "https://when-i-work.usefulapi.io/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.when-i-work]
url = "https://when-i-work.usefulapi.io/mcp"

Citer cette source

Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.

When I Work MCP by usefulapi · L’Atlas · Test du

Markdown
[When I Work MCP by usefulapi — L’Atlas](https://latlas.dev/mcp/io.usefulapi/when-i-work)
Méthode et limites des tests

Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.