# ServiceNow

Wires ServiceNow ITSM into your coding agent so it can pull incidents, change requests, users and knowledge articles without leaving the chat.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 13
- Author: mindstone
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/mindstone/mcp-servers/tree/HEAD/connectors/servicenow
- Updated: 2026-10-22
- HTML: https://affpapa.org/en/nevibecode/mcp/servicenow

## What it does

This MCP server from mindstone exposes 13 tools for ServiceNow ITSM. An agent can search and create incidents, update them with entries in `work_notes` and `comments`, work with change requests, users, the knowledge base and the service catalog. Calls go to the instance's cloud API.

Two auth paths exist: basic auth with a username and password, or the OAuth 2.0 client credentials grant. The second one matters on instances that enforce MFA or SSO and have basic auth switched off. Setting it up means enabling the inbound client credentials grant, registering an application under System OAuth, then supplying `SERVICENOW_INSTANCE`, `SERVICENOW_CLIENT_ID` and `SERVICENOW_CLIENT_SECRET`. When both are configured, basic auth wins. Tokens come from `oauth_token.do` and are cached until just before they expire.

Node.js 20+ and npm are required. Text coming back from ServiceNow — record descriptions, work notes, user names, article bodies — gets wrapped in `<untrusted-content source="servicenow:...">` envelopes with close-tag escaping, so third-party content reaches the model as data rather than instructions. Identifiers and timestamps stay literal, which lets you pass them straight into the next tool call.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `SERVICENOW_INSTANCE`, `SERVICENOW_USERNAME`, `SERVICENOW_PASSWORD`, `SERVICENOW_CLIENT_ID`, `SERVICENOW_CLIENT_SECRET` — keys and tokens: ask the human for the values, never commit them or put them in shared files.
- Works with: ServiceNow

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env SERVICENOW_INSTANCE=<SERVICENOW_INSTANCE> --env SERVICENOW_USERNAME=<SERVICENOW_USERNAME> --env SERVICENOW_PASSWORD=<SERVICENOW_PASSWORD> --env SERVICENOW_CLIENT_ID=<SERVICENOW_CLIENT_ID> --env SERVICENOW_CLIENT_SECRET=<SERVICENOW_CLIENT_SECRET> --transport stdio servicenow -- npx -y @mindstone/mcp-server-servicenow
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add servicenow --env SERVICENOW_INSTANCE=<SERVICENOW_INSTANCE> --env SERVICENOW_USERNAME=<SERVICENOW_USERNAME> --env SERVICENOW_PASSWORD=<SERVICENOW_PASSWORD> --env SERVICENOW_CLIENT_ID=<SERVICENOW_CLIENT_ID> --env SERVICENOW_CLIENT_SECRET=<SERVICENOW_CLIENT_SECRET> -- npx -y @mindstone/mcp-server-servicenow
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "servicenow": {
            "command": "npx",
            "args": [
                "-y",
                "@mindstone/mcp-server-servicenow"
            ],
            "env": {
                "SERVICENOW_INSTANCE": "<SERVICENOW_INSTANCE>",
                "SERVICENOW_USERNAME": "<SERVICENOW_USERNAME>",
                "SERVICENOW_PASSWORD": "<SERVICENOW_PASSWORD>",
                "SERVICENOW_CLIENT_ID": "<SERVICENOW_CLIENT_ID>",
                "SERVICENOW_CLIENT_SECRET": "<SERVICENOW_CLIENT_SECRET>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "servicenow": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@mindstone/mcp-server-servicenow"
            ],
            "env": {
                "SERVICENOW_INSTANCE": "<SERVICENOW_INSTANCE>",
                "SERVICENOW_USERNAME": "<SERVICENOW_USERNAME>",
                "SERVICENOW_PASSWORD": "<SERVICENOW_PASSWORD>",
                "SERVICENOW_CLIENT_ID": "<SERVICENOW_CLIENT_ID>",
                "SERVICENOW_CLIENT_SECRET": "<SERVICENOW_CLIENT_SECRET>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e SERVICENOW_INSTANCE=<SERVICENOW_INSTANCE> -e SERVICENOW_USERNAME=<SERVICENOW_USERNAME> -e SERVICENOW_PASSWORD=<SERVICENOW_PASSWORD> -e SERVICENOW_CLIENT_ID=<SERVICENOW_CLIENT_ID> -e SERVICENOW_CLIENT_SECRET=<SERVICENOW_CLIENT_SECRET> servicenow npx -y @mindstone/mcp-server-servicenow
```
Replace <…> with your own values

## When to use it
- look up an incident by number or sys_id and check its state
- file an incident straight from a conversation with the agent
- append a work note to an incident that is already open
- open a change request and attach it to a release
- find a knowledge base article that matches a symptom

## Example prompts
- List every open ServiceNow incident mentioning VPN and show me the numbers
- Create an incident: a user cannot open their mail client, medium priority
- Add a work note to that incident saying the issue reproduces on the test bench

## Similar
- [ServiceNow MCP Server](https://affpapa.org/en/nevibecode/mcp/servicenow-mcp-server.md) — MCP server · ★ 26
- [ServiceNow MCP Server (NowAIKit)](https://affpapa.org/en/nevibecode/mcp/servicenow-mcp-server-nowaikit.md) — MCP server · ★ 264
- [servicenow-nodejs](https://affpapa.org/en/nevibecode/mcp/servicenow-nodejs.md) — MCP server · ★ 56
- [dt-alerting](https://affpapa.org/en/nevibecode/skills/dt-alerting.md) — skill · 1800 installs
- [workflow-automation](https://affpapa.org/en/nevibecode/skills/joellewis-workflow-automation.md) — skill · 646 installs
- [openstatus](https://affpapa.org/en/nevibecode/mcp/openstatus.md) — MCP server · ★ 9235

From the same set: [mindstone/mcp-servers](https://affpapa.org/en/nevibecode/by/mindstone/mcp-servers.md) — 13 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
