# servicenow-mcp-ai [Health: Active]

**Category:** 📊 Data Visualization  
**Repository:** https://github.com/LeassTaTT/servicenow-mcp-ai  
**GitHub Stars:** 13  
**npm Downloads (last month):** 1513  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/servicenow-mcp-ai-2

## Description
ServiceNow MCP server — 65 tools over the full REST surface, every auth method, flows, diagrams.

## Tools
Capabilities this server exposes over MCP:

- **all** — every package below.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "servicenow-mcp-ai": {
    "command": "npx",
    "args": ["-y","servicenow-mcp-ai"],
    "env": {
      "SN_TOOL_PACKAGES": "",
      "SN_COMPAT": "",
      "SN_WRITE_MODE": ""
    }
  }
}
```

**Requires environment variables:** `SN_TOOL_PACKAGES`, `SN_COMPAT`, `SN_WRITE_MODE` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What servicenow-mcp-ai does

servicenow-mcp-ai exposes ServiceNow operations as MCP tools for clients such as Claude Desktop, Claude Code, VS Code Copilot Chat, and Cursor. It works with a ServiceNow instance over REST APIs and supports both broad platform access and focused analysis of configuration and automation.

The main data surface is the Table API: agents can query, read, create, update, and delete records on arbitrary tables. Encoded queries, selected fields, and pagination are supported. Additional packages cover aggregate statistics, attachments, Import Set, Batch requests, table and column metadata, CMDB, Service Catalog, Change Management, and Knowledge article search. Plugin-scoped operations report when the relevant ServiceNow plugin is inactive.

## How it works

The server is installed locally and connected to an MCP client, which then invokes the ServiceNow tools against a configured instance. Credentials are stored in a local environment file and can also be changed at runtime through a tool.

Record writes use a cautious workflow. A write without `apply` produces a before-and-after preview without changing ServiceNow. After reviewing the preview, the caller can apply it. Destructive applies, including deletes, batch writes, and reverts, also need the preview's single-use `plan_token`. Record writes are saved in a local journal, and the revert tool can undo eligible changes.

Tool loading is package-based: 20 packages load by default, while `SN_TOOL_PACKAGES` can add the remaining packages. This keeps the default tool list smaller for clients and models. The `SN_WRITE_MODE` setting can restore immediate execution behavior for installations migrating from older defaults, and `SN_COMPAT` provides compatibility with earlier 2.x behavior.

## Tools and capabilities

- Query and mutate records across ServiceNow tables, with filtering, field selection, and pagination.
- Work with aggregates, attachments, Import Sets, batches, and table or column metadata.
- Manage CMDB configuration items and relationships, including class-aware operations and IRE identify-and-reconcile planning.
- Browse and order Service Catalog items, create typed changes with conflict detection, and search Knowledge articles.
- Search ServiceNow scripts and inspect business rules, client scripts, UI policies, ACLs, flows, catalog scripts, and other automation artifacts.
- Use `servicenow_where_used` to find code and structural references, optionally return a Mermaid graph, and use `servicenow_trace_table_event` to inspect save-time automation in execution order.
- Compare configured instances for drift across tables, columns, scripts, plugins, and optional configuration areas; the drift command can return a CI-friendly exit status.

## Limitations and notes

Code search and dependency analysis are read-only and use the ServiceNow Table API. Event tracing evaluates the automation chain logically; it does not execute the business rules, flows, workflows, or notifications it reports. Drift comparisons match scripts by `sys_id` and then by name, and can include unified diffs for changed scripts.

The server can be used with a free ServiceNow Personal Developer Instance. Access still depends on the configured instance, credentials, available plugins, and ServiceNow permissions. The default write protections are important when an agent is allowed to modify records: previews should be reviewed before applying changes, and destructive operations require their plan token.

_Full upstream README: https://allmcps.com/mcp/servicenow-mcp-ai-2/readme_

