sn_codesearch
Search business rules, script includes, client scripts, etc.
How to use it
Project documentation lists sn_codesearch for the Servicenow MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.
Install Servicenow MCP
npx @modelcontextprotocol/inspector node dist/index.jsOther tools in Servicenow MCP (16)
COUNT, AVG, MIN, MAX, SUM with grouping
Run ATF tests and suites, get results
List, download, upload attachments
Bulk update/delete with dry-run safety (requires confirm: true to execute)
Create a new record on any table
Delete a record (requires confirm: true)
Discover tables, scoped apps, store apps, plugins
Get a single record by sysid
Instance version, cluster nodes, stuck jobs, key stats
Natural language → ServiceNow API calls
Query any table with encoded queries, field selection, pagination, sorting
CMDB CI graph traversal — upstream/downstream/both, configurable depth
Table field definitions, types, references
Execute background scripts (requires Playwright)
Query system logs with severity/source/time filters
Update an existing record (PATCH)