Skip to content
VS Code

ServiceNow for VS Code

io.github.mindstone/mcp-server-servicenow

ServiceNow ITSM MCP server for Model Context Protocol hosts

client:VS Code transport:stdio runtime:npm

Install ServiceNow in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "servicenow-instance",
      "description": "SERVICENOW_INSTANCE",
      "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-client-id",
      "description": "SERVICENOW_CLIENT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "servicenow-client-secret",
      "description": "SERVICENOW_CLIENT_SECRET",
      "password": true
    }
  ],
  "servers": {
    "mcp-server-servicenow": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-servicenow"
      ],
      "env": {
        "SERVICENOW_INSTANCE": "${input:servicenow-instance}",
        "SERVICENOW_USERNAME": "${input:servicenow-username}",
        "SERVICENOW_PASSWORD": "${input:servicenow-password}",
        "SERVICENOW_CLIENT_ID": "${input:servicenow-client-id}",
        "SERVICENOW_CLIENT_SECRET": "${input:servicenow-client-secret}"
      }
    }
  }
}

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

ServiceNow in other clients