When I Work MCP by usefulapi
io.usefulapi/when-i-work
Check shifts, time clock entries, time-off requests, swaps and availability, and manage shifts.
Description fournie par l’auteur dans le registre officiel MCP (en anglais).
- Dépôt
- github.com/m190/usefulapi-mcp
- Site
- usefulapi.io/when-i-work/
- Adresse du serveur
https://when-i-work.usefulapi.io/mcp(streamable-http)- Version
- 1.40.6
- Auteur
- usefulapi.io (espace de noms vérifié par le registre)
- Source
- Registre officiel MCP (mis à jour le 24 nov. 2026)
Comment l’installer
Claude Code
Dans un terminal :
claude mcp add --transport http when-i-work https://when-i-work.usefulapi.io/mcpClaude (application et claude.ai)
Ouvrez Réglages, puis Connecteurs, et ajoutez un connecteur personnalisé avec cette adresse. Si le serveur demande une connexion, Claude vous la proposera.
https://when-i-work.usefulapi.io/mcpChatGPT
Dans Réglages, partie Applications et connecteurs, activez le mode développeur, puis créez un connecteur avec cette adresse.
https://when-i-work.usefulapi.io/mcpCursor ~/.cursor/mcp.json
Ajoutez ceci au fichier ~/.cursor/mcp.json (ou .cursor/mcp.json dans le projet) :
{
"mcpServers": {
"when-i-work": {
"url": "https://when-i-work.usefulapi.io/mcp"
}
}
}VS Code .vscode/mcp.json
Ajoutez ceci au fichier .vscode/mcp.json de votre projet :
{
"servers": {
"when-i-work": {
"type": "http",
"url": "https://when-i-work.usefulapi.io/mcp"
}
}
}Ces configurations sont construites à partir des informations publiées par l’auteur. Vérifiez le dépôt avant d’installer un serveur local.
Notre test
Répond Le serveur répond au protocole MCP et liste ses outils.
- Date
- 28 nov. 2026, 10:55 (test fait par L’Atlas)
- Temps de réponse
- 1 242 ms (test complet)
- Outils trouvés
- 21
- Nom annoncé
- when-i-work-mcp 1.40.6
- Protocole
- MCP 2025-11-25
- Prochain test
- 5 déc. 2026
Voir les outils (21)
wheniwork_get_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.wheniwork_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 admiwheniwork_get_user
Fetch one user by id — name, email, role, positions, schedules, wage. When I Work: GET /2/users/{id}.wheniwork_list_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.wheniwork_list_positions
List the positions (job roles such as Cashier or Dishwasher) in the account. When I Work: GET /2/positions.wheniwork_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 defawheniwork_get_shift
Fetch one shift by id, including its breaks and publish state. When I Work: GET /2/shifts/{id}.wheniwork_list_eligible_users_for_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.wheniwork_list_times
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). Whenwheniwork_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.wheniwork_get_time_off_request
Fetch one time-off request by id, with its message thread and users. When I Work: GET /2/requests/{request_id}.wheniwork_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.wheniwork_list_shift_swaps
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 Worwheniwork_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.wheniwork_list_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.wheniwork_create_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.wheniwork_update_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 documwheniwork_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.wheniwork_unpublish_shifts
Return published shifts to draft, hiding them from employees. Undo with wheniwork_publish_shifts. When I Work: POST /2/shifts/unpublish.wheniwork_create_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.wheniwork_update_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/req
Ce que fait le test : il ouvre une session MCP (initialize) et demande la liste des outils (tools/list), sans clé ni compte. Aucun outil n’est appelé. En savoir plus
Avis
Pas encore d’avis.
Connectez-vous pour donner votre avis. Il suffit de votre e-mail.
Commentaires
Pas encore de commentaire. Une question, une astuce ? Lancez la discussion.
Connectez-vous pour commenter.
C’est votre projet ? Connectez-vous pour revendiquer la fiche.
Badge pour votre README
Montrez que votre projet est référencé (et testé, s’il répond) : collez ce code dans votre README. Le badge suit le dernier test et renvoie vers cette fiche.
Markdown (GitHub)
[](https://lagora.dev/fiche/io.usefulapi/when-i-work)HTML
<a href="https://lagora.dev/fiche/io.usefulapi/when-i-work"><img src="https://lagora.dev/badge/io.usefulapi/when-i-work.svg" alt="io.usefulapi/when-i-work sur L’Agora" height="20"></a>Réservé à l’auteur de la fiche : connectez-vous pour continuer.
Du même auteur
Chatwoot MCP by usefulapi Répond
UpCloud MCP by usefulapi Répond
FreeAgent MCP by usefulapi Répond
sevdesk MCP by usefulapi Répond