Deputy MCP by usefulapi

io.usefulapi由 usefulapi.io 发布官方发布者v1.39.1更新于 Nov 14, 2026

See rosters, timesheets, leave and staff in Deputy, and create shifts, leave and memos.

发布方自己的服务:Ably MCP by usefulapi

已验证Streamable HTTP可网页运行效率与工作流商业与电商

概览

AI 生成的概览

托管式 Deputy 连接器,让助手查看排班、工时表、请假与员工信息,并创建班次、请假申请和公告。

可以做什么
  • 查询当前登录用户、地点与区域
  • 搜索并读取员工信息,包括联系方式、角色与雇佣信息
  • 按时间范围、员工、区域和审批状态搜索班次与工时表,并读取单条记录
  • 搜索请假申请与员工的不可用时间
  • 查询并描述任意 Deputy 资源对象的字段、筛选与关联
  • 创建、修改和发布班次;创建请假、不可用时间和公告;修改并审批工时表
适用场景
适合排班或门店管理者在聊天客户端中直接询问谁在上班、哪些工时表待审批、有哪些待处理的请假,并进行小范围的排班与工时调整,无需打开 Deputy。
运行要求
以 URL 方式添加的远程 MCP 端点,通过 OAuth 登录;首次连接需提供 Deputy 安装主机地址和永久访问令牌。无需本地安装。免费方案每月 50 次工具调用,付费方案按用户通过结账链接计费。
安装前请注意
写入类工具会改动 Deputy 数据:班次、发布(可能通过短信或邮件通知员工)、请假、不可用时间、员工立即可见的公告,以及会影响薪资导出的工时修改与审批。执行写入前应先确认。Deputy 安装主机与访问令牌由第三方托管方按用户保存,用量受限且可通过助手完成付费升级或取消。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Deputy MCP by usefulapi,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.usefulapi%2Fdeputy/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "deputy-by-usefulapi": {
      "type": "http",
      "url": "https://deputy.usefulapi.io/mcp"
    }
  }
}

README

Deputy MCP by usefulapi

Use Deputy from Claude, Cursor, or any MCP client — see rosters, timesheets, leave and staff, and create shifts, leave requests and memos. Hosted, no local install: connect with your own Deputy credentials.

Live endpoint: https://deputy.usefulapi.io/mcp · Homepage: https://usefulapi.io/deputy

Connect

  • Claude (claude.ai, Desktop): open Customize → Connectors, click + Add → Add custom connector, and paste https://deputy.usefulapi.io/mcp.
  • Claude Code: claude mcp add --transport http deputy https://deputy.usefulapi.io/mcp, then run /mcp to log in.
  • VS Code: Add to VS Code.
  • Cursor and other clients: add the URL as a remote MCP server:
json
{  "mcpServers": {    "deputy": {      "url": "https://deputy.usefulapi.io/mcp"    }  }}

Add only the URL. Do not add an Authorization header or an API key to the client config: the server signs you in with OAuth, and the login page asks for your Deputy credentials.

Step-by-step setup, where to find your credentials, and FAQ: https://usefulapi.io/deputy/

On first connect you'll provide your Deputy install host (like acme.au.deputy.com) and a permanent access token (Deputy developer portal → OAuth Client → Get an Access Token). They're validated, stored per-user, and scoped to you — no keys in config files.

Tools

ToolTypeWhat it does
deputy_whoamireadWho am I
deputy_list_locationsreadList locations
deputy_list_areasreadList areas
deputy_list_employeesreadList employees
deputy_get_employeereadGet one employee
deputy_list_shiftsreadList shifts
deputy_get_shiftreadGet one shift
deputy_list_timesheetsreadList timesheets
deputy_get_timesheetreadGet one timesheet
deputy_list_leavereadList leave requests
deputy_get_employee_unavailabilityreadGet an employee's unavailability
deputy_query_resourcereadQuery any Deputy resource
deputy_describe_resourcereadDescribe a Deputy resource
deputy_create_shiftwriteCreate a shift
deputy_update_shiftwriteUpdate a shift
deputy_publish_shiftswritePublish shifts
deputy_create_leave_requestwriteCreate a leave request
deputy_add_unavailabilitywriteAdd unavailability for an employee
deputy_create_memowritePost a memo
deputy_update_timesheetwriteUpdate a timesheet
deputy_approve_timesheetwriteApprove a timesheet
deputy_usage_statusmetaUsage status (free-tier meter)
deputy_request_featuremetaRequest a missing feature
deputy_upgrademetaUpgrade to Pro or Pro+
deputy_cancel_subscriptionmetaCancel the Pro subscription

read tools are read-only; write tools mutate data (clients should confirm them); meta tools report usage, manage your subscription or send a feature request.

Pricing

PlanPriceLimit
Free$050 tool calls / month
Pro (per user)$9/mo or $90/yr (2 months free)10,000 tool calls / month
Pro+ (per user)$39/mo or $390/yr (2 months free)100,000 tool calls / month

Each paid plan covers this server only. Ask your AI to run deputy_upgrade and choose Pro or Pro+, billed monthly or yearly (it returns a Stripe Checkout link). If you already have Pro, ask to change it to Pro+. The change requires your confirmation, keeps your billing interval and charges the price difference for the rest of the period immediately. Cancel any time with deputy_cancel_subscription: your paid plan continues to the end of the paid period, with no refund for the current period, and asking to resume the same plan with deputy_upgrade before then undoes the cancel. Or write to [email protected].

License

MIT © usefulapi. Not affiliated with or endorsed by Deputy.

来源:servers/deputy/README.md,提交 f22f848

工具

21

deputy_whoami

Who am I

Return the Deputy user the token belongs to — name, employee id, company and permissions. A cheap way to confirm DEPUTY_INSTALL and the token are right. Deputy: GET /api/v1/me.

无需输入参数。

deputy_list_locations

List locations

List the install's locations (workplaces). Deputy calls a location a Company; its Id is what other tools take as location_id. Deputy: GET /api/v1/resource/Company.

无需输入参数。

deputy_list_areas

List areas

List areas (Deputy OperationalUnits — the rosterable sections of a location, e.g. Kitchen, Front of house). Shifts and timesheets belong to an area. Optionally only one location's areas. Deputy: GET /api/v1/resource/OperationalUnit, or POST .../OperationalUnit/QUERY when filtered.

输入参数maxstartactivelocation_id

deputy_list_employees

List employees

Search employees by name, location or active status. Returns Id, DisplayName, Company (main location), Active, StartDate, Role and more. Deputy: POST /api/v1/resource/Employee/QUERY.

输入参数maxstartactivelocation_idname_contains

deputy_get_employee

Get one employee

Fetch one employee's details as a supervisor sees them — contact, locations, role and employment. Deputy: GET /api/v1/supervise/employee/{id}.

输入参数employee_id必填

deputy_list_shifts

List shifts

Search the roster (scheduled shifts) by time window, employee, area, and published/open state. Each record has StartTime/EndTime (unix), StartTimeLocalized, Employee (0 or null when open), OperationalUnit (area), Published, Open, Cost and _DPMetaData with names. Deputy: POST /api/v1/resource/Roster/QUERY.

输入参数tomaxfromopenstartarea_idpublishedemployee_id

deputy_get_shift

Get one shift

Fetch one shift (Roster record) by id. Deputy: GET /api/v1/resource/Roster/{id}.

输入参数shift_id必填

deputy_list_timesheets

List timesheets

Search timesheets (actual worked time) by time window, employee, area and approval state. Each record has StartTime/EndTime (unix; EndTime null while in progress), TotalTime (hours), Cost, TimeApproved, PayRuleApproved, IsInProgress, IsLeave, Roster (linked shift) and Exported. Deputy: POST /api/v1/resource/Timesheet/QUERY.

输入参数tomaxfromstartarea_idemployee_idin_progresspay_approvedtime_approved

deputy_get_timesheet

Get one timesheet

Fetch one timesheet's full details, including breaks and approval state. Deputy: GET /api/v1/supervise/timesheet/{id}/details.

输入参数timesheet_id必填

deputy_list_leave

List leave requests

Search leave requests by employee, location, status and time window. Status: 0 awaiting approval, 1 approved, 2 declined, 3 cancelled, 4 date approved without pay, 5 pay approved without date. Start/End are unix; LeaveRule is the leave type id. Deputy: POST /api/v1/resource/Leave/QUERY.

输入参数tomaxfromstartstatusemployee_idlocation_id

deputy_get_employee_unavailability

Get an employee's unavailability

List the times one employee has marked themselves (or been marked) unavailable to work — check before rostering them. Deputy: GET /api/v1/supervise/unavail/{employeeId}.

输入参数employee_id必填

deputy_query_resource

Query any Deputy resource

Run a Resource API search on any business object (leave types, pay rules, public holidays, memos, events, shift templates, pay lines, availability, sales data, …). `search` is Deputy's clause map, e.g. {"s1":{"field":"Employee","data":12,"type":"eq"}}; operators: eq ne gt lt ge le is 'is not' in 'not in' starts contains. Use deputy_describe_resource to see an object's fields and joins. Read-only. Deputy: POST /api/v1/resource/{Object}/QUERY.

输入参数maxjoinsortstartobject必填search

deputy_describe_resource

Describe a Deputy resource

Return a Resource API object's field list, field types and joinable associations — what deputy_query_resource can filter, sort and join on. Deputy: GET /api/v1/resource/{Object}/INFO.

输入参数object必填

deputy_create_shift

Create a shift

Add a shift to the roster, assigned to an employee or left open. Created as a DRAFT unless publish is true (publishing can notify the employee). Deputy returns an empty 200 on success — use deputy_list_shifts to find the new shift's id. Deputy: POST /api/v1/supervise/roster.

输入参数openarea_id必填commentpublishend_time必填confirmedstart_time必填employee_idforce_overwritemealbreak_minutes

deputy_update_shift

Update a shift

Change an existing shift's times, area, employee, break or comment. Send the full intended shift (same fields as create) — Deputy's update is the add call with the shift id. Deputy: POST /api/v1/supervise/roster with intRosterId.

输入参数openarea_id必填commentpublishend_time必填shift_id必填confirmedstart_time必填employee_idforce_overwritemealbreak_minutes

deputy_publish_shifts

Publish shifts

Publish draft shifts so employees see them, choosing how they are notified: 1 SMS and email, 2 SMS, 3 email, 4 no notification, 5 confirmation required. Only the listed shift ids are published. Deputy: POST /api/v1/supervise/roster/publish.

输入参数shift_ids必填notify_mode必填

deputy_create_leave_request

Create a leave request

Add a leave request for an employee. By default it waits for manager approval (status 0); pass status 1 only when your system is the source of truth and the leave is already approved. Deputy tracks leave in hours, so give exact start and end times. Find leave type ids with deputy_query_resource on LeaveRules. Deputy: POST /api/v1/resource/Leave.

输入参数statuscomment必填end_date必填end_time必填start_date必填start_time必填employee_id必填location_id必填leave_rule_id必填approval_comment

deputy_add_unavailability

Add unavailability for an employee

Record a time an employee cannot work (one-off, or recurring with an RFC 5545-style rule such as FREQ WEEKLY, INTERVAL 1, BYDAY MO). Auto-scheduling then skips them. Deputy: POST /api/v1/supervise/unavail.

输入参数commentend_time必填recurrencestart_time必填employee_id必填

deputy_create_memo

Post a memo

Post a memo to a location's news feed, optionally requiring staff to confirm they read it, or targeted to specific locations or users. Visible to staff immediately. Deputy: PUT /api/v1/supervise/memo.

输入参数content必填user_idslocation_id必填location_idsrequire_confirm

deputy_update_timesheet

Update a timesheet

Correct an existing timesheet's start/end time, area, meal break or supervisor comment. Times cannot be in the future. Deputy: POST /api/v1/supervise/timesheet/update.

输入参数area_id必填commentend_time必填start_time必填timesheet_id必填mealbreak_minutes

deputy_approve_timesheet

Approve a timesheet

Approve one timesheet's times as a supervisor. Approved timesheets flow toward payroll export, so check it first with deputy_get_timesheet. Deputy: POST /api/v1/supervise/timesheet/approve.

输入参数timesheet_id必填

版本历史

24
  1. v1.39.1最新Nov 13, 2026
  2. v1.38.0Nov 12, 2026
  3. v1.37.3Nov 11, 2026
  4. v1.36.3Nov 7, 2026
  5. v1.35.3Nov 5, 2026
  6. v1.35.2Nov 5, 2026
  7. v1.35.1Nov 4, 2026
  8. v1.35.0Nov 3, 2026
  9. v1.34.1Nov 3, 2026
  10. v1.33.0Nov 1, 2026
  11. v1.31.0Oct 31, 2026
  12. v1.30.0Oct 31, 2026
  13. v1.29.2Oct 30, 2026
  14. v1.29.0Oct 30, 2026
  15. v1.24.0Oct 26, 2026
  16. v1.21.3Oct 25, 2026
  17. v1.21.0Oct 25, 2026
  18. v1.20.0Oct 24, 2026
  19. v1.17.0Oct 23, 2026
  20. v1.16.4Oct 22, 2026
  21. v1.16.3Oct 21, 2026
  22. v1.11.1Oct 9, 2026
  23. v1.10.0Oct 9, 2026
  24. v1.0.0Sep 30, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Usefulapi 集成