Servicenow MCP logo

Servicenow MCP

by @onlyflows

Governed stdio access to ServiceNow records with profile policies, dry-run batches, CMDB traversal, ATF, and flow views.

Install Servicenow MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "onlyflows-servicenow-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@onlyflows/servicenow-mcp@latest"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio onlyflows-servicenow-mcp -- npx -y @onlyflows/servicenow-mcp@latest

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

Automated check passed— started and listed 24 tools correctly ().

Overview

@onlyflows/servicenow-mcp connects MCP clients to one or more ServiceNow instances through a governed stdio process. It provides 24 tools for reading and changing records, with per-profile table and field policies, explicit profile selection, and safeguards for destructive operations. Additional capabilities cover CMDB traversal, ATF testing, activity events, and read-only Flow Designer views. Reach for it when an agent needs ServiceNow access constrained to approved tables, fields, instances, and write operations.

Use cases

  • Query approved ServiceNow incident tables from an AI client
  • Apply constrained record updates across selected ServiceNow profiles
  • Preview and execute structured bulk changes with dry-run protection
  • Traverse CMDB relationships during service investigations
  • Inspect Flow Designer flows without modifying them

Key features

  • 24 ServiceNow tools over stdio
  • Per-profile table and field allowlists
  • Explicit multi-instance profile selection
  • Dry-run structured batching capped at 10,000 records
  • CMDB, ATF, and read-only Flow Designer capabilities
  • JSON activity events sent to stderr

Tools24

What Servicenow MCP lets your agent do. Expand a tool for its parameters.

Verified live~12.7k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

5/5 checks healthy over the last 22d

What it can do

From the 24 tools this server returned when we ran it; 24 declare their own safety hints.

Runs commands · 4Can delete or modify data · 3Handles credentials · 1Makes network requests · 23Read-only tools · 19
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age269 days
Maintainers1

Observed 2026-11-14 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 5d ago via OSV.dev · @onlyflows/servicenow-mcp@latest (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars13Stargazers on the source repository.
npm downloads2.9kPackage downloads in the last 30 days.
Last commit10d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed24Callable tools this server registers over MCP.

How Servicenow MCP works

What @onlyflows/servicenow-mcp does

@onlyflows/servicenow-mcp exposes ServiceNow operations to an AI client through MCP. Its 24 tools can read and change records on configured ServiceNow instances, subject to controls attached to each named connection profile. Profiles can target different instances and maintain separate read and write permissions.

The server also covers CMDB traversal, Automated Test Framework (ATF) testing, and read-only views of Flow Designer flows. Activity events are emitted for completed tool calls, allowing operators to observe the selected tool, profile, instance, outcome, and hashed owner and client labels without recording table, record, or field values.

How it works

Communication uses stdio. A compatible client launches servicenow-mcp as a child process and exchanges MCP messages over standard input and output; there is no persistent server process to manage. Every call must include a profile name, so the request identifies its target instance explicitly.

Profiles use deny-by-default table access. Each one can define separate read and write table allowlists, while field policy controls which fields may be read or written and rejects sensitive field names. A profile with no applicable rules cannot make ServiceNow calls.

Destructive operations include additional safeguards. sn_delete and sn_batch require confirm: true; sn_batch uses structured filters, performs a dry run by default, limits a run to 10,000 records, and does not resend a batch. The confirmation flag is a model-supplied guard, not a substitute for a person's approval in the MCP client.

Setup and configuration

Install the package globally with:

Terminal
npm install -g @onlyflows/servicenow-mcp
servicenow-mcp-setup

The setup wizard creates local authentication material, asks for the ServiceNow instance and authentication method, verifies the credential against that instance, and writes the profile only after verification succeeds. Credentials are entered through a hidden prompt and stored encrypted in the owner-only ~/.servicenow-mcp directory, or can use a configured reference source.

The wizard defaults reads to the incident table and grants no writes. You can add narrower or broader table permissions later with servicenow-mcp-setup grant. OAuth, API key, and basic authentication are available; basic authentication is the wizard default but is deprecated by ServiceNow.

Use servicenow-mcp-setup doctor --profile <name> to check the Node.js runtime, executable, configuration directory, credential resolution, and profile access. The package requires Node.js 20 or newer. Setup can register Claude Code and Codex automatically when their CLIs are available, and can generate configuration for Claude Desktop, Cursor, VS Code, and Windsurf.

Tools and capabilities

The tool set provides:

  • ServiceNow record reads and writes constrained by profile table and field policy.
  • Record creation, updates, deletion, and structured batch changes through tools including sn_create, sn_update, sn_delete, and sn_batch.
  • Dry-run batch execution with a 10,000-record cap and explicit confirmation for execution.
  • CMDB traversal for investigating related configuration items.
  • ATF testing operations.
  • Read-only inspection of Flow Designer flows.
  • Per-call activity events written as JSON lines to stderr.

Limitations and notes

The policy controls govern tool calls made by the model. They do not prevent a client that grants shell or file access from running setup commands or reading local configuration files. The encryption key and encrypted profiles are stored in the same owner-only directory, so the arrangement protects against other users and stray copies rather than against the account that owns the files.

Activity-event delivery is best effort. Events are dropped when more than 256 lines are pending, and ServiceNow audit history remains the source for record-change auditing. Keep production write grants narrow and use a client or account without shell access where that distinction matters.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Servicenow MCP

@onlyflows/servicenow-mcp is an MCP server that connects AI clients to configured ServiceNow instances through stdio. Its 24 tools support governed record reads and writes, profile-based table and field policies, dry-run batching, CMDB traversal, ATF testing, and read-only Flow Designer views.

Install it with `npm install -g @onlyflows/servicenow-mcp`, then run `servicenow-mcp-setup`. The wizard verifies the ServiceNow credential, creates a profile, asks which tables to allow, and registers supported clients when their command-line tools are installed.

Claude Code, Codex, Claude Desktop, Cursor, VS Code, and Windsurf are supported configuration targets. Claude Code and Codex can be registered automatically, while the setup command can generate configuration for the other named clients. Any client that can launch a stdio MCP server can connect.

Access is restricted with named profiles, deny-by-default table rules, and per-field read and write policies. Every call must identify its profile, and `sn_delete` plus `sn_batch` require `confirm: true`; batch changes also default to a dry run.

No. The MCP client launches `servicenow-mcp` on demand and communicates with it over stdio. There is no persistent service to start between sessions, although `servicenow-mcp-setup doctor` can check the local installation and profile.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewServicenow MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/onlyflows-servicenow-mcp?style=directory)](https://allmcps.com/mcp/onlyflows-servicenow-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/onlyflows-servicenow-mcp"><img src="https://allmcps.com/api/badge/onlyflows-servicenow-mcp?style=directory" alt="Servicenow MCP on AllMCPs" /></a>