Set up ServiceM8 in Metorial for Claude, ChatGPT and Cursor
Share ServiceM8 with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or API key sign-in, 19 tools (9 read-only).
To give your team ServiceM8 in Claude, ChatGPT, Cursor and other AI clients, an admin shares the ServiceM8 integration in a Metorial portal, and each person signs in to ServiceM8 with their own account. Agents can manage ServiceM8 jobs, clients, contacts, staff scheduling, job materials, notes and payments. The integration has 19 tools, 9 read-only, 9 write and 1 destructive, plus 3 triggers.
What you'll learn
- How an admin shares ServiceM8 in a portal and how each person connects
- The 23 OAuth scopes ServiceM8 can request, and what each one allows
- How to keep the 9 read-only tools and reject the other 10
Before you start
- A portal with at least one access group
- An account with ServiceM8 for each person who connects
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in methods
| Method | Type | What a person provides |
|---|---|---|
| OAuth 2.0 (default) | OAuth | Signs in to ServiceM8 |
| API Key | API token | apiKey |
The portal and metorial setup use OAuth 2.0 unless someone picks another method.
OAuth 2.0
People sign in to ServiceM8 and approve the scopes you allow. The integration can request:
| Scope | Name | What it allows |
|---|---|---|
read_jobs | Read Jobs | Read-only access to jobs |
create_jobs | Create Jobs | Create new jobs |
manage_jobs | Manage Jobs | Full access to jobs (read, create, update, delete) |
read_customers | Read Customers | Read-only access to clients/companies |
create_customers | Create Customers | Create new clients/companies |
manage_customers | Manage Customers | Full access to clients/companies |
read_staff | Read Staff | Read-only access to staff members |
manage_staff | Manage Staff | Full access to staff members |
read_schedule | Read Schedule | Read-only access to scheduling and job activities |
manage_schedule | Manage Schedule | Full access to scheduling and job activities |
read_locations | Read Locations | Read-only access to locations |
manage_locations | Manage Locations | Full access to locations |
read_assets | Read Assets | Read-only access to customer assets |
manage_assets | Manage Assets | Full access to customer assets |
read_job_materials | Read Job Materials | Read-only access to job materials/line items |
manage_job_materials | Manage Job Materials | Full access to job materials/line items |
read_job_contacts | Read Job Contacts | Read-only access to job contacts |
read_inventory | Read Inventory | Read-only access to materials catalog |
manage_inventory | Manage Inventory | Full access to materials catalog |
publish_sms | Publish SMS | Send SMS messages on behalf of the account |
publish_email | Publish Email | Send emails on behalf of the account |
staff_locations | Staff Locations | Access staff location tracking |
staff_activity | Staff Activity | Access staff activity tracking |
API Key
To connect, a person enters:
apiKey: Your ServiceM8 API key from Settings > API Keys
Use your own ServiceM8 OAuth app
With your own OAuth app, people see your company's name on the ServiceM8 consent screen, and the client ID and secret belong to you.
Start the credentials in Metorial
In the dashboard, select Settings, then Organization Settings. Under Integrations and MCP, select Provider Auth, then Create Auth Credentials. Choose ServiceM8 and copy the Redirect URI.
Register the app with ServiceM8
Create an OAuth app or client in ServiceM8 and add the redirect URI from Metorial as its redirect or callback URL. The vendor documents this in OAuth documentation.
Finish in Metorial
Copy the app's client ID and client secret. Back in Metorial, enter a Name, the Client ID and the Client Secret, review Scopes, and select Create. Then pick these credentials for the ServiceM8 integration.
Admin: share ServiceM8 in a portal
In the dashboard
Open Shared Resources
Open Workforce, choose the portal, and select Shared Resources under Access.
Share a new integration
Select Share a Resource, then New Integration, and choose ServiceM8. Under Auth Method, keep OAuth 2.0 or pick another. For how members connect, choose Each person connects, so everyone signs in to ServiceM8 as themselves.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from ServiceM8.
Choose who gets it
Add the access groups that should see ServiceM8. When a person asks for access from the portal, the request appears under Access Requests.
With the CLI
The CLI cannot create the per-user ServiceM8 integration. Once it exists, check which groups have it:
Employee: connect ServiceM8
In the portal
Open ServiceM8 in the catalog
Sign in to your portal and open ServiceM8. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. A ServiceM8 sign-in tab opens. Sign in and approve the permissions listed.
Confirm
The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.
With the CLI
catalog search prints the catalog item ID. metorial setup uses OAuth 2.0. To connect with API Key instead, find its ID with metorial catalog get <catalog-item-id> and add --auth-method <auth-method-id>.
Add it to your AI client
metorial install adds your ServiceM8 connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.
For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.
Make it read-only
Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 9 read-only tools, such as get_job and list_jobs, and lose the 9 write tools, such as add_note or create_job, and the destructive tool delete_job.
Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.
Check it worked
metorial tools lists the 19 tools, minus any you rejected. list_jobs takes no input. It lists and filter jobs from ServiceM8.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (9)
list_clients: List and filter clients (companies) from ServiceM8.list_job_activities: List scheduled bookings and recorded time entries (job activities) from ServiceM8.list_jobs: List and filter jobs from ServiceM8.get_client: Retrieve a single client (company) by UUID, including their address, contact details, and associated contacts. NeedscompanyUuid.list_staff: List staff members in ServiceM8.get_job: Retrieve a single job by UUID with all its details including status, address, description, pricing, and associated client information. NeedsjobUuid.get_account: Identify the connected ServiceM8 account and retrieve its business name, currency, and timezone.list_contacts: Find client contacts and their UUIDs for manage_contact.list_materials: Find materials, products and labour rates in the ServiceM8 catalog.
Write tools (9)
schedule_job: Create a scheduled booking (job activity) for a job and optionally assign a staff member. NeedsjobUuid,startDateandendDate.manage_job_materials: List, add, update, or remove job materials (line items). Needsaction.add_note: Add a note to a job or other record in ServiceM8. NeedsjobUuidandnoteContent.create_job: Create a new job in ServiceM8.record_payment: Record a payment against a job in ServiceM8. NeedsjobUuidandamount.update_client: Update an existing client (company) in ServiceM8. NeedscompanyUuid.create_client: Create a new client (company) in ServiceM8. Needsname.update_job: Update an existing job in ServiceM8. NeedsjobUuid.manage_contact: Create or update a company contact in ServiceM8.
Destructive tools (1)
delete_job: Delete a job from ServiceM8 by UUID. NeedsjobUuid.
Triggers
ServiceM8 has 3 triggers, which fire on events in ServiceM8:
client_events: Triggers when client (company) events occur in ServiceM8, such as creation or updates.job_events: Triggers when job-level events occur in ServiceM8, such as job creation, completion, status changes, check-ins, invoicing, and quoting.staff_events: Triggers when staff clock-on and clock-off events occur in ServiceM8.
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use ServiceM8 there
- Create custom OAuth credentials: the Provider Auth screens in more detail
- Tool permissions: tool filters and what employees see
- ServiceM8 on metorial.com: the integration overview