MetorialDocs

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

Sign-in methods

MethodTypeWhat a person provides
OAuth 2.0 (default)OAuthSigns in to ServiceM8
API KeyAPI tokenapiKey

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:

ScopeNameWhat it allows
read_jobsRead JobsRead-only access to jobs
create_jobsCreate JobsCreate new jobs
manage_jobsManage JobsFull access to jobs (read, create, update, delete)
read_customersRead CustomersRead-only access to clients/companies
create_customersCreate CustomersCreate new clients/companies
manage_customersManage CustomersFull access to clients/companies
read_staffRead StaffRead-only access to staff members
manage_staffManage StaffFull access to staff members
read_scheduleRead ScheduleRead-only access to scheduling and job activities
manage_scheduleManage ScheduleFull access to scheduling and job activities
read_locationsRead LocationsRead-only access to locations
manage_locationsManage LocationsFull access to locations
read_assetsRead AssetsRead-only access to customer assets
manage_assetsManage AssetsFull access to customer assets
read_job_materialsRead Job MaterialsRead-only access to job materials/line items
manage_job_materialsManage Job MaterialsFull access to job materials/line items
read_job_contactsRead Job ContactsRead-only access to job contacts
read_inventoryRead InventoryRead-only access to materials catalog
manage_inventoryManage InventoryFull access to materials catalog
publish_smsPublish SMSSend SMS messages on behalf of the account
publish_emailPublish EmailSend emails on behalf of the account
staff_locationsStaff LocationsAccess staff location tracking
staff_activityStaff ActivityAccess 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:

metorial-admin portals access list <portal-id> --type provider_template --search servicem8

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

metorial catalog search servicem8
metorial setup <catalog-item-id>

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.

metorial list servicem8
metorial client list
metorial install <client-identifier> <integration-id>

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 list servicem8
metorial tools <integration-id>
metorial call <integration-id> list_jobs -d '{}'

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. Needs companyUuid.
  • 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. Needs jobUuid.
  • 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. Needs jobUuid, startDate and endDate.
  • manage_job_materials: List, add, update, or remove job materials (line items). Needs action.
  • add_note: Add a note to a job or other record in ServiceM8. Needs jobUuid and noteContent.
  • create_job: Create a new job in ServiceM8.
  • record_payment: Record a payment against a job in ServiceM8. Needs jobUuid and amount.
  • update_client: Update an existing client (company) in ServiceM8. Needs companyUuid.
  • create_client: Create a new client (company) in ServiceM8. Needs name.
  • update_job: Update an existing job in ServiceM8. Needs jobUuid.
  • manage_contact: Create or update a company contact in ServiceM8.

Destructive tools (1)

  • delete_job: Delete a job from ServiceM8 by UUID. Needs jobUuid.

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