SN-MCP-Server
MCP server by ImJaineel Community
Gives AI assistants read-only access to ServiceNow across multiple instances. Built for developers who need to query tables, inspect scripts and workflows, and search ServiceNow Docs.
Install SN-MCP-Server
Built from the published package, never by AI.
claude mcp add sn-mcp-server -e SN_INSTANCE_CONFIG=YOUR_SN_INSTANCE_CONFIG -- npx -y @imjaineel-dev/sn-mcp-serverRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"sn-mcp-server": {
"env": {
"SN_INSTANCE_CONFIG": "YOUR_SN_INSTANCE_CONFIG"
},
"args": [
"-y",
"@imjaineel-dev/sn-mcp-server"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"sn-mcp-server": {
"env": {
"SN_INSTANCE_CONFIG": "YOUR_SN_INSTANCE_CONFIG"
},
"args": [
"-y",
"@imjaineel-dev/sn-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"sn-mcp-server": {
"env": {
"SN_INSTANCE_CONFIG": "YOUR_SN_INSTANCE_CONFIG"
},
"args": [
"-y",
"@imjaineel-dev/sn-mcp-server"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add sn-mcp-server --env SN_INSTANCE_CONFIG=YOUR_SN_INSTANCE_CONFIG -- npx -y @imjaineel-dev/sn-mcp-server{
"mcpServers": {
"sn-mcp-server": {
"env": {
"SN_INSTANCE_CONFIG": "YOUR_SN_INSTANCE_CONFIG"
},
"args": [
"-y",
"@imjaineel-dev/sn-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add sn-mcp-server npx -y @imjaineel-dev/sn-mcp-serverGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the sn-mcp-server block.
About
SN-MCP-Server is a read-only Model Context Protocol server for ServiceNow. It connects an AI assistant to several ServiceNow instances, such as Prod, Dev, Test and PDI, through one sn-instance.json configuration file. Each instance can use Basic Auth or OAuth 2.0 with the Client Credentials, Password, Authorization Code or JWT Bearer grant.
The server provides tools for querying tables, running aggregate queries, resolving records by number or sys_id, and inspecting table schemas. It also reads identity data, scripted artifacts, legacy workflows and Flow Designer artifacts, and searches ServiceNow Docs by release branch. It is aimed at developers and AI workflows that need visibility into ServiceNow. It can be run with npx or from a local clone, and each run writes a log file to the OS temp folder.
Written from the project's README and checked against it.
Tools it gives your assistant
sn_list_instancesLists all configured instances with their aliases, labels, and URLs.sn_query_tableReads any ServiceNow table with encoded queries, fields, paging, and display values.sn_aggregate_tableRuns aggregate queries such as count, sum, avg, min, and max.sn_get_recordResolves and fetches a record by sys_id, record number, task table, or CMDB CI class.sn_inspect_tableInspects a table schema or searches for matching tables by name or label.sn_get_identityQueries users, groups, and group membership from identity tables.sn_code_searchSearches scripting artifacts using the native ServiceNow Code Search API.sn_get_scripted_artifactsFetches Script Includes, Business Rules, Client Scripts, UI Actions and more.sn_get_workflow_studio_artifactsFetches Workflow Studio and Flow Designer artifacts from sys_hub_* tables.sn_read_docsSearches, browses, and reads ServiceNowDocs markdown by release branch.
What you need
- Node.js
- A ServiceNow instance with Basic Auth or OAuth 2.0 credentials
- sn-instance.json configuration file
- Optional: now-sdk installed globally for sn_sdk_explain
- Optional: GitHub Personal Access Token for sn_read_docs branch lookup
| Setting | Needed | What it is |
|---|---|---|
SN_Environment variable | Required | Path to `sn-instance.json` file that contains ServiceNow instance credentials |
SN_Environment variable | Optional | Optional: Enable verbose logging for debugging |
SN_Environment variable | Optional | Optional: Preferred log directory (defaults to current working directory) |
GITHUB_Environment variable, secret | Optional | Optional: GitHub Personal Access Token for `sn_read_docs` (branch lookup and GitHub search) |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Query active incidents on the dev instance, limited to 5 results
- Count incidents grouped by priority on the prod instance
- Find the record INC0012345 and show its details
Good to know
- Read-only by design, so it does not change ServiceNow data.
- sn_sdk_explain is only available when now-sdk is installed and runs successfully.
- Instance tools are hidden when the server starts without sn-instance.json.
- GitHub search and branch lookup in sn_read_docs use the GITHUB_TOKEN variable.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to SN-MCP-Server
All alternatives →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
Compare with GitDiagram, mockserver or XcodeBuildMCP
SN-MCP-Server: common questions
Can this MCP server change data in ServiceNow?
No. The source describes it as read-only by design and says it is safe on production instances.
Can I connect to more than one ServiceNow instance?
Yes. The server supports multiple instances such as Prod, Dev, Test and PDI in one configuration, and each tool call can target an instance by alias.
Which authentication methods are supported?
The source lists Basic Auth and OAuth 2.0, with Client Credentials, Password, Authorization Code and JWT Bearer grant types.
How do I install SN-MCP-Server?
In Claude Code run claude mcp add sn-mcp-server -e SN_INSTANCE_CONFIG=YOUR_SN_INSTANCE_CONFIG -- npx -y @imjaineel-dev/sn-mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is SN-MCP-Server the official server?
SN-MCP-Server is a community project by ImJaineel, not verified by a company domain.
Is SN-MCP-Server free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is SN-MCP-Server safe to use?
It scores 51 of 100. Grades: maintenance C, licence F, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to SN-MCP-Server?
Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.
Does SN-MCP-Server work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
