Skip to content
MCP server

Servicenow MCP Ai

Safe writes, find-usages and instance drift checks for ServiceNow through an MCP server

Install
Pricing
Free
Platforms
CLI, self-hosted
Runs
Locally or Remotely
Version
3.1.1
Listing updated
3 days ago

About Servicenow MCP Ai

Servicenow MCP Ai is a free MCP server for developer tools. It can run locally on your machine or as a hosted remote server.

Writes are the main design concern. A create, update or delete returns a before-and-after preview unless you pass apply: true, destructive applies also need a single-use plan token, and record writes are journaled so servicenow_revert_write can undo them. Other safeguards include a read-only mode, table and package policies, an SSRF guard and a host allow-list.

For code intelligence it can find every script, business rule, client script, UI policy and ACL that touches a field, trace the automation chain a table operation would trigger, and diff two named instances such as dev and prod with an exit code for CI. The README counts 100 tools in 28 packages, of which 20 load by default so the tool list stays small.

It supports basic, OAuth, API key and token authentication, and works against a free Personal Developer Instance. Node.js 22.12 or later is required, and installation is npm install -g servicenow-mcp-ai.

Install

Run in a terminal

claude mcp add servicenow-mcp-ai --env SN_INSTANCE='<SN_INSTANCE>' --env SN_PASSWORD='<SN_PASSWORD>' --env SN_API_KEY='<SN_API_KEY>' -- npx -y servicenow-mcp-ai

Add to claude_desktop_config.json

{
  "mcpServers": {
    "servicenow-mcp-ai": {
      "command": "npx",
      "args": [
        "-y",
        "servicenow-mcp-ai"
      ],
      "env": {
        "SN_INSTANCE": "<SN_INSTANCE>",
        "SN_PASSWORD": "<SN_PASSWORD>",
        "SN_API_KEY": "<SN_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "servicenow-mcp-ai": {
      "command": "npx",
      "args": [
        "-y",
        "servicenow-mcp-ai"
      ],
      "env": {
        "SN_INSTANCE": "<SN_INSTANCE>",
        "SN_PASSWORD": "<SN_PASSWORD>",
        "SN_API_KEY": "<SN_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "servicenow-mcp-ai": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "servicenow-mcp-ai"
      ],
      "env": {
        "SN_INSTANCE": "<SN_INSTANCE>",
        "SN_PASSWORD": "<SN_PASSWORD>",
        "SN_API_KEY": "<SN_API_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "servicenow-mcp-ai": {
      "command": "npx",
      "args": [
        "-y",
        "servicenow-mcp-ai"
      ],
      "env": {
        "SN_INSTANCE": "<SN_INSTANCE>",
        "SN_PASSWORD": "<SN_PASSWORD>",
        "SN_API_KEY": "<SN_API_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "servicenow-mcp-ai": {
      "command": "npx",
      "args": [
        "-y",
        "servicenow-mcp-ai"
      ],
      "env": {
        "SN_INSTANCE": "<SN_INSTANCE>",
        "SN_PASSWORD": "<SN_PASSWORD>",
        "SN_API_KEY": "<SN_API_KEY>"
      }
    }
  }
}

Configuration

  • SN_INSTANCEServiceNow instance host, e.g. dev12345.service-now.com.Required
  • SN_USERUsername for basic auth or the OAuth password grant.
  • SN_PASSWORDPassword for basic auth or the OAuth password grant.
  • SN_AUTHAuth mode: basic | oauth | apikey | token | none. Auto-detected from the keys present if omitted.
  • SN_API_KEYServiceNow API key, sent as the x-sn-apikey header (apikey auth).
  • SN_TOOL_PACKAGESWhich tool packages to expose, e.g. discovery (default), all, or a comma-separated list.

Tools this server provides (4)

Taken from the project documentation; the running server may differ.

servicenow_update_record
Update a record, previewing the change unless apply is set.
servicenow_revert_write
Undo a journaled record write.
snapshot_instance
Snapshot an instance's configuration.
compare_instances
Compare two instances to catch drift.

What it does

Previewed writes
Writes show a preview first and need apply to execute.
Plan tokens
Destructive applies require a single-use token.
Revertable journal
Record writes are logged and can be undone.
Find usages
Locate everything that references a field, as JSON or a Mermaid graph.
Automation trace
Show business rules, flows and notifications in execution order.
Instance diff
Compare tables, scripts and plugins between two instances.
Broad REST coverage
Table, Aggregate, Attachment, Import Set, Batch, CMDB, Catalog, Change and Knowledge APIs.

Good for

  • Reassign an incident after reviewing a preview
  • Find everything affected before changing a field
  • Check what a table update would trigger
  • Block a risky deploy when dev and prod drift

Pricing

Free

Free and local; no charge listed

Prices change. Check ivanbbaev.github.io before you buy.

Servicenow MCP Ai FAQ

Is it safe to let an AI write to ServiceNow?

Writes are previewed, destructive ones need a plan token, and record writes can be reverted from a journal.

What do I need to run it?

Node.js 22.12 or later and a reachable ServiceNow instance; a free PDI works.

Which auth methods work?

Basic, OAuth, API key and token.

How many tools are there?

100 in 28 packages, with 20 loaded by default.

Is Servicenow MCP Ai free?

Yes. Servicenow MCP Ai is free to use.

How do I add Servicenow MCP Ai to Claude Code?

Run this command in your terminal: claude mcp add servicenow-mcp-ai --env SN_INSTANCE='<SN_INSTANCE>' --env SN_PASSWORD='<SN_PASSWORD>' --env SN_API_KEY='<SN_API_KEY>' -- npx -y servicenow-mcp-ai

What are the best alternatives to Servicenow MCP Ai?

The closest alternatives to Servicenow MCP Ai are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to Servicenow MCP Ai

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools