Multi-instance ServiceNow MCP server with 40+ tools and intelligent schema discovery
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
💡 Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Model Context Protocol Server for the ServiceNow® Platform
A metadata-driven MCP server that auto-generates 480+ tools across 160+ tables, with multi-instance support, natural language search, and local script development.
Website | GitHub | npm | Tools | Contributing | Support
Migrating from
servicenow-mcp-server? The npm package has been renamed tohappy-platform-mcpand the Docker image tonczitzer/happy-platform-mcp. The old names are deprecated but will continue to work temporarily. Update your dependencies:
If you find this project useful, consider supporting its development. Contributions support Happy Technologies LLC.
sys_triggerOr install globally:
After a global install, happy-platform-mcp with no arguments starts the
stdio MCP server:
An MCP host can use the global command:
Or use npx with command: "npx" and args: ["-y", "happy-platform-mcp"].
From a source checkout, use node src/stdio-server.js; source CLI commands
use node src/cli.js instance ....
Recommended: register metadata with the local CLI
The CLI inherits the environment of the process that launches it. The CLI
does not auto-load .env; .env loading applies to the server/stdio
process only. For CLI use, export HAPPY_CONFIG_PATH in the shell (or set it
in the MCP host environment when the host launches the CLI). The actual
default registry path on every OS is
<homedir>/.config/happy-platform-mcp/instances.json, using native path
separators for that OS.
Credentials are prompted locally, masked, and stored in the operating system
keychain. A new CLI-written version 1 registry contains instance metadata and
canonical credentialRef values only; it does not contain plaintext
credentials. Legacy plaintext registry files are read-only compatibility
inputs, and the singular SERVICENOW_* environment fallback is retained only
for backward compatibility.
instance add prompts once for the credentials required by the selected auth
mode and stores them before registering metadata. instance credential set is
only for rotating an existing credential or completing a metadata-only MCP
registration. instance update changes metadata only. Authentication changes
require instance remove followed by instance add. Secret prompts never put
values in command arguments, logs, or MCP messages. These
prompts require an interactive local TTY. In non-TTY automation, use a
pre-provisioned OS keychain entry and run metadata-only commands; the CLI will
not read secrets from stdin or silently fall back to plaintext.
To select a different metadata registry for the CLI, export
HAPPY_CONFIG_PATH before invoking it:
For an MCP server/stdio host, set the same variable in the host environment:
HAPPY_CONFIG_PATH supports ~ and relative paths. For migration, automatic
package-legacy -> user-registry migration is available only when the resolver
selects the package-relative config/servicenow-instances.json as
readPath and the distinct default user registry as writePath.
HAPPY_CONFIG_PATH normally selects both readPath and writePath and must
point to a metadata-only version 1 registry. If it points to a plaintext
source (the same file), the CLI refuses before any keychain write; source
bytes and keychain entries remain unchanged. Choose a distinct
HAPPY_CONFIG_PATH target, or unset it for the automatic workflow. Never
copy secrets into command arguments. For a non-package legacy source, use a
controlled distinct source/target workflow or manually use instance add and
the masked instance credential set prompt.
SN-Register-Instance normally applies a live registry reload and does not
require a restart. Restart the MCP server only for docs-only mode or when the
reload fails.
Legacy compatibility: config/servicenow-instances.json is a read-only
legacy migration input. The singular SERVICENOW_* environment variables are
the backward-compatible single-instance fallback only when no registry is
available. The package-relative file is not the CLI's writable location.
Option B: Single Instance (legacy environment fallback)
HTTP/SSE listens on 127.0.0.1 by default. To expose it through a reverse proxy or network interface, set both HAPPY_MCP_BIND_HOST and a high-entropy HAPPY_MCP_API_TOKEN; clients must send Authorization: Bearer <token>.
Every live ServiceNow operation accepts an optional instance parameter, except SN-Set-Instance, SN-Get-Current-Instance, and SN-Docs-*. Omitting it uses the current session client's implicit target. Explicit routing is required when overlapping work may target different instances or race with SN-Set-Instance; concurrent calls against one stable implicit target do not require it. Explicit calls are cached by instance name, so calls to the same named instance share that client.
At stdio startup, SERVICENOW_INSTANCE selects a named JSON entry when set; otherwise startup uses the entry marked "default": true, or the first configured entry if none is marked. HTTP sessions use the configured default or first entry. If the JSON file is missing, ServiceNow environment credentials can provide the single fallback instance. The "default": true flag is startup configuration. SN-Set-Instance changes only the current session client in memory; it never edits configuration, and a new MCP session or server starts from startup selection again.
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-nodejs)<a href="https://allmcps.com/mcp/servicenow-nodejs"><img src="https://allmcps.com/api/badge/servicenow-nodejs?style=directory" alt="Servicenow Nodejs on AllMCPs" /></a>