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。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。