跳过安装。2 分钟内即可运行。
在 cloud.anythingmcp.com 开始免费试用,一键添加 Gusto,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。
摘要
让你的 AI 读取 Gusto 中的薪资和人事数据:公司及其办公地点和管理员,员工及其职位和薪酬标准,承包人,部门,发薪计划和薪资周期,已处理的薪资单及合计,承包人付款,休假政策和休假申请,收入类型和福利。薪资数据只读;只能创建和重命名部门。使用 Gusto OAuth 登录,支持 demo 或正式环境。
试试这样问
Gusto 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Gusto、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无
git clone、无本地服务器。
Gusto
让你的 AI 读取 Gusto 中的薪资和人事数据:公司及其办公地点和管理员,员工及其职位和薪酬标准,承包人,部门,发薪计划和薪资周期,已处理的薪资单及合计,承包人付款,休假政策和休假申请,收入类型和福利。薪资数据只读;只能创建和重命名部门。使用 Gusto OAuth 登录,支持 demo 或正式环境。
设置
- 在 Gusto Developer Portal(
https://dev.gusto.com)注册一个免费账号并创建一个应用。新应用从 demo 环境开始,使用测试公司运行。 - 在应用设置中添加重定向 URI
https://cloud.anythingmcp.com/api/mcp-oauth/callback(如果你自行托管 AnythingMCP:<your AnythingMCP URL>/api/mcp-oauth/callback)。demo 应用的重定向 URI 可以在门户中编辑;正式环境的应用则需向 Gusto 申请修改。 - 把应用的 Client ID 和 Secret 复制到
GUSTO_CLIENT_ID和GUSTO_CLIENT_SECRET。 - demo 应用请把
GUSTO_API_URL设为https://api.gusto-demo.com;Gusto 批准你的应用用于正式环境后,改为https://api.gusto.com。密钥只能在各自的环境中使用。 - 如果想先试用,请在 Developer Portal 中创建一个 demo company。它自带示例员工、承包人和薪资单。
- 安装连接器,点击 Authorize with Provider,并以主管理员或完全访问权限管理员的身份登录 Gusto。Gusto 会询问要连接哪家公司:一次授权只对应一家公司,因此要连接第二家公司,请再次安装连接器。
- 运行
gusto_get_token_info。它会显示其他工具所操作的公司,以及你的应用可以读取哪些内容。
薪资只读:AI 可以读取包含每位员工合计、税款和扣款的薪资单、发薪计划、薪资周期和承包人付款,但不能准备、计算、提交或取消薪资单,不能向承包人付款,不能添加员工或办理离职,也不能修改薪酬。它唯一能做的更改是创建部门(gusto_create_department)和重命名部门(gusto_update_department,安装时默认关闭),两者都会先征得你的确认。
可读取的内容:公司及其办公地点和管理员,员工及其职位、薪酬标准和雇佣历史,承包人,部门,休假政策及余额,休假申请,收入类型和公司福利。薪资单列表默认返回最近六个月内已处理的常规薪资单,每次请求最多覆盖一年。
权限由 Gusto 决定:登录时你无需选择 scope。Gusto 会为你的应用分配 scope:在 demo 环境中范围较宽,在正式环境中则在 Gusto 审核后分配。薪酬标准需要 compensations:read scope,含健康信息的福利需要 :phi scope。超出应用 scope 的调用会返回 403。
令牌:访问令牌有效期为两小时,会自动续期。Gusto 每次续期都会替换刷新令牌,因此不要同时在另一个工具中使用同一个授权,否则其中一个必须重新登录。
常见错误:401 表示授权已被撤销,请再次点击 Authorize with Provider。403:你的应用缺少该 scope,或者该公司不是你授权的那家。406:连接器发送的 API 版本不在你的应用允许的范围内(Developer Portal 会显示其最低版本)。429:一分钟内超过 200 次请求,请等待一分钟。
该连接器不会运行薪资发放,不会向承包人付款,不会办理入职或离职,不会修改薪酬或福利,也不会读取税表和文件。Gusto Embedded 是另一款产品,不在支持范围内。
前提条件: GUSTO_CLIENT_ID, GUSTO_CLIENT_SECRET, GUSTO_API_URL
本地安装连接器
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
打开 http://localhost:3000/connectors/store,选择 Gusto 并填入前提条件中列出的环境变量。
可用工具
| Tool | What it does |
|---|---|
gusto_get_token_info | Read what this authorization reaches: resource.type and resource.uuid (the company UUID every company tool needs as company_uuid)… |
gusto_get_company | Read the company: name, trade_name, ein, entity_type, company_status, tier, is_suspended, pay_schedule_type, join_date, funding_type… |
gusto_list_locations | List the company's addresses: street, city, state, zip, phone_number and whether each is a mailing address, filing address or active work… |
gusto_list_company_admins | List the company's Gusto admins with uuid, first_name, last_name and email (scope company_admin:read) |
gusto_list_employees | List the company's employees (onboarding, active and terminated) with uuid, name, email, department, onboarding status, terminated… |
gusto_get_employee | Read one employee by UUID: name, email, work_email, phone, date_of_birth, title, department, manager_uuid, hired_at… |
gusto_get_employment_history | Read an employee's employment history: every hire, termination and rehire with its dates and employment status (scope employments:read) |
gusto_list_job_compensations | List the compensations of one job: rate, payment_unit (Hour, Week, Month, Year, Paycheck), flsa_status and effective_date |
gusto_list_contractors | List the company's contractors, individual and business, active and inactive: uuid, type, name or business_name, email, wage_type (Fixed or… |
gusto_get_contractor | Read one contractor by UUID: type, names or business name, email, wage_type, hourly_rate, start_date, is_active, address and department… |
gusto_list_departments | List the company's departments with uuid, title, version and the employees and contractors assigned to each (scope departments:read) |
gusto_get_department | Read one department by UUID: title, its current version (needed by gusto_update_department) and its employees and contractors (scope… |
gusto_create_department | Create a department in the company |
gusto_update_department | Rename a department |
gusto_list_pay_schedules | List the company's pay schedules: uuid, frequency (Every week, Every other week, Twice per month, Monthly...), anchor_pay_date… |
gusto_list_pay_periods | List pay periods with start_date, end_date, pay_schedule_uuid and the payroll of each (check date, processed or not) |
gusto_list_payrolls | List the company's payrolls: payroll_uuid, pay_period, check_date, processed, off_cycle, off_cycle_reason, external and, with… |
gusto_get_payroll | Read one payroll: pay period, check_date, processed, totals and, once calculated or processed, employee_compensations[] per employee… |
gusto_list_contractor_payments | List contractor payments between two dates, newest first, with totals: per payment the contractor_uuid, date, wage, hours, bonus… |
gusto_get_contractor_payment | Read one contractor payment by UUID: contractor_uuid, date, wage, hours, hourly_rate, bonus, reimbursement, wage_total, payment_method… |
gusto_list_time_off_policies | List the company's time off policies (vacation, sick and custom): uuid, name, policy_type, accrual_method, accrual rate and limits… |
gusto_get_time_off_policy | Read one time off policy by UUID, with its accrual rules and employees[] carrying each employee's current balance (scope… |
gusto_list_time_off_requests | List time off requests of the company, past and future: employee, request_type, policy_type and policy_uuid, status (pending, approved… |
gusto_list_earning_types | List the company's earning types, split into default (regular wages, overtime, bonus, commission and others with their own tax treatment)… |
gusto_list_company_benefits | List the benefits the company offers: uuid, benefit_type, description, active, source, partner_name and, with enrollment_count=true, how… |
示例提示
- “汇总我们最近一次已处理的薪资单:每位员工的税前工资、税款和实发工资。”
- “下周谁休假?哪些休假申请还在待处理?”
- “列出我们当前合作的承包人,以及本季度分别向每人支付了多少。”
- “我们每个部门有多少员工?过去 90 天内有谁入职?”
下一步
这份指南对你有帮助吗?