
Leave Pto Requests Approvals
io.github.theluckystrike由 GitHub 帳號 theluckystrike 發布v0.22.6更新於 Oct 24, 2026
Employee leave and PTO requests: balances, approvals, calendars, and who-is-out summaries.
概覽
面向小型團隊的本地 MCP 伺服器,用來管理員工休假與 PTO:額度、申請、簽核、餘額與誰在休假的日曆。
- 可以做什麼
- 新增員工並設定年度額度與可選的結轉天數
- 登錄特休、病假或事假申請(含半天),並進行核准、駁回或取消
- 查詢每位員工的餘額:額度、結轉、已核准、待簽核、已佔用與剩餘天數
- 依日期範圍查看誰在休假(逐日日曆與人員天數),並依員工與狀態列出員工與申請
- Pro 版增加 CSV 批次匯入申請,以及將已核准休假匯出為 ICS 日曆
- 適用情境
- 適合個人創業者與小型工作室,想在 Claude Desktop、Cursor 等 MCP 用戶端中直接記錄與簽核休假,而不必另外建置 HR 系統。也適合在排班時需要快速查詢餘額與誰在休假的團隊。
- 執行需求
- 以 stdio 本機程序執行,可透過 mcpb 套件或 npx 安裝。資料存放在使用者家目錄或 XDG 資料目錄下的本機 JSON 檔案。不需帳號或身分驗證;選用的 Pro 授權金鑰透過 MCP_LICENSE_KEY 環境變數提供,並離線驗證。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Leave Pto Requests Approvals,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
mcp-leave
[theluckystrike/mcp-leave MCP server]
In the official MCP Registry (io.github.theluckystrike/leave).
Employee leave/PTO tracking for solopreneurs and small studios: who is off,
when, and how many days each person has left. Add employees with an annual
allowance and any carried-over days, log vacation/sick/personal requests
(including half-days), approve or reject them, and read balances, conflicts
and who-is-out calendars directly from your MCP client - Claude Desktop,
Cursor, or any MCP host.
Tools
"leave_employee_add"- add an employee withannualAllowance(and optionalcarriedOver)."leave_request"- log a leave request (employee,type,start,end, optionalhalfDay,reason)."leave_approve"/"leave_reject"- decide a request; decisions are recorded with dates."leave_cancel"- cancel a pending or approved request (keeps the audit trail)."leave_balance"- allowance, carried, approved, pending, committed and remaining days per employee."leave_out_range"- who is out in a date range: day-by-day calendar rows plus person-days."leave_list"- all employees and requests, filterable by employee and status."leave_import"(Pro) - bulk-create requests from CSV; conflicting rows are rejected one by one, valid rows still apply."leave_export_ics"(Pro) - export approved leave as an RFC5545.icscalendar.
The one rule that decides everything else
A day is committed when the request that spends it is approved or pending.
Balance is allowance + carried − approved − pending. Cancelling returns the
days immediately; rejecting never charged them.
Overlapping requests for the same person are refused at creation time - both pending and approved count - so the calendar never contains two requests claiming the same day.
Free vs Pro
The free tier is the full CRUD surface: employees, requests, approvals,
balances, calendars - watermark-free, no request limits. Pro (an
MCP_LICENSE_KEY, activate with "license_activate") adds bulk CSV import
and ICS calendar export. Run "license_status" to see the current tier.
Quick start
Data lives in a single JSON store (~/.mcp-leave/store.json, or
$XDG_DATA_HOME/mcp-servers/leave/store.json when set), written atomically
under a file lock, so two clients on one machine never interleave writes.
Use these docs as an MCP server
Any MCP client (Claude, Cursor, Windsurf, VS Code) can read this repository's documentation directly via GitMCP - no install:
- Docs MCP URL: https://gitmcp.io/theluckystrike/mcp-leave
來源:servers/leave/README.md,提交 55b3f42
工具
0版本歷史
2- v0.22.6最新Oct 14, 2026
- v0.22.0Sep 23, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分