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 分

    請在儲存庫或註冊中心條目中宣告授權條款。