Skip to content
VS Code

servicenow nodejs for VS Code

io.github.nickzitzer/servicenow-nodejs

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

client:VS Code transport:stdio runtime:npm

Install servicenow nodejs in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "servicenow-instance-url",
      "description": "SERVICENOW_INSTANCE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "servicenow-username",
      "description": "SERVICENOW_USERNAME",
      "password": true
    },
    {
      "type": "promptString",
      "id": "servicenow-password",
      "description": "SERVICENOW_PASSWORD",
      "password": true
    },
    {
      "type": "promptString",
      "id": "servicenow-auth-type",
      "description": "SERVICENOW_AUTH_TYPE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "servicenow-instance",
      "description": "SERVICENOW_INSTANCE",
      "password": true
    }
  ],
  "servers": {
    "servicenow-nodejs": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "servicenow-mcp-server"
      ],
      "env": {
        "SERVICENOW_INSTANCE_URL": "${input:servicenow-instance-url}",
        "SERVICENOW_USERNAME": "${input:servicenow-username}",
        "SERVICENOW_PASSWORD": "${input:servicenow-password}",
        "SERVICENOW_AUTH_TYPE": "${input:servicenow-auth-type}",
        "SERVICENOW_INSTANCE": "${input:servicenow-instance}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

servicenow nodejs in other clients