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
- A portal with at least one access group
- An account with ServiceNow 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 ServiceNow after entering instanceName |
| Basic Authentication | Custom credentials | instanceName, 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:
| Scope | Name | What it allows |
|---|---|---|
useraccount | User Account | Access 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.comusername: ServiceNow usernamepassword: 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:
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
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.
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 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. NeedstableNameandrecordId.query_records: Query and filter records from any ServiceNow table. NeedstableName.
Write tools (12)
manage_knowledge_article: Create, update, or search knowledge base articles in ServiceNow. Needsaction.manage_attachment: List, upload, download, or delete file attachments on ServiceNow records. Needsaction.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. NeedsstagingTableandrecords.update_record: Update an existing record in any ServiceNow table. NeedstableName,recordIdandfields.browse_service_catalog: Browse and retrieve service catalog items in ServiceNow. Needsaction.manage_user: Create or update a user in ServiceNow.manage_group_membership: Add or remove users from ServiceNow groups. NeedsactionandgroupId.manage_incident: Create or update an incident in ServiceNow with ITSM-specific fields.create_record: Create a new record in any ServiceNow table. NeedstableNameandfields.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. Needsaction.
Destructive tools (1)
delete_record: Permanently delete a record from any ServiceNow table by its sys_id. NeedstableNameandrecordId.
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_webhookincident_updates: Polls for new or updated incidents in ServiceNow.
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use ServiceNow there
- Create custom OAuth credentials: the Provider Auth screens in more detail
- Tool permissions: tool filters and what employees see
- ServiceNow on metorial.com: the integration overview