servicenow-nodejs

v2.1.1
io.github.nickzitzer/servicenow-nodejs Checked 4 hours ago Published 1 year ago

Multi-instance ServiceNow MCP server with 40+ tools and intelligent schema discovery

Values you need

VariableWhat it is
SERVICENOW_INSTANCE_URLrequired ServiceNow instance URL (e.g., https://dev123456.service-now.com)
SERVICENOW_USERNAMErequired ServiceNow username
SERVICENOW_PASSWORDrequired secret ServiceNow password
SERVICENOW_AUTH_TYPEoptional Authentication type (default: basic)
SERVICENOW_INSTANCEoptional Specific instance name from config file (optional)

npm (npx) verified

Requires Node.js 18+

Run in a terminal
claude mcp add servicenow-nodejs -e 'SERVICENOW_INSTANCE_URL=<SERVICENOW_INSTANCE_URL>' -e 'SERVICENOW_PASSWORD=<SERVICENOW_PASSWORD>' -e 'SERVICENOW_USERNAME=<SERVICENOW_USERNAME>' -- npx -y servicenow-mcp-server@2.1.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "servicenow-nodejs": {
      "args": [
        "-y",
        "servicenow-mcp-server@2.1.1"
      ],
      "command": "npx",
      "env": {
        "SERVICENOW_INSTANCE_URL": "<SERVICENOW_INSTANCE_URL>",
        "SERVICENOW_PASSWORD": "<SERVICENOW_PASSWORD>",
        "SERVICENOW_USERNAME": "<SERVICENOW_USERNAME>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "servicenow-nodejs": {
      "args": [
        "-y",
        "servicenow-mcp-server@2.1.1"
      ],
      "command": "npx",
      "env": {
        "SERVICENOW_INSTANCE_URL": "<SERVICENOW_INSTANCE_URL>",
        "SERVICENOW_PASSWORD": "<SERVICENOW_PASSWORD>",
        "SERVICENOW_USERNAME": "<SERVICENOW_USERNAME>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "SERVICENOW_INSTANCE_URL",
      "id": "servicenow-instance-url",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "SERVICENOW_PASSWORD",
      "id": "servicenow-password",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "SERVICENOW_USERNAME",
      "id": "servicenow-username",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "servicenow-nodejs": {
      "args": [
        "-y",
        "servicenow-mcp-server@2.1.1"
      ],
      "command": "npx",
      "env": {
        "SERVICENOW_INSTANCE_URL": "${input:servicenow-instance-url}",
        "SERVICENOW_PASSWORD": "${input:servicenow-password}",
        "SERVICENOW_USERNAME": "${input:servicenow-username}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.servicenow-nodejs]
command = "npx"
args = ["-y", "servicenow-mcp-server@2.1.1"]
env = { "SERVICENOW_INSTANCE_URL" = "<SERVICENOW_INSTANCE_URL>", "SERVICENOW_PASSWORD" = "<SERVICENOW_PASSWORD>", "SERVICENOW_USERNAME" = "<SERVICENOW_USERNAME>" }

For AI agents

  1. Ask the user for: SERVICENOW_INSTANCE_URL, SERVICENOW_USERNAME, SERVICENOW_PASSWORD. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: SN-Set-Instance, SN-Get-Current-Instance, SN-Query-Table, SN-Create-Record, SN-Get-Record, SN-Update-Record, SN-Get-Table-Schema, SN-List-Available-Tables, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json