Shift Scheduler

com.kindoflost.staff-scheduling由 staff-scheduling.kindoflost.com 發布官方發布者v1.0.0更新於 Oct 27, 2026

Builds optimal 24/7 staff rosters with a real MILP solver: rest rules, skills, nights, fairness.

已驗證Streamable HTTP可網頁執行效率與工作流資料與分析

概覽

AI 產生的概覽

遠端 MCP 伺服器,以 MILP 求解器產生最佳的 7×24 排班表,兼顧休息規則、技能、夜班與公平性。

可以做什麼
  • 列出並取得內建排班範例(醫院病房、三班制工廠、警衛崗、消防隊、7×24 客服中心),回傳可直接編輯的輸入 JSON
  • 以最佳方式求解排班問題,回傳每天誰上哪個班、覆蓋情況、未補足的人力、每人工時與警告
  • 取得仍在執行的求解工作結果,可等待指定的秒數
適用情境
需要把排班限制轉成具體班表時使用,例如有休息規則、技能要求、夜班與公平性目標的 7×24 營運;也可以從範例排班出發,調整成實際團隊的情況。
執行需求
需要一個遠端 streamable HTTP 端點;未宣告任何套件、環境變數或請求標頭,也未宣告身分驗證。求解通常需約 5 至 60 秒,長時間執行時需輪詢結果。
安裝前請注意
排班由外部服務產生,送出的人員資料會傳給第三方。耗時較長的求解需要輪詢,結果在完成後 15 分鐘過期,應及時保存。未宣告身分驗證,送出真實員工資料前請先確認資料保護方式。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Shift Scheduler,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/com.kindoflost.staff-scheduling%2Fshift-scheduler/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "shift-scheduler": {
      "type": "http",
      "url": "https://staff-scheduling.kindoflost.com/mcp"
    }
  }
}

工具

4

list_shift_examples

List example rosters

List the built-in example rostering problems (hospital ward, 3-shift plant, security post, fire station, 24/7 help desk). Use one as a starting point for the user's own roster.

無需輸入參數。

get_shift_example

Get an example roster input

Return the full input JSON of one example, in exactly the shape build_shift_roster accepts. Edit it (names, days, headcounts, rules) to match the user's situation.

輸入參數langname必填

build_shift_roster

Build an optimized shift roster

Solve a staff rostering problem to optimality with a MILP solver and return who works which shift each day, coverage, unfilled posts, hours per person and warnings. Solves take 5-60 s. Pass either `example` (to solve a built-in example as-is) or the roster input fields. If the result has status 'running', call get_shift_roster_result with its job_id. If it has status 'too_large', shorten the horizon or reduce people/shift types and retry. Roster input. Minimal example: {"days": ["2026-10-05", "2026-10-06"], "shifts": [{"shift": "Day", "start": "07:00", "end": "19:00"}, {"shift": "Night", "start": "19:00", "end": "07:00", "night": "yes"}], "demands": [{"name": "RN", "penalty": 500}], "people": [{"name": "Ana", "cost": 40, "max_hw": 48}, ...], "grids": {"RN": {"2026-10-05|Day": 2, "2026-10-05|Night": 1}}, "parameters": {"MinRestHours": 11}}. Call get_shift_example for complete, realistic inputs.

輸入參數daysgridspeopleshiftsskillsdemandsexampleparameterswait_seconds

get_shift_roster_result

Get a roster result

Fetch the result of a build_shift_roster job that returned status 'running'. Waits up to wait_seconds; call again while status is 'running'. Jobs expire 15 minutes after they finish.

輸入參數job_id必填wait_seconds

版本歷史

1
  1. v1.0.0最新Sep 27, 2026

評分

已滿足適用檢查項的 83%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。