ITSM Tickets
Incidents, changes and problems with transitions and work notes
Service Catalog
List, inspect and order catalog items with variables
Generic Table Access
Query any ServiceNow table with encoded queries and aggregates
Prerequisites
- A ServiceNow instance (URL format:
https://<instance>.service-now.com) - Either Basic Auth credentials (user with
itil/adminrole) or an OAuth2 client (client_credentialsflow) - Roles required for the intended tables:
itilfor incidents,change_managerfor changes,problem_managerfor problems,sn_request_writefor catalog requests, etc.
- Usage as App
- Usage as MCP
Installation
- Go to Apps in your workspace
- Search for ServiceNow and install it
- Open the app instance configuration and fill in the required fields
Configuration
Credentials are stored as workspace secrets.
MCP Endpoint and MCP API Key are generated automatically by the onInstall flow and are only needed to expose this instance as an MCP server (see the next tab).Available Instructions
Every instruction resolves credentials viabuildAppAuth (Basic or OAuth2 depending on authType). Most list operations accept limit, offset, fields (comma-separated) and displayValue (true/false/all) to control the response shape.displayValue controls how reference/choice fields are rendered: true → labels, false → sys_ids, all → both (under value and display_value).Generic Table Access
Incidents
Change Requests
startDate / endDate use the ServiceNow format YYYY-MM-DD HH:mm:ss (UTC on the instance timezone).Problems
Service Catalog
Requests & Request Items
Attachments
Users & Groups
Arguments flagged with
* are required.DSUL Examples
Open an Incident From a Form
Assign and Resolve
Query With an Encoded Query
Order a Catalog Item
Aggregate Statistics
Attach a File
Error Handling
Common Issues
“Instance not configured” —instanceUrl is missing from the app config. Paste the full URL with scheme (https://acme.service-now.com).
“Basic Auth requires username and password” — authType is basic but one credential is empty. Either fill both or switch to oauth2.
“OAuth2 requires clientId and clientSecret” — authType is oauth2 but the client credentials are missing. Create an Application Registry in ServiceNow (System OAuth > Application Registry) with the client_credentials grant.
“Invalid API key” (MCP) — The mcp-api-key header does not match the central app secret. Reinstall the app instance to regenerate a signed key.
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.
External Resources
ServiceNow Table API
Official Table API reference
Encoded Query Strings
Operators and syntax for
queryOAuth Inbound Setup
Create an OAuth Application Registry
Tool Agents
Plug MCP servers into Knowledges agents