ServiceNow

io.github.mindstone由 GitHub 账号 mindstone 发布v0.3.1更新于 Oct 24, 2026

ServiceNow ITSM MCP server for Model Context Protocol hosts

概览

AI 生成的概览

ServiceNow ITSM 的 MCP 服务器,让助手查询与创建事件、变更请求、用户、知识库文章及服务目录条目。

可以做什么
配置 ServiceNow 实例凭据。查询、读取、创建与更新事件,并可追加工作备注或评论。查询与读取变更请求,或创建新的变更请求。搜索用户。搜索知识库文章并读取全文。列出或搜索服务目录条目并获取单个条目。
适用场景
适合让助手直接处理 ServiceNow ITSM 日常事务:查询与创建事件、查看或创建变更请求、搜索用户与知识库文章、浏览服务目录条目。当团队已用 ServiceNow 管理 IT 服务并希望以对话方式操作时值得加入。
运行要求
需在本机以 Node.js 20 以上运行,通过 npx 启动 npm 包。需设置 SERVICENOW_INSTANCE、SERVICENOW_USERNAME 与 SERVICENOW_PASSWORD;若实例强制 MFA/SSO,可改用 SERVICENOW_CLIENT_ID 与 SERVICENOW_CLIENT_SECRET 的 OAuth 2.0 客户端凭据流程。需能连接该 ServiceNow 实例。
安装前请注意
需提供 ServiceNow 账号密码或 OAuth 客户端密钥(SERVICENOW_PASSWORD、SERVICENOW_CLIENT_SECRET),请妥善保管。工具可创建与更新事件及变更请求,会向正式实例写入数据。助手取得的记录内容属第三方文本,虽有不受信任内容包装,仍应谨慎对待。

安装

在 SourceWeft 中

  1. 打开 控制台中的 ServiceNow,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

@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)
json
{  "mcpServers": {    "ServiceNow": {      "command": "npx",      "args": [        "-y",        "@mindstone/mcp-server-servicenow"      ],      "env": {        "SERVICENOW_INSTANCE": "",        "SERVICENOW_USERNAME": "",        "SERVICENOW_PASSWORD": "",        "SERVICENOW_CLIENT_SECRET": ""      }    }  }}

Quick Start

Install & build

bash
cd <path-to-repo>/connectors/servicenownpm installnpm run build

npx (once published)

bash
npx -y @mindstone/mcp-server-servicenow

Local

bash
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

json
{  "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)

json
{  "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.

来源:connectors/servicenow/README.md,提交 22c4611

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.3.1最新Sep 16, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。