Deputy Workforce Mcp

io.github.hyperdrift-io由 GitHub 帳號 hyperdrift-io 發布v0.1.0更新於 Oct 24, 2026

Read-only Deputy coverage, workload, timesheet, availability, and staffing signals.

已驗證STDIO僅桌面效率與工作流資料與分析

概覽

AI 產生的概覽

唯讀的 MCP 伺服器,把 Deputy 人力記錄轉成排班涵蓋、加班、工時表、可用性與人力配置的發現,供助理使用。

可以做什麼
  • 依日期區間與最低人數找出排班涵蓋缺口
  • 標記已完成工時加上剩餘排班工時超過規劃門檻的加班風險
  • 列出超出容差的工時表異常,以及與排班衝突的可用性紀錄
  • 依地點與日期彙整人力配置
  • 每筆發現都標明所屬期間、來源紀錄 ID 與所用規則或門檻,資料為空時給出信心限制,而非虛假的「一切正常」
適用情境
適合 Deputy 主管或排班人員,讓助理直接回答涵蓋缺口、加班風險、工時差異、請假衝突與依地點彙整等排班問題,而不必暴露 Deputy 的原始端點目錄。
執行需求
以 stdio 在本機執行,需要 Node.js 22 或更新版本(內含 npm)。fixture 模式不需任何憑證。live 模式需要 DEPUTY_MODE=live、客戶自有的 DEPUTY_BASE_URL、DEPUTY_ACCESS_TOKEN OAuth 存取權杖,可選用 DEPUTY_AUTH_SCHEME。遠端 HTTP 模式需要至少 32 位元組的 MCP bearer 權杖。
安裝前請注意
live 模式需在 DEPUTY_ACCESS_TOKEN 提供客戶自有的 Deputy OAuth 存取權杖與基礎 URL,請勿寫入共用設定。live 模式仍待沙箱驗證,欄位結構可能不符。工作量門檻僅為排班規劃訊號,不構成薪資或法律建議。可選的 PostHog 分析預設關閉,除非提供專案權杖。

安裝

在 SourceWeft 中

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

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Deputy Workforce Operations MCP

A read-only Model Context Protocol server that turns Deputy workforce records into five grounded, operational workflows for AI assistants.

What a Deputy manager can ask

  • “Where are the coverage gaps from 20 to 26 July, using a minimum of two people?”
  • “Which combined completed and rostered workloads cross our 40-hour planning threshold?”
  • “Show timesheet exceptions above a 15-minute tolerance.”
  • “Which rosters overlap recorded unavailability or approved leave?”
  • “Summarise staffing by location and day for this week.”

The tools answer those questions directly instead of exposing Deputy's endpoint catalogue.

Representative results

The examples below use fictional records and compact the structured response to the fields a manager can act on.

Coverage gaps

json
{  "period": { "start": "2026-07-20", "end": "2026-07-26", "timezone": "Europe/London" },  "findings": [{ "kind": "coverage_gap", "sources": [{ "resource": "Roster", "id": 1001 }], "rule": "active roster has fewer than 2 people" }],  "limits": []}

Overtime risk

json
{ "period": { "start": "2026-07-20", "end": "2026-07-26", "timezone": "Europe/London" }, "findings": [{ "worker_id": 7, "planned_hours": 43.5, "threshold_hours": 40, "sources": [{ "resource": "Timesheet", "id": 2007 }, { "resource": "Roster", "id": 1007 }], "rule": "completed plus remaining rostered hours exceeds threshold" }], "limits": [] }

Timesheet exceptions

json
{ "period": { "start": "2026-07-20", "end": "2026-07-26", "timezone": "Europe/London" }, "findings": [{ "kind": "start_time_variance", "roster_id": 1002, "minutes": 22, "tolerance_minutes": 15, "sources": [{ "resource": "Roster", "id": 1002 }, { "resource": "Timesheet", "id": 2002 }], "rule": "timesheet start differs from roster beyond tolerance" }], "limits": [] }

Availability conflicts

json
{ "period": { "start": "2026-07-20", "end": "2026-07-26", "timezone": "Europe/London" }, "findings": [{ "kind": "recorded_unavailability_conflict", "sources": [{ "resource": "Roster", "id": 1002 }, { "resource": "EmployeeAvailability", "id": 4001 }], "rule": "roster interval overlaps recorded unavailability" }], "limits": [] }

Staffing summary

json
{ "period": { "start": "2026-07-20", "end": "2026-07-26", "timezone": "Europe/London" }, "findings": [{ "location": "North", "day": "2026-07-21", "rostered_hours": 16, "completed_hours": 12, "assigned": 3, "unassigned": 1, "sources": [{ "resource": "Roster", "id": 1008 }, { "resource": "Timesheet", "id": 2008 }], "rule": "group roster and timesheet hours by location and local day" }], "limits": [] }

Every finding names its period, source record identifiers, and the rule or threshold that produced it. Empty data gives a confidence limit rather than a false all-clear.

Safety and data handling

  • Every tool is read-only, idempotent, and non-destructive.
  • The server never creates or changes shifts, timesheets, leave, payroll, or employee data.
  • Workload thresholds are operational planning signals, not payroll, employment, or legal advice.
  • Telemetry excludes tool arguments, employee and location IDs, dates, result content, and tokens.
  • Standard MCP analytics are disabled unless the deployment owner provides a PostHog project token; the privacy allowlist is documented in PRIVACY.md.
  • V1 is single-tenant by deployment: one Deputy installation and one MCP bearer token per instance.
  • Authentication, bounded HTTP transport, rate limiting, structured results, and stdio lifecycle use MCP Maker's shared @hyperdrift-io/mcp-service-kit; Deputy keeps its provider and workflow logic.

See SECURITY.md and PRIVACY.md for the complete contracts.

Local installation

Node.js 22 or later is required; npm ships with it. The quickest safe inspection uses the public package and fictional fixture data:

bash
DEPUTY_MODE=fixture npx -y @hyperdrift-io/deputy-workforce-mcp@latest

For a visible tool-list and tool-call proof, see the fixture demonstration. The package is also distributed through the official MCP Registry and as a one-file MCP Bundle on Smithery. Maintainers can reproduce the local bundle with:

bash
npm run mcpb:pack

To work from source:

bash
git clone https://github.com/hyperdrift-io/deputy-workforce-mcp.gitcd deputy-workforce-mcpnpm installnpm run buildDEPUTY_MODE=fixture node dist/stdio.js

Fixture mode contains fictional Worker 01-style records and is safe for evaluation. To connect a Deputy installation, copy .env.example to .env.local, choose DEPUTY_MODE=live, and provide a customer-owned base URL and OAuth access token. Live resource shapes still require the first sandbox verification recorded in docs/DEPUTY_API.md.

Example client configuration:

json
{  "mcpServers": {    "deputy-workforce": {      "command": "node",      "args": ["/absolute/path/to/deputy-workforce-mcp/dist/stdio.js"],      "env": { "DEPUTY_MODE": "fixture" }    }  }}

Remote deployment

The same five tools can run over authenticated streamable HTTP. Remote mode requires an MCP bearer token of at least 32 bytes, authenticates before parsing requests, limits bodies to 1 MiB, and uses bounded in-memory rate protection.

bash
DEPUTY_MODE=fixture \MCP_BEARER_TOKEN="replace-with-at-least-32-random-bytes" \PORT=3013 \npm start
  • Health: GET /health
  • MCP: authenticated POST /mcp

See docs/DEPLOYMENT.md before operating a remote instance.

Tool reference

The server registers exactly five tools:

  • find_coverage_gaps
  • flag_overtime_risk
  • list_timesheet_exceptions
  • find_availability_conflicts
  • summarise_staffing

Inputs, rules, and output limits are documented in docs/TOOLS.md.

Status

Fixture mode, stdio, and authenticated streamable HTTP are operational. Live Deputy mode remains explicitly pending a customer-owned sandbox token and field-shape verification. The public API is still in prototype discovery and may evolve from real workflow feedback.

Built as MCP Maker delivery 001

Deputy Workforce Operations MCP is the flagship public implementation from MCP Maker: Hyperdrift turns established SaaS APIs into secure, production-ready AI integrations.

The open-source core remains useful on its own. MCP Maker offers managed deployment, security hardening, custom workflows, and operational support for organisations that want a production integration tailored to their environment.

來源:README.md,提交 25953db

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分