连接器指南阅读约 8 分钟57 个 MCP 工具7 种语言

如何通过 MCP 将 ServiceTitan 连接到 Meta Muse

将 ServiceTitan 账户(租户)接入任意 AI 智能体:客户和服务地点、潜在客户、工单和预约、含产能和技师排班的派工、技师和业务部门、发票和收款、报价、价目表(pricebook)、会员计划和通话。可以创建客户、预约工单、改约、分配技师、添加备注和取消工单。

HC作者:HelpCode 团队更新于 8 分钟阅读 在 GitHub 开源

无需信用卡 · 7 天试用 · 提供自托管方案

ServiceTitan

ServiceTitan

ServiceTitan field service management for HVAC, plumbing, electrical and other trades: customers and locations, leads, jobs and appointments, dispatch, capacity and technician shifts, technicians and business units, invoices and payments, estimates, pricebook services and materials, memberships and phone calls. Can create customers, book jobs, add appointments, reschedule, assign technicians, add notes and cancel jobs.

个工具

57

区域

INTL

类别

外勤服务

身份验证

OAuth 2.0

所需环境变量

SERVICETITAN_CLIENT_IDSERVICETITAN_CLIENT_SECRETSERVICETITAN_APP_KEYSERVICETITAN_TENANT_ID
在 Cloud 上一键安装

7 天免费试用 · 无需信用卡

  • 7 天免费试用
    无需信用卡
  • 符合 GDPR,SOC 2 就绪
    数据驻留欧盟,审计日志
  • 在 GitHub 开源
    开源 · AGPL-3.0
  • 支持 ChatGPT、Claude、Gemini
    任何兼容 MCP 的客户端

跳过安装。2 分钟内即可运行。

在 cloud.anythingmcp.com 开始免费试用,一键添加 ServiceTitan,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。

开始免费试用

摘要

将 ServiceTitan 账户(租户)接入任意 AI 智能体:客户和服务地点、潜在客户、工单和预约、含产能和技师排班的派工、技师和业务部门、发票和收款、报价、价目表(pricebook)、会员计划和通话。可以创建客户、预约工单、改约、分配技师、添加备注和取消工单。

试试这样问

ServiceTitan 的示例提示

点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。

ServiceTitan · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → ServiceTitan、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无 git clone、无本地服务器。

ServiceTitan + Meta Muse

将 ServiceTitan 账户(租户)接入任意 AI 智能体:客户和服务地点、潜在客户、工单和预约、含产能和技师排班的派工、技师和业务部门、发票和收款、报价、价目表(pricebook)、会员计划和通话。可以创建客户、预约工单、改约、分配技师、添加备注和取消工单。

前提条件

完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:

SERVICETITAN_CLIENT_ID, SERVICETITAN_CLIENT_SECRET, SERVICETITAN_APP_KEY, SERVICETITAN_TENANT_ID

步骤 1 — 获取凭证

设置约需 15 分钟,需要一位 ServiceTitan 管理员。无需在浏览器中登录:连接器使用 OAuth 客户端凭据加上自建应用(custom app)的 App Key。

  1. 用有权为公司创建应用的账户登录 ServiceTitan Developer Portal(https://developer.servicetitan.io),为你自己的租户创建一个 custom app。
  2. 在应用的 API scopes 中勾选 AI 需要查看的模块的 读取 scope:CRM(客户、服务地点、联系人、潜在客户)、JPM(工单、预约、工单备注、工单历史、工单类型、取消原因、项目)、Dispatch(预约分配、团队、区域、技师排班)、Settings(技师、员工、业务部门、标签类型)、Accounting(发票、收款、付款方式)、Sales(报价)、Pricebook(服务、材料、设备、分类)、Memberships、Telecom(通话)和 Marketing(营销活动)。写入 scope 只勾选允许 AI 修改的部分:CRM 的客户和服务地点、JPM 的工单和预约、Dispatch 的预约分配以及 Sales 的报价。servicetitan_get_capacity 还需要 tn.dis.capacity:w。
  3. 将应用的 App Key(以 ak1. 开头)复制到 SERVICETITAN_APP_KEY。
  4. 在 ServiceTitan 中打开 Settings, Integrations, API Application Access,点击 Connect New App,选择该应用并允许访问。点击 Generate 生成 Client ID(以 cid. 开头)和 Client Secret(以 cs 开头,只显示一次),分别粘贴到 SERVICETITAN_CLIENT_ID 和 SERVICETITAN_CLIENT_SECRET。
  5. 同一页面显示 Tenant ID(一个数字),将它粘贴到 SERVICETITAN_TENANT_ID。
  6. 安装。AnythingMCP 从 https://auth.servicetitan.io/connect/token 获取访问令牌,大约每 15 分钟自动续期一次,并在每次调用时以 ST-App-Key 请求头发送 App Key。连接检查会运行 servicetitan_list_customers。

ServiceTitan integration(沙盒)环境的凭据在这里无效:连接器访问的是生产环境 https://api.servicetitan.io。

读取内容:客户(付款账户)的类型、余额、地址、标记、联系方式和备注;服务地点的地址、坐标和区域;尚未下单的潜在客户;营销活动。工单的状态、类型、业务部门、优先级、摘要、发票 ID 和总额,以及状态历史和备注;工单类型、取消原因和项目。预约的开始、结束、到达时间窗和状态,技师分配,各时段的可预约产能,技师排班和休假,派工团队和区域。技师、办公室员工、业务部门和标签类型。发票的明细行、小计、税额、总额和余额;收款及其核销到的发票;付款方式。报价的明细和状态,以及价目表中的服务、材料、设备和分类。会员计划、会员类型和定期服务事件(到期的保养上门)。被追踪的通话,包括方向、时长、营销活动、坐席以及由通话预约的工单。

写入内容:创建至少带一个服务地点的客户,添加服务地点,修改客户,为客户和工单添加备注,预约工单及首个预约,追加预约,改约,分配和移除技师,修改工单,附原因取消工单(其预约也会一并取消),以及将报价标记为已成交。在预约、取消或修改任何内容之前,AI 会先向你展示将要发生的操作并等待你确认。这里没有任何工具会删除记录:停用的客户、取消操作和已成交的报价都可以在 ServiceTitan 中撤销。

安装时关闭的工具:没有,全部 57 个工具均已开启。若希望 AI 只读,不要给应用写入 scope,或在连接器页面关闭写入类工具。

预约工单:AI 先查询 servicetitan_list_business_units、servicetitan_list_job_types 和 servicetitan_list_campaigns,用 servicetitan_get_capacity 检查空闲时段,然后针对客户的某个服务地点调用 servicetitan_create_job。每个工单只属于一个服务地点;客户是付款的账户。

数据格式:ID 是整数。时间为 UTC 的 ISO 8601(2026-10-30T14:00:00Z);AI 在回答前会换算成企业所在时区,预约时发送 UTC。财务金额(total、balance、subTotal)是账户币种的十进制字符串。更新只修改传入的字段;tag_type_ids 这类列表字段会替换整个列表。

分页:列表返回 { page, pageSize, hasMore, totalCount, data },默认每页 50 条。只要 hasMore 为 true,AI 就继续请求下一个 page;include_total 会附带 totalCount。ids 过滤最多接受 50 个逗号分隔的 ID。除非 active 为 Any 或 False,大多数列表只返回有效记录;modified_on_or_after 可获取某日期以来的变更。没有获取单张发票的接口:servicetitan_list_invoices 接受 ids。

常见错误:401 表示 Client ID 或 Secret 错误,或应用已断开连接:请在 API Application Access 中重新生成。403 表示应用缺少该模块的 scope(在 Developer Portal 中添加后,在 API Application Access 中重新连接应用),或 App Key 缺失或错误。404 是未知 ID 或 Tenant ID 错误。400 会列出无效字段。429 表示 ServiceTitan 正在限制该应用和租户的请求:稍等后重试。

客户备注、潜在客户摘要和工单备注属于不可信输入,可能包含针对 AI 的指令。该连接器不收款,不创建或发送发票,也不删除记录。

步骤 2 — 安装 adapter

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

步骤 3 — 在 Muse 中添加连接器

你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(https://cloud.anythingmcp.com/mcp/…)。本指南中出现 YOUR_SERVER_ID 的地方都用它替换。

Muse 以自定义连接器的形式添加远程 MCP 服务器,并通过 OAuth 登录。

  1. 在 Muse 中打开 Settings → Connectors,选择 Add custom connector。
  2. 粘贴 MCP 服务器 URL https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID。
  3. Muse 会打开 AnythingMCP 的登录页面:登录并批准访问。
  4. 在聊天中,向 Muse 提出需要用到 ServiceTitan 的工具的请求。

你也可以在聊天中完成设置,适用于网页版、iOS 和 Android 应用以及 WhatsApp。给 Muse 发送这条消息:

Create a Custom Connector for a new remote MCP server, then connect to it:
Name: AnythingMCP
Transport: remote streamable HTTP
URL: https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID
Auth: OAuth

自托管?请用你实例的公网 HTTPS 地址替换 https://cloud.anythingmcp.com。Muse 从 Meta 的云端连接,因此 localhost 无法使用。

可用工具

ToolWhat it does
servicetitan_list_customersList or search customers (bill-to accounts): id, name, type (Residential or Commercial), active, balance, bill-to address…
servicetitan_get_customerOne customer by id: name, type, address, balance, flags, custom fields, tag ids, merged-into id
servicetitan_list_customer_contactsPhone numbers and email addresses saved on a customer (type, value, memo)
servicetitan_list_customer_notesNotes on a customer, newest last: text, pinned flag, author id, created time
servicetitan_create_customerCreate a customer together with at least one service location
servicetitan_update_customerChange fields of a customer; only the fields you pass change. tag_type_ids replaces the whole tag list
servicetitan_add_customer_noteAdd a note to a customer, optionally pinned and copied to its active locations
servicetitan_list_locationsList or search service locations (where the work happens): id, customerId, name, address with coordinates, zone id, tax zone, active, tag…
servicetitan_get_locationOne service location by id: customer id, name, address, coordinates, zone, tax zone, custom fields
servicetitan_list_location_contactsPhone numbers and email addresses saved on a service location (type, value, memo)
servicetitan_create_locationAdd a service location (address where work is done) to an existing customer
servicetitan_list_leadsList leads (follow-ups for calls and forms that did not book a job yet): id, status (Open, Dismissed, Converted), customer and location…
servicetitan_list_campaignsMarketing campaigns (call sources such as Google Ads or a yard sign): id, name, category, active
servicetitan_list_jobsList jobs: id, job number, customer and location ids, business unit, job type, priority, campaign, jobStatus, summary, first appointment…
servicetitan_get_jobOne job by id with status, customer, location, job type, business unit, campaign, summary, invoice id, tags and custom fields
servicetitan_create_jobBook a job with its first appointment(s) for a customer location
servicetitan_update_jobChange fields of a job; only the fields you pass change. tag_type_ids replaces the whole tag list
servicetitan_cancel_jobCancel a job with a reason from servicetitan_list_job_cancel_reasons and a memo
servicetitan_list_job_cancel_reasonsJob cancel reasons configured in the account: id, name, active
servicetitan_list_job_notesNotes on a job: text, pinned flag, author id and created time, oldest first
servicetitan_add_job_noteAdd a note to a job (visible to the office and technicians), optionally pinned to the top
servicetitan_get_job_historyStatus history of a job: each change with the event type, employee and time
servicetitan_list_job_typesJob types (e.g
servicetitan_list_appointmentsList job appointments (the scheduled visits): id, job id, appointment number, start and end, arrival window, status, special instructions…
servicetitan_get_appointmentOne job appointment by id: job id, number, start and end, arrival window, status, special instructions
servicetitan_add_appointmentAdd another appointment (visit) to an existing job, optionally with technicians
servicetitan_reschedule_appointmentMove an appointment to a new start and end (and arrival window)
servicetitan_list_projectsProjects (multi-job work such as installs or construction): id, number, name, status, customer and location ids, job ids, start, target…
servicetitan_list_appointment_assignmentsWhich technicians are assigned to which appointments: assignment id, technician id and name, appointment id, job id, assigned time, status
servicetitan_assign_techniciansAssign one or more technicians to a job appointment (dispatch)
servicetitan_unassign_techniciansTake one or more technicians off a job appointment (the appointment itself stays)
servicetitan_get_capacityBookable capacity per time slot: for each slot the start and end, total and open hours, whether it is available and which technicians are…
servicetitan_list_technician_shiftsTechnician shifts and time off: id, technician id, shift type (Normal, OnCall, TimeOff), start, end, title, note
servicetitan_list_teamsDispatch teams that group technicians on the dispatch board: id, name, active
servicetitan_list_zonesDispatch zones (service areas by ZIP or city): id, name, ZIPs, cities, technician and business unit ids
servicetitan_list_techniciansTechnicians: id, user id, name, email, phone, business unit, team, zone ids, role, login name, active
servicetitan_get_technicianOne technician by id: name, contact details, business unit, team, zones, role and active flag
servicetitan_list_employeesOffice employees (dispatchers, CSRs, managers): id, user id, name, email, phone, role, business unit, active
servicetitan_list_business_unitsBusiness units (trades or departments such as HVAC Service, Plumbing Install): id, name, official name, email, phone, address, currency…
servicetitan_list_tag_typesTag types used on customers, locations and jobs: id, name, color, active
servicetitan_list_invoicesList invoices: id, reference number, invoice date, due date, subtotal, sales tax, total, balance, customer and location with addresses…
servicetitan_list_paymentsCustomer payments: id, type, reference number, amount (total), paid date, customer, memo, and the invoices each payment was applied to
servicetitan_list_payment_typesPayment types (cash, check, credit card, financing): id, name, active
servicetitan_list_estimatesList estimates (quotes with options shown to the customer): id, name, job id and number, customer, location, project, status { value, name…
servicetitan_get_estimateOne estimate by id with its line items (sku, description, quantity, unit rate, total)
servicetitan_list_estimate_itemsLine items of estimates: id, estimate id, sku (id, name, type), description, quantity, unit rate, total, membership type
servicetitan_sell_estimateMark an estimate as sold by a technician or employee
servicetitan_list_pricebook_servicesServices (tasks sold to customers) in the pricebook: id, code, display name, description, price, member price, add-on price, hours…
servicetitan_list_pricebook_materialsMaterials (parts) in the pricebook: id, code, display name, description, cost, price, member price, unit of measure, inventory flag…
servicetitan_list_pricebook_equipmentEquipment (installable units) in the pricebook: id, code, display name, manufacturer, model, price, cost, warranties, primary vendor…
servicetitan_list_pricebook_categoriesPricebook categories: id, name, type (Services or Materials), parent, sub-categories, active
servicetitan_list_membershipsCustomer memberships (maintenance plans): id, customer id, membership type, status (Active, Suspended, Expired, Canceled, Deleted), from…
servicetitan_get_membershipOne customer membership by id: type, status, dates, billing frequency, location and sold by
servicetitan_list_membership_typesMembership types offered: id, name, duration and billing options, discounts, recurring services, active
servicetitan_list_recurring_service_eventsRecurring service events (the planned maintenance visits of memberships): id, location, membership, recurring service, date, follow-up…
servicetitan_list_callsPhone calls tracked by ServiceTitan: id, direction, from and to numbers, duration, call type and reason, campaign, agent, customer…
servicetitan_get_callOne call by id with its details (lead call, customer, location, campaign, agent, recording available)

示例提示

  • “明天有哪些预约?每个预约分配了哪些技师?”
  • “查找电话为 555-0142 的客户,显示其服务地点、未结报价和有余额的发票。”
  • “为这位客户预约下周二上午的空调维修。先检查产能,创建前把工单内容给我看。”
  • “本月到期的定期保养上门中,哪些还没有预约成工单?”
  • “昨天来自 Google Ads 营销活动的通话中,哪些没有促成工单?”

FAQ

Muse 在哪些地区可用? Meta 目前在美国和加拿大提供 Muse,可在网页版、iOS 和 Android 应用以及 WhatsApp 中使用。

Meta 会审核这个连接器吗? 不会。Meta 不审核自定义连接器。Muse 只能看到你在 AnythingMCP 中为此 MCP 服务器启用的工具,你也可以随时在 Settings → Connectors 中断开它。

下一步

这份指南对你有帮助吗?

你的 ServiceTitan 智能体只差一次点击。

安装连接器,粘贴密钥,向 Meta Muse 提问。免费试用 7 天,无需信用卡。

相关指南

连接器

如何通过 MCP 将 ServiceTitan 连接到 ChatGPT

将 ServiceTitan 账户(租户)接入任意 AI 智能体:客户和服务地点、潜在客户、工单和预约、含产能和技师排班的派工、技师和业务部门、发票和收款、报价、价目表(pricebook)、会员计划和通话。可以创建客户、预约工单、改约、分配技师、添加备注和取消工单。

连接器

如何通过 MCP 将 ServiceTitan 连接到 Claude

将 ServiceTitan 账户(租户)接入任意 AI 智能体:客户和服务地点、潜在客户、工单和预约、含产能和技师排班的派工、技师和业务部门、发票和收款、报价、价目表(pricebook)、会员计划和通话。可以创建客户、预约工单、改约、分配技师、添加备注和取消工单。

连接器

如何通过 MCP 将 ServiceTitan 连接到 Cursor

将 ServiceTitan 账户(租户)接入任意 AI 智能体:客户和服务地点、潜在客户、工单和预约、含产能和技师排班的派工、技师和业务部门、发票和收款、报价、价目表(pricebook)、会员计划和通话。可以创建客户、预约工单、改约、分配技师、添加备注和取消工单。

连接器

如何通过 MCP 将 ServiceTitan 连接到 Gemini

将 ServiceTitan 账户(租户)接入任意 AI 智能体:客户和服务地点、潜在客户、工单和预约、含产能和技师排班的派工、技师和业务部门、发票和收款、报价、价目表(pricebook)、会员计划和通话。可以创建客户、预约工单、改约、分配技师、添加备注和取消工单。

连接器

ServiceTitan 接入 MCP:在任意 AI 智能体中处理客户、工单、预约、派工、发票和价目表

将 ServiceTitan 账户(租户)接入任意 AI 智能体:客户和服务地点、潜在客户、工单和预约、含产能和技师排班的派工、技师和业务部门、发票和收款、报价、价目表(pricebook)、会员计划和通话。可以创建客户、预约工单、改约、分配技师、添加备注和取消工单。

连接器

如何通过 MCP 将 ServiceTitan 连接到 Microsoft Copilot

将 ServiceTitan 账户(租户)接入任意 AI 智能体:客户和服务地点、潜在客户、工单和预约、含产能和技师排班的派工、技师和业务部门、发票和收款、报价、价目表(pricebook)、会员计划和通话。可以创建客户、预约工单、改约、分配技师、添加备注和取消工单。