ServiceTitan MCP server for AI agents

Live

OAUTH 2.0

FIELD SERVICE

CRM & Sales

ServiceTitan gives your agent field service operations in your ServiceTitan tenant: look up jobs, customers, appointments, and invoices, and book jobs, reschedule appointments, assign technicians, and add notes.

  • Service account credentials: one ServiceTitan service account acts for your tenant, never an individual technician's login.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
ServiceTitan
agent · Acme Q3
Run
Reschedule tomorrow's 9am appointment for job 48213 to 1pm.
S
servicetitan_appointment_reschedule
246ms
Dispatch agent
Moved the appointment for job 48213 to 1:00 PM tomorrow.
Sources: ServiceTitan appointment, 1 job
servicetitan
1 appointment
18:29
Message Claude...

Tools your field service agent reaches for on ServiceTitan, scoped per connection.

CALL ANY TOOL
29 tools for field service in ServiceTitan: list jobs, customers, appointments, invoices, and payments, create customers, jobs, and leads, reschedule appointments, assign technicians, and cancel jobs.
servicetitan_appointment_assignments_list
List appointment assignments
List technician assignments on job appointments in a ServiceTitan tenant, filtered by appointment, job, technician or appointment start date. Returns page, pageSize, hasMore, totalCount (when requested) and a data array. Each assignment has id, technicianId, technicianName, appointmentId, jobId, assignedOn and status. Use this to see who is assigned to what. Use servicetitan_appointments_list for appointment times.
Parameters
Name
Type
Required
Description
app_key
string
Required
App Key of your ServiceTitan developer app, sent as the ST-App-Key header on every call. Find it in the ServiceTitan Developer Portal (developer.servicetitan.io) under My Apps > your app > Keys > Application Key. It belongs to the same app whose Client ID and Client Secret this connection uses. Example: ak1.abcd1234efgh5678ijkl
tenant_id
string
Required
Your ServiceTitan tenant ID (a number). An admin finds it in ServiceTitan under Settings > Integrations > API Application Access, next to the connected app. Example: 1234567890
active
string
Optional
Which assignments to return by active status: True (active only), False (inactive only) or Any. ServiceTitan's default: only active records are returned by default. Example: Any. One of: `True`, `Any`, `False`.
appointment_ids
string
Optional
Comma-separated appointment IDs to return assignments for. Example: 567890,567891
appointment_starts_before
string
Optional
Return assignments whose appointment starts before this date/time (ISO 8601 date-time in UTC). Example: 2026-01-01T00:00:00Z
appointment_starts_on_or_after
string
Optional
Return assignments whose appointment starts on or after this date/time (ISO 8601 date-time in UTC). Example: 2026-01-01T00:00:00Z
created_before
string
Optional
Return records created before this date/time (ISO 8601 date-time in UTC). Example: 2026-01-01T00:00:00Z
created_on_or_after
string
Optional
Return records created on or after this date/time (ISO 8601 date-time in UTC). Example: 2026-01-01T00:00:00Z
ids
string
Optional
Comma-separated list of assignment IDs to look up (maximum 50). Example: 101,102,103
include_total
boolean
Optional
Set to true to include the total record count in the response (totalCount). Example: true
job_id
integer
Optional
Return assignments for this job. Example: 456789
modified_before
string
Optional
Return records modified before this date/time (ISO 8601 date-time in UTC). Example: 2026-01-01T00:00:00Z
modified_on_or_after
string
Optional
Return records modified on or after this date/time (ISO 8601 date-time in UTC). Example: 2026-01-01T00:00:00Z
page
integer
Optional
Page number to return, starting from 1. Example: 2
page_size
integer
Optional
How many records to return per page (ServiceTitan's default is 50). Example: 100
sort
string
Optional
Sort order: +FieldName for ascending or -FieldName for descending. Available fields: Id, CreatedOn, ModifiedOn. Example: -ModifiedOn
technician_ids
string
Optional
Comma-separated technician IDs to return assignments for. Example: 5001,5002
servicetitan_appointment_reschedule
Appointment reschedule
servicetitan_appointment_technicians_assign
Assign appointment technicians
servicetitan_appointments_list
List appointments
servicetitan_business_units_list
List business units
servicetitan_campaigns_list
List campaigns
servicetitan_customer_contacts_list
List customer contacts
servicetitan_customer_create
Create customer
servicetitan_customer_get
Get customer
servicetitan_customer_note_create
Create customer note
servicetitan_customer_update
Update customer
servicetitan_customers_list
List customers
servicetitan_invoices_list
List invoices
servicetitan_job_cancel
Cancel job
servicetitan_job_cancel_reasons_list
List job cancel reasons
servicetitan_job_create
Create job
servicetitan_job_get
Get job
servicetitan_job_note_create
Create job note
servicetitan_job_notes_list
List job notes
servicetitan_job_types_list
List job types
servicetitan_job_update
Update job
servicetitan_jobs_list
List jobs
servicetitan_lead_create
Create lead
servicetitan_lead_get
Get lead
servicetitan_leads_list
List leads
servicetitan_location_get
Get location
servicetitan_locations_list
List locations
servicetitan_payments_list
List payments
servicetitan_technicians_list
List technicians
Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// ServiceTitan tools available to this agent
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["servicetitan"], toolNames: [
    "servicetitan_jobs_list",
    "servicetitan_appointment_reschedule",
    "servicetitan_job_note_create"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "List today's jobs, reschedule one appointment, and add a note to the job" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["servicetitan"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "List today's jobs, reschedule one appointment, and add a note to the job" }],
  tools,
});

// Execute the tool call with the vaulted ServiceTitan service account credentials
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["servicetitan"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "List today's jobs, reschedule one appointment, and add a note to the job" }],
  tools,
});

// Tool call runs with the vaulted ServiceTitan service account credentials
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["servicetitan"] }, pageSize: 100,
});

const agent = new Agent({
  name: "dispatch_agent",
  model: "gemini-2.5-pro",
  instruction: "ServiceTitan tools available to this agent",
  tools,
});

await agent.run("List today's jobs, reschedule one appointment, and add a note to the job");
Try these prompts
Copy any prompt into your agent. Each maps directly to a ServiceTitan tool. Click to copy, paste into your agent, done.
Jobs and appointments
Copy the prompt
Copied
List today's jobs for the Plumbing business unit.
Copy the prompt
Copied
Reschedule this appointment to Friday at 1pm.
Copy the prompt
Copied
Assign Marcus to tomorrow's 9am appointment.
Customers and leads
Copy the prompt
Copied
Find the customer with the phone number 555-0142.
Copy the prompt
Copied
Create a follow-up lead for this customer from the website campaign.
Copy the prompt
Copied
Add a pinned note to this customer's record.
Billing and cancellations
Copy the prompt
Copied
List this customer's invoices from the last 30 days.
Copy the prompt
Copied
Show the payments received this week.
Copy the prompt
Copied
Cancel job 48213 and record the cancel reason.
SEE HOW AUTH WORKS
You connect ServiceTitan once with a service account, and Scalekit authenticates every call. Credentials stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
ServiceTitan
once. We tie it to their identity and the access they approved, with no shared bot account and no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
ServiceTitan
credential lives in a vault scoped to them. User A's data is never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tenants:
isolated
3
Resolve
When your agent calls a
ServiceTitan
tool, we fetch the right credential server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
ServiceTitan
tool call is logged: who triggered it, which tool ran, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same auth pattern across other CRM and project management connectors.
GTM and RevOps Teams
CRM AI agent
Reads the Granola transcript after every call, extracts next steps and updates the HubSpot record, drafts the follow-up in Gmail, and confirms in Slack, all on the rep's own delegated OAuth.
Test other agents
See the same auth pattern across other CRM and project management connectors.
GTM
CRM AI agent
Turn each Granola call transcript into a HubSpot record update, a drafted Gmail follow-up, and a Slack recap.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
One service account needs a clear audit trail
ServiceTitan credentials belong to a service account for your tenant, so every booking and change reaches ServiceTitan under one app. Scalekit logs each tool call with the connected account and tool that ran it, so you can trace which agent run rescheduled which appointment.
// raw client credentials
audit → ?

// scalekit
audit → account + tool ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
ServiceTitan today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access ServiceTitan as a user or through a service account?
Through a service account. You connect ServiceTitan once with the client credentials of a service account, and Scalekit authenticates every call. Tool calls act for your tenant rather than an individual technician or office user.
Where are the ServiceTitan service account credentials stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in ServiceTitan?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the job, customer, and invoice list tools without servicetitan_job_cancel, servicetitan_job_create, or servicetitan_appointment_reschedule, which change bookings. Scalekit also enforces scope checks before every API call.
What happens when ServiceTitan access is turned off?
Disable the connection in the Scalekit dashboard and the next tool call fails closed with a clear error. Other tenants are unaffected, and the change is logged.
What does the agent need to cancel a job?
A cancel reason and a memo. servicetitan_job_cancel_reasons_list returns the cancel reasons configured in your ServiceTitan tenant, so the agent can pick a valid one before it calls servicetitan_job_cancel.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""servicetitan"": {
""url"": ""https://mcp.scalekit.com/servicetitan"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.servicetitan]
url = ""https://mcp.scalekit.com/servicetitan""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""servicetitan"": {
""url"": ""https://mcp.scalekit.com/servicetitan"",
""type"": ""http""
}
}
}