@onlyflows/servicenow-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@onlyflows/servicenow-mcpshow me all critical incidents from last week"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@onlyflows/servicenow-mcp
The most comprehensive ServiceNow MCP server. 17 tools for full CRUD, CMDB graph traversal, background scripts, ATF testing, and more.
Built by OnlyFlows · Published by @onlyflowstech
Why This MCP Server?
Most ServiceNow MCP integrations are read-only and support a handful of tables. This one gives your AI assistant full access to the ServiceNow platform:
Feature | Others | @onlyflows/servicenow-mcp |
Query records | ✅ | ✅ |
Create records | ❌ | ✅ |
Update records | ❌ | ✅ |
Delete records | ❌ | ✅ (with safety confirm) |
Bulk operations | ❌ | ✅ (dry-run by default) |
Aggregations (COUNT/AVG/MIN/MAX/SUM) | ❌ | ✅ |
Table schema introspection | ❌ | ✅ |
CMDB relationship traversal | ❌ | ✅ (recursive, configurable depth) |
Instance health monitoring | ❌ | ✅ (version, nodes, jobs, stats) |
Attachment management | ❌ | ✅ (list, upload, download) |
System log queries | ❌ | ✅ |
Code search across artifacts | ❌ | ✅ |
Table/app/plugin discovery | ❌ | ✅ |
ATF test execution | ❌ | ✅ |
Natural language interface | ❌ | ✅ |
Background scripts | ❌ | ✅ (with Playwright) |
Total tools | 1–3 | 17 |
Related MCP server: snow-mcp
Quick Start
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"servicenow": {
"command": "npx",
"args": ["-y", "@onlyflows/servicenow-mcp"],
"env": {
"SN_INSTANCE": "https://yourinstance.service-now.com",
"SN_USER": "your_username",
"SN_PASSWORD": "your_password"
}
}
}
}Cursor
Add to your Cursor MCP settings (.cursor/mcp.json):
{
"mcpServers": {
"servicenow": {
"command": "npx",
"args": ["-y", "@onlyflows/servicenow-mcp"],
"env": {
"SN_INSTANCE": "https://yourinstance.service-now.com",
"SN_USER": "your_username",
"SN_PASSWORD": "your_password"
}
}
}
}Windsurf
Add to your Windsurf MCP configuration:
{
"mcpServers": {
"servicenow": {
"command": "npx",
"args": ["-y", "@onlyflows/servicenow-mcp"],
"env": {
"SN_INSTANCE": "https://yourinstance.service-now.com",
"SN_USER": "your_username",
"SN_PASSWORD": "your_password"
}
}
}
}VS Code (Copilot)
Add to .vscode/mcp.json:
{
"servers": {
"servicenow": {
"command": "npx",
"args": ["-y", "@onlyflows/servicenow-mcp"],
"env": {
"SN_INSTANCE": "https://yourinstance.service-now.com",
"SN_USER": "your_username",
"SN_PASSWORD": "your_password"
}
}
}
}Tools Reference
Core CRUD
Tool | Description |
| Query any table with encoded queries, field selection, pagination, sorting |
| Get a single record by sys_id |
| Create a new record on any table |
| Update an existing record (PATCH) |
| Delete a record (requires |
| Bulk update/delete with dry-run safety (requires |
Analytics & Schema
Tool | Description |
| COUNT, AVG, MIN, MAX, SUM with grouping |
| Table field definitions, types, references |
| Instance version, cluster nodes, stuck jobs, key stats |
CMDB & Operations
Tool | Description |
| CMDB CI graph traversal — upstream/downstream/both, configurable depth |
| List, download, upload attachments |
| Query system logs with severity/source/time filters |
| Search business rules, script includes, client scripts, etc. |
| Discover tables, scoped apps, store apps, plugins |
Testing & Automation
Tool | Description |
| Run ATF tests and suites, get results |
| Natural language → ServiceNow API calls |
| Execute background scripts (requires Playwright) |
Environment Variables
Variable | Required | Default | Description |
| ✅ | — | Instance URL (e.g. |
| ✅ | — | ServiceNow username |
| ✅ | — | ServiceNow password |
| ❌ |
| Default display value mode ( |
| ❌ |
| Default CMDB relationship traversal depth |
Usage Examples
Once connected, your AI assistant can:
Query incidents:
"Show me all P1 incidents assigned to the Network team"
Create a record:
"Create an incident for VPN outage affecting 50 users, P2, assign to Network Operations"
Aggregate data:
"How many incidents are there grouped by priority?"
Check health:
"Run a health check on our ServiceNow instance"
CMDB traversal:
"Show all upstream dependencies for the email-server-01 CI"
Schema introspection:
"What fields are on the change_request table?"
Code search:
"Find all business rules that reference GlideRecord('incident')"
ATF testing:
"Run ATF test suite abc123 and wait for results"
Safety Features
This server is designed for production use with multiple safety layers:
Delete operations require explicit
confirm: trueBatch operations run in dry-run mode by default — shows match count without making changes
Bulk deletes require both
confirmandforceflagsBackground scripts require
confirmfor destructive keywords (deleteRecord,deleteMultiple, etc.)Natural language writes require
execute: true(reads execute immediately)
Development
# Clone
git clone https://github.com/onlyflowstech/servicenow-mcp.git
cd servicenow-mcp
# Install & build
npm install
npm run build
# Run locally
SN_INSTANCE=https://yourinstance.service-now.com \
SN_USER=your_user \
SN_PASSWORD=your_pass \
node dist/index.js
# Watch mode
npm run devTesting with MCP Inspector
npx @modelcontextprotocol/inspector node dist/index.jsRoadmap
SSE transport for remote hosting
OAuth 2.0 authentication support
sn_script full implementation with Playwright (SNS-39)
Streaming for large result sets
Caching for schema and relationship lookups
License
MIT © OnlyFlows
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityAmaintenanceThe most advanced & comprehensive ServiceNow MCP server — 150+ production-ready tools across 17 modules (ITSM, ITOM, HRSD, CSM, SecOps, GRC, Agile, ATF, Flow Designer, Now Assist, and more). Supports multi-instance management, four-tier permission control, 10 role-based tool packages, OAuth 2.0 + Basic Auth, and integrates with Claude, GPT-4o, Gemini, Cursor, VS Code, and Codex.Last updated100469228Inno Setup
- Alicense-qualityDmaintenanceA comprehensive MCP server for ServiceNow that provides over 60 pre-built tools for ITSM, ITOM, and App Dev operations, enabling AI agents to manage incidents, changes, users, service catalog, and projects through a unified interface.Last updated6MIT
- Alicense-qualityAmaintenanceA metadata-driven MCP server that auto-generates 480+ tools across 160+ ServiceNow tables, with multi-instance support, natural language search, and local script development.Last updated34352Apache 2.0
- Alicense-qualityBmaintenanceA lightweight MCP server that gives AI coding assistants full development capability on ServiceNow through the Table API, enabling CRUD and script execution without local installation.Last updated21MIT
Related MCP Connectors
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
MCP server for AI access to SmartBear tools, including BugSnag, Reflect, Swagger, PactFlow, QTM4J.
Security-first WordPress MCP server. 129 tools for Claude, ChatGPT, Gemini. Free on wp.org.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/onlyflowstech/servicenow-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server