Servicenow MCP Server

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

Local serverstdio

What is the Servicenow MCP server?

ServiceNow MCP server — 67 tools over the full REST surface, every auth method, flows, diagrams. The servicenow mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 14 defined tools rather than through you.

What it actually does

📖 Documentation site →

  • Full Table API: query, read, create, update and delete records on any
  • Extra ServiceNow APIs: Aggregate (Stats), Attachment
  • Process & plugin APIs: CMDB (class-aware CI CRUD + meta via IRE),
  • Script intelligence — read and search the instance's own code (business
  • Flow tracing & code checking — (Phase 8): deterministically trace what a
  • Self-documentation — a local Markdown knowledge base (read/write/search) plus

Its toolset

Everything the assistant can do here goes through one of these:

  • Self-documentation — a local Markdown knowledge base (read/write/search) plus
  • Prompts — ready-made workflows (incident triage, change impact analysis,
  • Least — privilege controls: table allow/deny lists and a global read-only mode
  • Resilience — per-request timeout, retry with backoff and Retry-After, SSRF
  • Method — SN_AUTH
  • Basic — basic
  • Variable — Required
  • SN_INSTANCE — yes
  • SN_USER — yes
  • SN_PASSWORD — yes
  • SN_TIMEOUT_MS — no
  • SN_MAX_RETRIES — no

Adding it to your client

Installation goes through your MCP client rather than a global install: point it at servicenow-mcp-ai on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

Configuration

You will need 8 environment variables: SN_OAUTH_CLIENT_ID, SN_OAUTH_CLIENT_SECRET, SN_OAUTH_REFRESH_TOKEN, SN_OAUTH_JWT_KEY, SN_API_KEY, SN_BEARER_TOKEN, SN_TLS_CLIENT_KEY, SN_HTTP_HOST. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

  • Node.js 20+ (enforced: engines + a runtime guard with a clear message; the project targets the version in .nvmrc).

When to reach for it

Plenty of knowledge and memory servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Servicenow's toolset — Self-documentation, Prompts, Least and 11 more — is a fair guide to whether it matches your workflow. It is maintained by IvanBBaev; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Servicenow.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the servicenow mcp server does with a few real requests.

Available tools

ToolWhat it does
Self-documentationa local Markdown knowledge base (read/write/search) plus
Promptsready-made workflows (incident triage, change impact analysis,
Leastprivilege controls: table allow/deny lists and a global read-only mode.
Resilienceper-request timeout, retry with backoff and Retry-After, SSRF
MethodSN_AUTH
Basicbasic
VariableRequired
SN_INSTANCEyes
SN_USERyes
SN_PASSWORDyes
SN_TIMEOUT_MSno
SN_MAX_RETRIESno
SN_MAX_RECORDSno
SN_MAX_RESULT_CHARSno

How to install the Servicenow MCP server

{
  "mcpServers": {
    "servicenow-mcp-ai": {
      "command": "npx",
      "args": ["-y", "servicenow-mcp-ai"],
      "env": {
        "SN_OAUTH_CLIENT_ID": "your-value",
        "SN_OAUTH_CLIENT_SECRET": "your-value",
        "SN_OAUTH_REFRESH_TOKEN": "your-value",
        "SN_OAUTH_JWT_KEY": "your-value",
        "SN_API_KEY": "your-value",
        "SN_BEARER_TOKEN": "your-value",
        "SN_TLS_CLIENT_KEY": "your-value",
        "SN_HTTP_HOST": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  • Node.js 20+ (enforced: engines + a runtime guard with a clear message; the project targets the version in .nvmrc).
VariableDescriptionRequired
SN_OAUTH_CLIENT_IDConfiguration value read at startup.Optional
SN_OAUTH_CLIENT_SECRETCredential the server authenticates with.Yes
SN_OAUTH_REFRESH_TOKENCredential the server authenticates with.Yes
SN_OAUTH_JWT_KEYCredential the server authenticates with.Yes
SN_API_KEYCredential the server authenticates with.Yes
SN_BEARER_TOKENCredential the server authenticates with.Yes
SN_TLS_CLIENT_KEYCredential the server authenticates with.Yes
SN_HTTP_HOSTEndpoint or connection string the server talks to.Optional

Example prompts to try

  • Use Servicenow to Self-documentation.
  • Use Servicenow to Prompts.
  • Use Servicenow to Least.

Frequently asked questions

It connects Servicenow to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (Self-documentation, Prompts, Least, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Servicenow directly.