跳到正文
FunCoding

ServiceNow

官方 MCP Registry 已收录

ServiceNow ITSM MCP server for Model Context Protocol hosts

Star
15
分类
其他
版本
v0.3.1
最近提交
2026年11月30日

@mindstone/mcp-server-servicenow

npm version License: FSL-1.1-MIT

ServiceNow ITSM MCP server for Model Context Protocol hosts. Manage incidents, change requests, users, and knowledge base articles in ServiceNow through a standardised MCP interface.

Status

  • Version: 0.3.1 · npm
  • Auth: Basic auth (username + password) or OAuth 2.0 client credentials (SERVICENOW_PASSWORD)
  • Tools: 13 (incidents, change-requests, users, knowledge, service-catalog)
  • Surface: cloud-api
  • Machine-readable: STATUS.json

Requirements

  • Node.js 20+
  • npm

One-click install

Add to Cursor Add to VS Code Add to VS Code Insiders

After clicking the button, your host will prompt you to fill: SERVICENOW_INSTANCE, SERVICENOW_USERNAME, SERVICENOW_PASSWORD, SERVICENOW_CLIENT_SECRET.

Manual config for Claude Desktop / Claude Code / Goose / Continue.dev (ServiceNow)
{
  "mcpServers": {
    "ServiceNow": {
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-servicenow"
      ],
      "env": {
        "SERVICENOW_INSTANCE": "",
        "SERVICENOW_USERNAME": "",
        "SERVICENOW_PASSWORD": "",
        "SERVICENOW_CLIENT_SECRET": ""
      }
    }
  }
}

Quick Start

Install & build

cd <path-to-repo>/connectors/servicenow
npm install
npm run build

npx (once published)

npx -y @mindstone/mcp-server-servicenow

Local

node dist/index.js

Configuration

Environment variables

  • SERVICENOW_INSTANCE — ServiceNow instance name (e.g. acme for acme.service-now.com)
  • SERVICENOW_USERNAME — ServiceNow username
  • SERVICENOW_PASSWORD — ServiceNow password
  • SERVICENOW_CLIENT_ID — optional OAuth 2.0 client ID (alternative to username/password; see below)
  • SERVICENOW_CLIENT_SECRET — optional OAuth 2.0 client secret
  • MCP_HOST_BRIDGE_STATE — optional path to a host bridge state file used for credential management
  • MINDSTONE_REBEL_BRIDGE_STATE — backwards-compatible alias for MCP_HOST_BRIDGE_STATE

OAuth 2.0 (client credentials)

Instances that enforce MFA/SSO often disable basic auth. As an alternative, the connector supports the OAuth 2.0 client credentials grant:

  1. On the instance, enable the inbound client credentials grant (system property glide.oauth.inbound.client.credential.grant_type.enabled = true).
  2. Create an entry under System OAuth → Application Registry → New → Create an OAuth API endpoint for external clients and note the client ID and secret.
  3. Set SERVICENOW_INSTANCE, SERVICENOW_CLIENT_ID, and SERVICENOW_CLIENT_SECRET (leave username/password unset).

Tokens are fetched from the instance's oauth_token.do endpoint and cached until shortly before expiry. When both auth methods are configured, basic auth takes precedence.

Host configuration examples

Claude Desktop / Cursor

{
  "mcpServers": {
    "ServiceNow": {
      "command": "npx",
      "args": ["-y", "@mindstone/mcp-server-servicenow"],
      "env": {
        "SERVICENOW_INSTANCE": "your-instance",
        "SERVICENOW_USERNAME": "your-username",
        "SERVICENOW_PASSWORD": "your-password"
      }
    }
  }
}

Local development (no npm publish needed)

{
  "mcpServers": {
    "ServiceNow": {
      "command": "node",
      "args": ["<path-to-repo>/connectors/servicenow/dist/index.js"],
      "env": {
        "SERVICENOW_INSTANCE": "your-instance",
        "SERVICENOW_USERNAME": "your-username",
        "SERVICENOW_PASSWORD": "your-password"
      }
    }
  }
}

Tools (13)

Configuration

  • configure_servicenow — Configure ServiceNow instance credentials

Incidents

  • list_servicenow_incidents — List or search incidents
  • get_servicenow_incident — Get a single incident by number or sys_id
  • create_servicenow_incident — Create a new incident
  • update_servicenow_incident — Update an existing incident (including appending work_notes / comments journal entries)

Change requests

  • list_servicenow_change_requests — List or search change requests
  • get_servicenow_change_request — Get a single change request by number or sys_id
  • create_servicenow_change_request — Create a new change request

Users

  • list_servicenow_users — List or search users

Knowledge base

  • search_servicenow_knowledge — Search knowledge base articles
  • get_servicenow_knowledge_article — Get a full knowledge base article

Service catalog

  • list_servicenow_catalog_items — List or search service catalog items
  • get_servicenow_catalog_item — Get a single catalog item by sys_id

Security

All external text returned by ServiceNow (record descriptions, work notes, user names, article bodies, and any custom fields) is wrapped in <untrusted-content source="servicenow:...">...</untrusted-content> envelopes with close-tag breakout escaping before it reaches the model, so third-party content is treated as data, not instructions. Identifiers (sys_id, number), timestamps, and choice-list display values are left literal so they can be copied into follow-up tool calls.

Licence

FSL-1.1-MIT — Functional Source License, Version 1.1, with MIT future licence. The software converts to MIT licence on 2030-04-08.

同类 MCP Server

官方

Everything

Reference server that exercises every MCP feature: tools, resources, prompts, sampling and more

MOmodelcontextprotocol/servers92k近 7 天新增 190 个 star

官方

Time

Current time lookup and conversion between IANA timezones

MOmodelcontextprotocol/servers92k近 7 天新增 190 个 star

官方

Context7

Up-to-date docs for AI agents

UPupstash/context766k近 7 天新增 288 个 star

Reactive Resume

Free open-source resume builder with remote MCP tools for resumes and job applications.

REreactive-resume/reactive-resume46k近 7 天新增 207 个 star

mcp-server

Puter MCP enables AI tools to interact with Puter: manage files, websites, workers, and more

HEHeyPuter/puter44k近 7 天新增 50 个 star