ServiceNow MCP server β 65 tools over the full REST surface, every auth method, flows, diagrams.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Servicenow MCP AI.
allevery package below.
A Model Context Protocol server that lets an MCP client (VS Code, Claude Desktop, etc.) run commands against a ServiceNow instance through its REST APIs β Table, Aggregate, Attachment, Import Set, Batch and CMDB, plus the Service Catalog, Change Management and Knowledge plugin APIs. Credentials are kept in a local env file and can be updated at runtime through a tool.
Upgrading from 1.x? v2.0 makes writes plan-by-default:
create/update/deleteand the other record-write tools return a non-mutating preview unless you passapply: true(or setSN_WRITE_MODE=applyto restore the v1 "execute immediately" behaviour). See the CHANGELOG β 2.0.0 for the full migration note.
Contents: Quick demo Β· Features Β· Requirements Β· Setup Β· Configure credentials Β· Run / debug Β· Develop Β· Tools Β· Resources Β· Prompts Β· Project structure Β· Security notes Β· Project documentation Β· Support
Built and maintained in my own time β if it helps, a GitHub Sponsors tip keeps it going. Full Support options are near the end.
Three things the platform makes hard, one call each. Point your MCP client at an instance (Setup) and ask:
1. "Where is this field actually used?" β every script, business rule, client script, UI policy/action and ACL that touches it, as JSON or a Mermaid graph. The IDE-grade find usages ServiceNow has no button for:
2. "What runs when I save this record?" β the full automation chain in execution order (display β before β after β async business rules, then flows, workflows and notifications), each with its condition β a logical test that runs nothing:
3. "What drifted between dev and prod?" β a Markdown diff of tables, columns, scripts (by SHA-256) and plugins between two configured profiles, with a CI-friendly exit code so a pipeline can block a risky deploy:
All three are read-only and work against any instance β including a free PDI β with the model and client of your choice.
sys_db_object,
sys_dictionary).flows package β business rules, flows, workflows and
notifications, in order, with a Mermaid flowchart), read Flow Designer flows
and run history, and lint scripts against a local rule set with an aggregate
code-health report (codecheck). Run ATF tests via the CI/CD API (atf,
opt-in, non-default β the run tools execute on the instance).SN_TOOL_PACKAGES
(default profile core; all enables everything).Retry-After, SSRF
guard, and a result-size guard.~/.config, or SN_ENV_FILE), updatable
at runtime via servicenow_set_credentials.engines + a runtime guard with a clear message;
the project targets the version in .nvmrc).From source (for development):
Or run the published package directly, without cloning:
Register it with an MCP client (Claude Desktop, VS Code Chat, the Inspectorβ¦) by
pointing the server command at npx:
Claude Code plugin (zero-config β installs the server wired up):
VS Code β install the ServiceNow MCP extension from the Marketplace
(code --install-extension ivanbbaev.servicenow-mcp-ai); it registers the server
in Copilot Chat (agent mode) automatically, no manual mcp.json. Source:
extension/.
Credentials are read from ~/.config/servicenow-mcp-ai/.env (or real environment
variables) β see below.
The fastest path is three lines of Basic auth β set these (in the env file or the real environment) and you are connected:
Everything else is optional tuning; see the full Environment variables reference for the rest.
Past a quick try, prefer OAuth over a stored password. For anything shared or long-lived, run the one-time
npx servicenow-mcp-ai logininstead β it stores a refresh token, not your password. See Configure credentials β OAuth 2.1.
Once the three variables are set, confirm the connection before you start:
servicenow_test_connection tool β it reads one sys_user record and
reports ok, HTTP status and latency.servicenow_check_capabilities β it previews which admin-restricted sys_*
tables the connected user can actually read.Or do both from the shell in one shot:
Credentials live in .env at the project root (git-ignored):
SN_INSTANCE accepts dev12345, dev12345.service-now.com or a full https:// URL.
You can also set or change them at runtime by calling the
servicenow_set_credentials tool β the new values are written straight back to the env file.
The env file is resolved in this order: SN_ENV_FILE, then
~/.config/servicenow-mcp-ai/.env (XDG) if present, then the project-root .env.
A global/npx install therefore writes to your user config rather than into
node_modules. Real environment variables always take precedence over the file.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/servicenow-mcp-ai-2)<a href="https://allmcps.com/mcp/servicenow-mcp-ai-2"><img src="https://allmcps.com/api/badge/servicenow-mcp-ai-2?style=directory" alt="Servicenow MCP AI on AllMCPs" /></a>