SmartHR MCP by usefulapi

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

MCP server for SmartHR — employees, departments, dependents and employee invitations.

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

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

概览

AI 生成的概览

面向 SmartHR 的远程 MCP 服务器,让助手读取和修改员工、部门与家属信息,并邀请员工。

可以做什么
  • 搜索、列出并读取员工,包括状态、部门、职位及入职离职日期
  • 读取家属信息、产假与育儿假记录,以及员工自定义字段定义
  • 列出带层级的部门,以及职位、雇用形态、等级、职种、公司和事业所
  • 列出登录用户、员工信息收集表单和已配置的 Webhook
  • 创建和更新员工与部门,登记家属信息
  • 通过邮件邀请员工,并查看用量或管理订阅方案
适用场景
适合让助手基于 SmartHR 租户回答人事问题,例如近期入职人员、各部门人数或在休假员工,也适合在不直接打开 SmartHR 的情况下完成常规人事记录变更和入职邀请。
运行要求
以 URL 方式添加的远程 MCP 端点;通过 OAuth 使用用户的 SmartHR 凭据登录,无需配置 API 密钥或 Authorization 头。需要已启用 API 的 SmartHR 账户。免费方案每月 50 次工具调用;付费方案按 SmartHR 租户计费。
安装前请注意
写入类工具会创建或修改员工和部门记录并登记家属;邀请工具会向员工存档邮箱发送邮件,重复调用会再次发送。养老金编号、收入、文件等敏感字段据称不会返回。付费方案通过结账链接付款,取消后服务持续到已付费周期结束,当前周期不退款。

安装

在 SourceWeft 中

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

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

交给智能体安装

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

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

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

其他 MCP 客户端

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

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

README

SmartHR MCP by usefulapi

Connect your API-enabled SmartHR account.

Connect

  • Claude (claude.ai, Desktop): open Customize → Connectors, click + Add → Add custom connector, and paste https://smarthr.usefulapi.io/mcp.
  • Claude Code: claude mcp add --transport http smarthr https://smarthr.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": {    "smarthr": {      "url": "https://smarthr.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 SmartHR credentials.

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

Tools

ToolTypeWhat it does
smarthr_list_employeesreadList employees
smarthr_get_employeereadGet an employee
smarthr_list_dependentsreadList an employee's dependents
smarthr_list_maternity_childcare_leavesreadList an employee's maternity and childcare leaves
smarthr_list_departmentsreadList departments
smarthr_get_departmentreadGet a department
smarthr_list_positionsreadList positions
smarthr_list_employment_typesreadList employment types
smarthr_list_gradesreadList grades
smarthr_list_job_categoriesreadList job categories
smarthr_list_companiesreadList companies
smarthr_list_business_establishmentsreadList business establishments
smarthr_list_employee_custom_fieldsreadList employee custom field definitions
smarthr_list_dependent_relationsreadList dependent relations
smarthr_list_usersreadList users
smarthr_list_employee_input_formsreadList employee input forms
smarthr_list_webhooksreadList webhooks
smarthr_create_employeewriteCreate an employee
smarthr_update_employeewriteUpdate an employee
smarthr_create_departmentwriteCreate a department
smarthr_update_departmentwriteUpdate a department
smarthr_create_dependentwriteCreate a dependent
smarthr_invite_employeewriteInvite an employee by email
smarthr_usage_statusmetaUsage status (free-tier meter)
smarthr_request_featuremetaRequest a missing feature
smarthr_upgrademetaUpgrade to Pro or Pro+
smarthr_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 SmartHR tenant)$9/mo or $90/yr (2 months free)Unlimited*

*Pro has a fair use limit of 10,000 tool calls a month on this server. For more, write to [email protected].

Pro covers this server only. Subscribe with smarthr_upgrade (it returns a Stripe Checkout link). Cancel any time with smarthr_cancel_subscription: Pro continues to the end of the paid period, with no refund for the current period, and running smarthr_upgrade before then undoes the cancel. Or write to [email protected].

License

MIT

来源:servers/smarthr/README.md,提交 4046075

工具

23

smarthr_list_employees

List employees

List employees (従業員) of the SmartHR tenant, with filters: free-text name/department/position search, status (employed, absent, retired), employee number, employment type, department, position, hire and resignation date ranges. Returns a compact record per employee; use `fields` for more. Sensitive data (bank accounts, insurance numbers, residence cards, salary, ID images) is never returned.

输入参数qidpagesortfieldsuser_idemp_codeper_pageemp_statusposition_iddepartment_identered_at_to另有 4 个

smarthr_get_employee

Get an employee

Get one employee (従業員) by id. Returns a compact record; use `fields` for more (address, phone, birth date, custom fields, contract dates). Sensitive data is never returned.

输入参数id必填fields

smarthr_list_dependents

List an employee's dependents

List the dependents (家族情報) registered for one employee: name, relation, birth date, living arrangement and support status. Pension numbers, income and documents are not returned.

输入参数pageper_pageemployee_id必填

smarthr_list_maternity_childcare_leaves

List an employee's maternity and childcare leaves

List the maternity and childcare leave records (産休育休) of one employee: expected birth, leave start/end and scheduled return dates. Bank, insurance and memo data are not returned.

输入参数pageper_pageemployee_id必填

smarthr_list_departments

List departments

List departments (部署) with their hierarchy (parent, children), code and company.

输入参数codepagesortper_page

smarthr_get_department

Get a department

Get one department (部署) by id, with its parent and children.

输入参数id必填

smarthr_list_positions

List positions

List positions / job titles (役職) with their rank and code.

输入参数pagesortper_page

smarthr_list_employment_types

List employment types

List employment types (雇用形態), e.g. full-timer, part-timer, contract worker, with their ids for filtering and writes.

输入参数pageper_page

smarthr_list_grades

List grades

List grades (等級) with their rank.

输入参数pageper_page

smarthr_list_job_categories

List job categories

List job categories (職種).

输入参数pageper_page

smarthr_list_companies

List companies

List the companies (会社) of the tenant: name, code, corporate number, address, phone.

输入参数pageper_page

smarthr_list_business_establishments

List business establishments

List business establishments (事業所): name, social insurance and labor insurance registration data, company.

输入参数pageembedper_page

smarthr_list_employee_custom_fields

List employee custom field definitions

List the definitions of the tenant's custom employee fields (カスタム従業員項目): name, type and, for dropdowns, the choices. Use them to read the values in custom_fields.

输入参数pageembedper_page

smarthr_list_dependent_relations

List dependent relations

List the relation types for dependents (続柄: spouse, child, parent...) with their ids, needed by smarthr_create_dependent.

输入参数pageper_page

smarthr_list_users

List users

List SmartHR users (login accounts): email, administrator flag, role, linked employee, and the invitation status (created, opened, accepted, answered). Use it to find the administrator id for smarthr_invite_employee.

输入参数pagesortembedper_page

smarthr_list_employee_input_forms

List employee input forms

List the employee information collection forms (従業員情報収集フォーム) that an invitation can use.

输入参数pageper_page

smarthr_list_webhooks

List webhooks

List the configured webhooks (target URL, which employee and dependent events notify). Read-only; secret tokens and the query string of the target URL are never shown.

输入参数pageper_page

smarthr_create_employee

Create an employee

WRITE: Register a new employee (従業員) in SmartHR. Nothing is sent to the employee; to invite them to fill in their own data use smarthr_invite_employee afterwards. Only the fields you give are set. The tenant plan may cap the number of employees (error plan_limit_exceeded). Returns the created employee as a compact record.

输入参数emailgradegenderaddressbirth_atemp_codelast_name必填positionsemp_statusentered_atfirst_name必填occupation另有 11 个

smarthr_update_employee

Update an employee

WRITE: Change fields of one existing employee (partial update: only the fields you give change; others stay). Typical uses: set the status to absent or retired with the resignation date, correct a name, email or phone, move the employee to other departments (department_ids replaces the current list), change positions. SmartHR does not allow clearing a name that is already filled in. Returns the updated employee as a compact record.

输入参数id必填emailgradegenderaddressbirth_atemp_codelast_namepositionsemp_statusentered_atfirst_name另有 12 个

smarthr_create_department

Create a department

WRITE: Create a department (部署). Give the parent department id to nest it. Returns the created department.

输入参数codename必填positionparent_idcompany_id

smarthr_update_department

Update a department

WRITE: Rename or move one department (partial update: only the fields you give change). Returns the updated department.

输入参数id必填codenamepositionparent_id

smarthr_create_dependent

Create a dependent

WRITE: Register a dependent (家族情報) for an employee. Needs the relation id from smarthr_list_dependent_relations. Returns the created dependent without pension number, income or documents.

输入参数jobgender必填addressbirth_at必填is_spouselast_name必填first_name必填tel_numberemployee_id必填relation_id必填last_name_yomifirst_name_yomi另有 3 个

smarthr_invite_employee

Invite an employee by email

WRITE, SENDS AN EMAIL: Invite an employee to SmartHR. SmartHR emails the address stored on the employee (the employee must have one) an invitation to create their login and, with an input form, to fill in their own data. Asking again re-sends it (and updates the invited address if it changed). An employee who already accepted cannot be invited again. Confirm with the user before calling.

输入参数id必填inviter_user_id必填crew_input_form_id

版本历史

10
  1. v1.7.4最新Nov 7, 2026
  2. v1.6.3Nov 5, 2026
  3. v1.6.2Nov 5, 2026
  4. v1.6.1Nov 4, 2026
  5. v1.6.0Nov 3, 2026
  6. v1.5.1Nov 3, 2026
  7. v1.4.0Nov 1, 2026
  8. v1.2.0Oct 31, 2026
  9. v1.1.0Oct 31, 2026
  10. v1.0.1Oct 31, 2026

评分

已满足适用检查项的 100%

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

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

其他 Usefulapi 集成