Serveur MCP

leave

io.github.theluckystrike/leave
Entreprise et opérations Public et accessible MCP 2026-07-28

Ce que fait ce MCP

Manages employee leave and PTO requests, balances, approvals, conflicts, absence calendars, and ICS exports.

leave_approve
Approve leave
Approve a pending leave request by id. Also used to re-open a rejected one. Nothing to approve on an already-approved request.
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['request'], 'properties': {'comment': {'type': 'string', 'maxLength': 2000, 'description': 'Approval note'}, 'request': {'type': 'string', 'maxLength': 200, 'description': 'The request id (e.g. LV-0001).'}}, 'additionalProperties': False}
leave_balance
Leave balance
Show one employee's leave balance: allowance + carried-over, minus approved and pending, as whole days plus a possible half day. Remaining is rounded down to whole days on the report.
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['employee'], 'properties': {'employee': {'type': 'string', 'maxLength': 200, 'description': 'Employee id or name'}}, 'additionalProperties': False}
leave_cancel
Cancel leave
Cancel a pending or approved request by id, keeping its record with status cancelled. Differs from leave_reject in intent (voluntary withdrawal). Nothing happened if already cancelled.
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['request'], 'properties': {'reason': {'type': 'string', 'maxLength': 2000, 'description': 'Why'}, 'request': {'type': 'string', 'maxLength': 200, 'description': 'The request id (e.g. LV-0001).'}}, 'additionalProperties': False}
leave_employee_add
Add an employee
Add an employee to the leave tracker and return their EMP-NNNN id. Give their annual paid-leave allowance in whole days and any days carried over from last year. Balances charge approved plus pending leave against allowance + carried-over. Free tier: unlimited.
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['name', 'annualAllowance'], 'properties': {'name': {'type': 'string', 'maxLength': 200, 'description': 'Full name, e.g. Taylor Wren'}, 'email': {'type': 'string', 'maxLength': 200, 'description': 'Work email, for calendar lookup'}, 'carriedOver': {'type': 'integer', 'maximum': 1000, 'minimum': 0, 'description': 'Days carried over from last year (default 0)'}, 'annualAllowance': {'type': 'integer', 'maximum': 1000, 'minimum': 0, 'description': 'Annual paid leave allowance in whole days'}}, 'additionalProperties': False}
leave_export_ics
Export calendar (Pro)
Pro. Export all APPROVED leave as an .ics calendar (RFC5545). Returns the calendar text; pass path to also write it to a local file. watermark-free.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'path': {'type': 'string', 'maxLength': 500, 'description': 'Local .ics file to write'}}, 'additionalProperties': False}
leave_import
Bulk import requests (Pro)
Pro. Bulk-create leave requests from a CSV/TSV. First row is a header: employee,type,start,end,halfDay,status,reason. status may be omitted (defaults to pending) or be approved/rejected. Each request is still checked for overlap conflicts; a conflicting row is reported, not applied. watermark-free, full CRUD.
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['csv'], 'properties': {'csv': {'type': 'string', 'maxLength': 200000, 'description': 'CSV text, newline-separated, first row header: employee,type,start,end,halfDay,status,reason'}}, 'additionalProperties': False}
leave_list
List employees or requests
List all employees, or all leave requests (optionally filtered by employee and/or status). Omit the filter to list requests.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'status': {'enum': ['pending', 'approved', 'rejected', 'cancelled'], 'type': 'string', 'description': 'Filter requests by status'}, 'employee': {'type': 'string', 'maxLength': 200, 'description': 'Filter requests to one employee'}}, 'additionalProperties': False}
leave_out_range
Who is out?
Who is out in a date range: start and end are inclusive YYYY-MM-DD. Each employee appears once per day; pending requests count as a plan. Use for coverage, calendars and absence summaries. Free tier: unlimited.
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['start', 'end'], 'properties': {'end': {'type': 'string', 'maxLength': 32, 'description': 'Last day, YYYY-MM-DD, inclusive'}, 'start': {'type': 'string', 'maxLength': 32, 'description': 'First day, YYYY-MM-DD, inclusive'}}, 'additionalProperties': False}
leave_reject
Reject leave
Reject or cancel a leave request by id. A pending or approved request becomes rejected; a rejected one can be reopened via leave_approve. Use leave_cancel (via reject with reason) for voluntary withdrawal.
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['request'], 'properties': {'reason': {'type': 'string', 'maxLength': 2000, 'description': 'Why'}, 'request': {'type': 'string', 'maxLength': 200, 'description': 'The request id (e.g. LV-0001).'}}, 'additionalProperties': False}
leave_request
Request leave
Create a leave or PTO request and return its LV-NNNN id. type is vacation, sick, unpaid or parental. start and end are inclusive YYYY-MM-DD dates; halfDay charges half a day for the whole span. A pending request is refussed if it would overlap another approved or pending request of the same employee. Free tier: unlimited requests.
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['employee', 'type', 'start', 'end'], 'properties': {'end': {'type': 'string', 'maxLength': 32, 'description': 'Last day off, YYYY-MM-DD, inclusive'}, 'type': {'enum': ['vacation', 'sick', 'unpaid', 'parental'], 'type': 'string', 'description': 'Kind of leave'}, 'start': {'type': 'string', 'maxLength': 32, 'description': 'First day off, YYYY-MM-DD, inclusive'}, 'reason': {'type': 'string', 'maxLength': 2000, 'description': 'Why, shown in reports and calendar'}, 'halfDay': {'type': 'boolean', 'description': 'Half-day charge for the whole span (default false)'}, 'employee': {'type': 'string', 'maxLength': 200, 'description': 'The employee id or name'}}, 'additionalProperties': False}
license_activate
Activate license
Turn Pro on for this connection with key, an MCPL1.<payload>.<signature> issued at checkout for this server or the bundle. Data under your token stays; a wrong or expired key changes nothing. license_status confirms it.
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['key'], 'properties': {'key': {'type': 'string', 'description': 'License key from checkout, MCPL1.<payload>.<signature>'}}, 'additionalProperties': False}
license_status
License status
Report this endpoint's licence state for your token as JSON: the product, the tier free or pro, why it is not Pro, and the checkout URL. Call it to explain a free-tier refusal. No arguments, nothing changes.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
Ajouté
leave_cancel
21 September 2026 02:40
Ajouté
license_activate
21 September 2026 02:40
Ajouté
license_status
21 September 2026 02:40
Ajouté
leave_export_ics
21 September 2026 02:40
Ajouté
leave_import
21 September 2026 02:40
Ajouté
leave_list
21 September 2026 02:40
Ajouté
leave_out_range
21 September 2026 02:40
Ajouté
leave_balance
21 September 2026 02:40
Ajouté
leave_reject
21 September 2026 02:40
Ajouté
leave_approve
21 September 2026 02:40
Ajouté
leave_request
21 September 2026 02:40
Ajouté
leave_employee_add
21 September 2026 02:40