Skip to main content
ServiceNow The ServiceNow app exposes the ServiceNow ITSM platform through its Table API. It can be consumed two ways: as a remote MCP server that Agent Creator agents call as tools, or as a Builder app whose instructions you call directly from DSUL. It covers incidents, change requests, problems, the service catalog, requests, attachments, users and groups, plus a generic table accessor for any other ServiceNow table. It runs in the tenant app-instance context: you install the app in your own workspace, which stores the ServiceNow credential. You enter the instance URL and the credential in the connector’s Configuration app: either Basic Auth (a ServiceNow integration user with the right roles) or OAuth2 client credentials (client_credentials grant). The credential is resolved server-side and never passed through the agent. Agents are identified by the capability Scope context_id,agent_id,user_id and gated by a per-workspace authorized-agents allowlist.

ITSM Tickets

Create, read, update and transition incidents, change requests and problems with work notes and close codes.

Service Catalog

List and inspect catalog items, then order them with their variables, creating a request and request item.

Generic Table Access

Query any ServiceNow table with encoded queries, fetch records by sys_id, and compute aggregate statistics.

Who is this for?

This connector is used by three different roles. Jump to the section that matches yours; each one is self-contained.

Agent builder

You build agents in Agent Creator and want them to manage ServiceNow tickets. → Agent builder tab.

Platform admin

You run the platform and want to publish ServiceNow as a reusable capability. → Platform admin setup accordion below.

Workspace builder

You write Builder automations (DSUL) that call ServiceNow operations directly. → Workspace builder tab.

Prerequisites (ServiceNow side)

  • A ServiceNow instance; its URL has the form https://<instance>.service-now.com.
  • A credential, one of:
    • Basic Auth: a ServiceNow user (username + password) holding the roles needed for the tables you target.
    • OAuth2 client credentials (client_credentials grant): in ServiceNow, create an OAuth API endpoint for external clients under System OAuth > Application Registry, enable the client_credentials grant (system property glide.oauth.inbound.client.credential.grant_type.enabled set to true, plus an OAuth application user that sets the identity and roles of the calls), and note its Client ID and Client Secret.
  • The roles for the tables you intend to use: itil for incidents, change_manager for change requests, problem_manager for problems, sn_request_write for catalog requests, and a table-specific role for anything else. The generic table tools are ACL-filtered by the account’s effective roles.
Goal: ServiceNow is a per-workspace connector: each workspace enters its own ServiceNow credential in the connector’s configuration app (see the Workspace builder tab), so there is no platform-wide credential to provision. The only optional platform task is to publish ServiceNow as a reusable capability in AI Governance so agent builders can enable it from the catalog instead of pasting a raw MCP endpoint.
There is no shared ServiceNow credential and no central OAuth client for this connector. The ServiceNow instance URL and credentials (Basic or OAuth2 client credentials) always live in the consuming workspace’s secrets, written by the connector’s configuration app. A Governance capability you publish here points at a specific workspace’s MCP endpoint; that workspace still owns the credential and the authorized-agents allowlist.

Declare the capability in AI Governance (optional)

1

Open AI Governance > Capabilities

Create (or edit) the ServiceNow capability.
2

Point it at the MCP endpoint

Set the capability’s MCP server URL to the MCP endpoint of the workspace running the connector (shown in the configuration app, Agents tab), and set its Scope to:
The agent_id in the scope is what lets the connector identify and authorize the calling agent.
3

Make it available to agent builders

Once created, the capability appears in the capability picker for agent builders in your organization, who enable it on their agents. Access to the catalog follows your organization’s existing roles; there is no per-capability role grant.
The connector’s configuration app also offers an Add to catalog button (Agents tab, Capabilities catalog section) that publishes the capability to the organization-wide Capabilities catalog for you. It requires catalog write rights in your organization.
Declaring the capability makes the connector available; it does not by itself authorize a specific agent. Per-agent gating remains the configuration app’s Authorized agents allowlist, the ServiceNow credential is resolved server-side from the workspace running the connector, and ServiceNow ACLs (the account’s effective roles) are the final authorization boundary. There is no OAuth auth-config JSON to attach in Governance: authentication is a server-side Basic or client_credentials credential, not a per-user OAuth flow.

Agent builder

Goal: let an agent you build in Agent Creator manage ServiceNow tickets through MCP tools.
Before an agent can call the connector, a Workspace builder must have installed and configured the ServiceNow app in a workspace (see the Workspace builder tab). Optionally, a Platform admin may have published a ServiceNow capability in AI Governance (see the Platform admin setup accordion above).
The ServiceNow credential (Basic or OAuth2 client credentials) is resolved server-side from the workspace’s secrets; it is never exposed to the agent. Your agent is identified by the agent_id that Agent Creator injects through the capability Scope, and that agent must appear in the connector’s authorized-agents allowlist (managed in the configuration app).
1

Install and configure the connector in your workspace

Follow the Workspace builder tab: install ServiceNow in your workspace, open its Configuration app, fill the instance URL and the credential in the Authentication tab, then select Test connection.
2

Allowlist your agent

In the configuration app, open the Agents tab and tick your agent under Authorized agents, or enable Allow all agents (disables selection + verification).
3

Add the MCP capability to your agent

Next to your agent, select Install capability: it adds the ServiceNow capability to the agent with the right endpoint and Scope, and adds the agent to the allowlist. To wire it by hand instead, add a capability pointing at the MCP endpoint shown in the same tab, and set its Scope to:
The agent_id is what lets the connector identify and authorize your agent; without it, every call is rejected with an explicit “agent could not be identified” message.
4

Save

The agent now has access to every ServiceNow tool exposed by the MCP server.
Org-wide alternative: Add to catalog. Instead of installing the capability agent by agent, select Add to catalog in the Agents tab to publish ServiceNow to the organization-wide Capabilities catalog (see the Platform admin setup accordion). Agent builders then enable it from the catalog with the endpoint and Scope already wired; each agent must still be allowlisted.

Brief the agent in its system prompt

Wiring the capability is not enough: the agent also needs to know the tools exist and when to use them. Add a short paragraph to the agent’s system prompt. Copy-pasteable starter:
Refine the trigger keywords (assignment groups, ticket prefixes, catalog item names) so the agent reliably picks up the right intent in your context.
Legacy AI Knowledge agents (no native MCP picker): add the connector under Advanced > Tools > MCP and paste the MCP endpoint URL shown in the configuration app (Agents tab). The agent’s identity is still propagated so the connector can read its agent_id.

Available Tools

Generic Table Access

Incidents

Change Requests

Problems

Service Catalog

Requests & Request Items

Attachments, Users & Groups

Output Formats

Tools return the underlying ServiceNow Table API JSON. Most list and get operations accept a displayValue argument that controls how reference and choice fields are rendered:
  • false: raw sys_id values (the default for most fields).
  • true: human-readable labels.
  • all: both, under value and display_value.
List operations also accept limit, offset and fields (comma-separated) to control the response size and shape.

Tool Details

queryRecords

Query any ServiceNow table using the encoded query syntax.

createIncident

updateIncident

transitionChange

Call getChangeTransitions first to discover which target states are legal for a given change, then transition:

orderCatalogItem

uploadAttachment

Max attachment size is set by the instance (default 1 GB via com.glide.attachment.max_size, but most instances restrict it further).

Security

The answers that hold for every connector (agent access, shared knowledge bases, credentials, models, egress) are on Connector security. This section lists what is specific to ServiceNow. The generic queryRecords and getRecord tools reach any table the account can read, not only incidents, changes and problems. snc_read_only blocks writes, not reads: grant the account the table roles your agents need and nothing more.

Error Handling

Common Issues

“ServiceNow is not configured for this workspace”: no instance URL is saved for the workspace that runs the connector. A workspace administrator opens the Configuration app, fills the Instance URL with its scheme (https://<instance>.service-now.com) and the credential in the Authentication tab, then selects Save authentication and Test connection. “ServiceNow Basic Auth requires a username and a password”: the Method is Basic Auth (integration user) but User name or Password is empty. Fill both in the configuration app, or switch the method to OAuth2 client credentials. “ServiceNow OAuth2 (client credentials) requires a Client ID and a Client Secret”: the Method is OAuth2 client credentials but the client credentials are missing. Create an OAuth API endpoint for external clients in ServiceNow (System OAuth > Application Registry) with the client_credentials grant, then enter its Client ID and Client Secret in the configuration app. “This agent is not authorized to use this connector”: the calling agent is not in the allowlist. A workspace administrator opens the configuration app, Agents tab, and ticks this agent under Authorized agents (or enables Allow all agents). Retry the prompt to verify. “The calling agent could not be identified, so it cannot be authorized”: the MCP capability does not declare the agent scope. Set the capability Scope to context_id,agent_id,user_id (or use Install capability in the configuration app), then allow the agent in the Agents tab. “This page can’t be opened on its own. Install this connector in your workspace, open the app configuration, then click the Configuration app link.”: earlier versions of the configuration app show Missing context. Open this page from the connector configAppUrl. for the same cause. The configuration page was opened without its workspace context, for example directly from the connector’s own workspace or from a bookmarked URL. The configuration app must always be opened from the Configuration app link of the app instance installed in your own workspace, because your workspace stores the credential and the allowlist. To fix it, install ServiceNow in your workspace if needed, open Apps, open the ServiceNow app instance configuration, then select the Configuration app link. The page opens on the Authentication tab. “You are not allowed to configure this workspace.”: you are not an administrator of the workspace that hosts the app instance. Ask a workspace administrator to open the configuration app. Empty results with a seemingly valid query: encoded queries are case-sensitive and ACL-filtered. Try displayValue: all and verify the effective roles of the account; a record outside the account’s domain is silently excluded.

External Resources

ServiceNow Table API

Official Table API reference

Encoded Query Strings

Operators and syntax for the query argument

OAuth Inbound Setup

Create an OAuth Application Registry

Tool Agents

Learn how Agent Creator agents consume MCP tools in Prisme.ai.