MetorialDocs

Set up ServiceNow in Metorial for Claude, ChatGPT and Cursor

Share ServiceNow with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or basic authentication sign-in, 15 tools (2 read-only).

To give your team ServiceNow in Claude, ChatGPT, Cursor and other AI clients, an admin shares the ServiceNow integration in a Metorial portal, and each person signs in to ServiceNow with their own account. Agents can manage IT service management records including incidents, problems, changes, and requests. The integration has 15 tools, 2 read-only, 12 write and 1 destructive, plus 3 triggers.

What you'll learn

  • How an admin shares ServiceNow in a portal and how each person connects
  • The 1 OAuth scope ServiceNow can request, and what each one allows
  • How to keep the 2 read-only tools and reject the other 13

Before you start

Sign-in methods

MethodTypeWhat a person provides
OAuth 2.0 (default)OAuthSigns in to ServiceNow after entering instanceName
Basic AuthenticationCustom credentialsinstanceName, username and password

The portal and metorial setup use OAuth 2.0 unless someone picks another method.

OAuth 2.0

Before the sign-in, setup asks for:

  • instanceName: ServiceNow instance name (subdomain), e.g. "mycompany" for mycompany.service-now.com

People sign in to ServiceNow and approve the scopes you allow. The integration can request:

ScopeNameWhat it allows
useraccountUser AccountAccess to user account information and preferences

Basic Authentication

To connect, a person enters these values:

  • instanceName: ServiceNow instance name (subdomain), e.g. "mycompany" for mycompany.service-now.com
  • username: ServiceNow username
  • password: ServiceNow password

Setup settings

Whichever method you pick, setup also asks for:

  • instanceName: The ServiceNow instance name (subdomain). For example, if your instance URL is https://mycompany.service-now.com, enter "mycompany".

Use your own ServiceNow OAuth app

With your own OAuth app, people see your company's name on the ServiceNow 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 ServiceNow and copy the Redirect URI.

Register the app with ServiceNow

Create an OAuth app or client in ServiceNow and add the redirect URI from Metorial as its redirect or callback URL.

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 ServiceNow integration.

Admin: share ServiceNow 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 ServiceNow. Under Auth Method, keep OAuth 2.0 or pick another. For how members connect, choose Each person connects, so everyone signs in to ServiceNow as themselves.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from ServiceNow.

Choose who gets it

Add the access groups that should see ServiceNow. 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 ServiceNow integration. Once it exists, check which groups have it:

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

Employee: connect ServiceNow

In the portal

Open ServiceNow in the catalog

Sign in to your portal and open ServiceNow. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. A ServiceNow 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 servicenow
metorial setup <catalog-item-id>

catalog search prints the catalog item ID. metorial setup uses OAuth 2.0. To connect with Basic Authentication 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 ServiceNow 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 servicenow
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 2 read-only tools, such as get_record and query_records, and lose the 12 write tools, such as import_data or manage_user, and the destructive tool delete_record.

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 servicenow
metorial tools <integration-id>
metorial call <integration-id> query_records -d '{"tableName":"<table-name>"}'

metorial tools lists the 15 tools, minus any you rejected. query_records needs tableName, so replace the placeholders. It queries and filter records from any ServiceNow table.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (2)

  • get_record: Retrieve a single record from any ServiceNow table by its sys_id. Needs tableName and recordId.
  • query_records: Query and filter records from any ServiceNow table. Needs tableName.

Write tools (12)

  • manage_knowledge_article: Create, update, or search knowledge base articles in ServiceNow. Needs action.
  • manage_attachment: List, upload, download, or delete file attachments on ServiceNow records. Needs action.
  • manage_change_request: Create or update a change request in ServiceNow.
  • import_data: Import records into a ServiceNow staging table using the Import Set API. Needs stagingTable and records.
  • update_record: Update an existing record in any ServiceNow table. Needs tableName, recordId and fields.
  • browse_service_catalog: Browse and retrieve service catalog items in ServiceNow. Needs action.
  • manage_user: Create or update a user in ServiceNow.
  • manage_group_membership: Add or remove users from ServiceNow groups. Needs action and groupId.
  • manage_incident: Create or update an incident in ServiceNow with ITSM-specific fields.
  • create_record: Create a new record in any ServiceNow table. Needs tableName and fields.
  • manage_problem: Create or update a ServiceNow problem record with ITSM-specific fields.
  • manage_cmdb_ci: List, retrieve, create, or update Configuration Items (CIs) with the ServiceNow CMDB Instance API. Needs action.

Destructive tools (1)

  • delete_record: Permanently delete a record from any ServiceNow table by its sys_id. Needs tableName and recordId.

Triggers

ServiceNow has 3 triggers, which fire on events in ServiceNow:

  • record_changes: Polls for new or updated records in a specified ServiceNow table.
  • inbound_webhook
  • incident_updates: Polls for new or updated incidents in ServiceNow.

Next steps