经 AI Skill Hub 精选评估,ServiceNow MCP 获评「强烈推荐」。这款MCP工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 8.0 分,适合有一定技术背景的用户使用。
ServiceNow MCP 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
ServiceNow MCP 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/dariomba/veldev-servicenow-mcp
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"servicenow-mcp": {
"command": "npx",
"args": ["-y", "veldev-servicenow-mcp"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 ServiceNow MCP 执行以下任务... Claude: [自动调用 ServiceNow MCP MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"servicenow_mcp": {
"command": "npx",
"args": ["-y", "veldev-servicenow-mcp"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
An open-source Model Context Protocol server for ServiceNow. Connect any MCP-compatible AI client (Claude, Cursor, VS Code, etc.) to your ServiceNow instance and interact with it in plain English.
Built and maintained by Veldev — an AI assistant for ServiceNow developers.
---
73 tools across 14 domains:
| Domain | What it covers |
|---|---|
| **Catalog (read)** | Browse items, get full definitions with variables, UI policies, client scripts, user criteria, variable sets |
| **Catalog (write)** | Create items, add/update variables, manage variable sets, attach user criteria |
| **Record producers** | Create and update record producers (catalog forms that generate records in any table) |
| **UI policies** | Create and update catalog UI policies and their actions |
| **Client scripts (catalog)** | Create and manage catalog client scripts |
| **Script includes** | Create reusable server-side script includes |
| **Business rules** | Create business rules with before/after/async modes |
| **Client scripts (form)** | Create and update table client scripts (sys_script_client) — onLoad / onChange / onSubmit / onCellEdit |
| **Update sets** | Show the active update set, list update sets by state/scope/name, create a new set, and switch the current set for the authenticated user |
| **Background scripts** | Schedule server-side JavaScript snippets via sys_trigger |
| **Fix scripts** | Create, update, and run sys_script_fix records — stored server-side scripts for data and config repairs |
| **Scheduled jobs** | Create, update, list, get, and run-now scheduled jobs (sysauto) — script executions, scheduled emails of reports, and template-based record generation |
| **Events** | Register events (sysevent_register), create custom processing queues (sysevent_queue) and script actions (sysevent_script_action), fire events at runtime via gs.eventQueue(), and list/get any of them |
| **Generic Table CRUD** | Query, fetch, create, and update records in any ServiceNow table |
| **ATF (Automated Test Framework)** | Create tests and suites, add and configure steps with cross-step output mapping, browse step configs and their input/output schemas |
---
No prebuilt image is published yet — build it from the included Dockerfile:
git clone https://github.com/dariomba/veldev-servicenow-mcp.git
cd veldev-servicenow-mcp
docker build -t veldev-servicenow-mcp .
docker run -p 3000:3000 \
-e SN_INSTANCE=https://your-instance.service-now.com \
-e SN_USERNAME=admin \
-e SN_PASSWORD=yourpassword \
veldev-servicenow-mcp
---
List all active catalog items in the "Hardware" category
Get the full definition of the "Laptop Request" catalog item, including variables and UI policies
What client scripts are on the New Employee Onboarding item?
Create a new catalog item called "VPN Access Request" with a text variable for business justification
Create a business rule on incident that sets priority to 1 when impact and urgency are both 1
Create an onLoad client script on incident that shows an info message when the priority is 1 - Critical
Create a record producer called "New Hire Equipment" that generates an sc_req_item record, with a pre-insert script that maps the selected laptop model to the item field
Create a fix script called "Backfill Incident SLAs" that queries all incidents missing an SLA and sets a default one
Run the fix script with sys_id 18f9eee1c3d1479043e1fc0d0501315e
Register an event "x_acme.contract.signed" on a custom queue, then create a script action that emails the account owner when it fires
Create an update set called "VPN Catalog Work" and make it my current set
List my in-progress update sets, then switch to "VPN Catalog Work"
Create an ATF test that submits the "VPN Access Request" catalog item and verifies the generated request record, mapping the record from the submit step into a server-side validation step
---
```bash git clone https://github.com/dariomba/veldev-servicenow-mcp.git cd veldev-servicenow-mcp npm install
cp .env.example .env
Copy .env.example to .env to configure.
| Variable | Required | Default | Description |
|---|---|---|---|
SN_INSTANCE | ✅ | — | Full URL e.g. https://dev12345.service-now.com |
SN_AUTH_TYPE | ❌ | basic | basic or oauth |
SN_USERNAME | ✅ | — | ServiceNow username |
SN_PASSWORD | ✅ | — | ServiceNow password |
SN_CLIENT_ID | ✅ | — | OAuth client ID from Application Registry |
SN_CLIENT_SECRET | ✅ | — | OAuth client secret |
SN_GRANT_TYPE | ❌ | password | password or client_credentials |
PORT | ❌ | 3000 | HTTP port |
TRANSPORT | ❌ | http | http or stdio |
CREDENTIAL_PROVIDER | ❌ | env | env (dev) or header (gateway mode) |
GATEWAY_SECRET | ❌ | — | Required when CREDENTIAL_PROVIDER=header |
ALLOWED_ORIGIN | ❌ | * in dev | CORS origin for HTTP transport |
ACCESS_ENFORCEMENT | ❌ | off | on or off. Gateway mode only: when on, write tools require the access header with value write on each request (default-deny). Env/stdio servers always behave as write. |
ACCESS_HEADER | ❌ | x-mcp-access | Header carrying the per-request access value (write grants write; anything else is read) |
TOOLSETS_HEADER | ❌ | x-mcp-toolsets | Header naming the toolsets a new session registers (gateway mode only) — see [Gateway headers](#gateway-headers) |
¹ Required when SN_AUTH_TYPE=basic or SN_GRANT_TYPE=password ² Required when SN_AUTH_TYPE=oauth
Free PDI: Don't have a ServiceNow instance? Get a free Personal Developer Instance at developer.servicenow.com.
---
```
For clients that spawn the server as a subprocess, create a .mcp.json file in your project root:
{
"mcpServers": {
"servicenow": {
"command": "node",
"args": ["/path/to/veldev-servicenow-mcp/build/index.js"],
"env": {
"TRANSPORT": "stdio",
"SN_INSTANCE": "https://your-instance.service-now.com",
"SN_USERNAME": "admin",
"SN_PASSWORD": "yourpassword"
}
}
}
}
Or run from source (no build step needed):
{
"mcpServers": {
"servicenow": {
"command": "npx",
"args": ["tsx", "src/index.ts"],
"cwd": "/path/to/veldev-servicenow-mcp",
"env": {
"TRANSPORT": "stdio",
"SN_INSTANCE": "https://your-instance.service-now.com",
"SN_USERNAME": "admin",
"SN_PASSWORD": "yourpassword"
}
}
}
}
---
高质量的ServiceNow MCP工具,值得使用
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
AI Skill Hub 点评:ServiceNow MCP 的核心功能完整,质量优秀。对于Claude Desktop / Claude Code 用户来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | veldev-servicenow-mcp |
| 原始描述 | 开源MCP工具:ServiceNow MCP server by Veldev. Read and write catalog items, UI policies, clie。⭐8 · TypeScript |
| Topics | ServiceNowMCPTypeScript |
| GitHub | https://github.com/dariomba/veldev-servicenow-mcp |
| License | MIT |
| 语言 | TypeScript |
收录时间:2026-06-13 · 更新时间:2026-06-13 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端