servicenow-ppm-governance
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., "@servicenow-ppm-governanceWhat stage gates are pending approval?"
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.
servicenow-ppm-governance
Stage-gate approvals, change-request control and demand intake, built on ServiceNow SPM — plus the MCP server used to build and verify it against a live instance.
Built on a personal ServiceNow developer instance (PDI) with synthetic test data. No employer data, configuration or credentials are present in this repository. The specification it implements is my own.
What this is
Two things that grew together:
1. A PPM governance model (ppm-build/) — a stage-gate lifecycle with a driven
approval matrix, snapshot-based change control on project financials, and an M0 qualification gate
on demands that converts an approved demand into a project. Roughly 3,000 lines of business rules,
client scripts, script includes and the deployment tooling that installs them idempotently.
2. A ServiceNow MCP server (server.js) — the tool that built it. Exposes the
instance to an AI agent as typed tools (query, describe, create, update, aggregate, background
script), with a read-only mode, response truncation and a --doctor connection check. Everything in
ppm-build/ was written, deployed and verified through it. See
docs/mcp-server.md.
Related MCP server: snow-mcp
What got built
Area | Detail |
Stage gates |
|
Change requests | 4 business rules plus snapshot fields on |
M0 demand intake | 20 fields and 5 business rules on |
Approver matrix |
|
Approval rollup | One rule on |
Everything is captured in a single update set, so the whole build is portable to another instance.
The engineering log
ppm-build/README.md is the substance of this repository — the run
order, every verification result, and the gotchas that cost real time. It records what did not work
alongside what did.
A few worth surfacing, because they are the kind of thing you only learn by hitting them:
sys_script.nameisVARCHAR(40). Longer names truncate silently, so an upsert matching onname=never finds the record and creates a duplicate on every deploy.deploy.jsnow fails fast on this rather than quietly accumulating rules.Creating a field auto-adds it to the default form section (the platform rule "Add New Column To Form Section"), so fields appear twice after a build unless you re-run the duplicate check.
GlideAggregateSUM disagrees with agetValue()loop on the cost plan breakdown columns. The loop is correct. Do not "optimise" it into an aggregate.cost_plan_breakdown.estimate_to_completionis virtual with a calculation script — it cannot be written.actualisread_onlybut is script-writable.Approvals on an inactive record are voided by the out-of-box "Moot Approvals Upon Cancellation" rule, which filters on
active=false. M0 validation therefore blocks requests on a closed demand.
Verification
The build is verified by scripts in the repository, not by inspection — 11_verify.js covers the
gate and change-request lifecycle (21 of 22 checks), 12_verify_ajax.js the client-callable path,
and 13_verify_m0.js the demand process end to end (20 checks, 0 failures). Results, including the
check that did not pass and why, are recorded in the engineering log rather than summarised away.
One example of that honesty being useful: the source specification states that a gate closes when all
approvals are granted, but no rule in it actually sets the parent approval field when the
sysapproval_approver records all approve. That was confirmed empirically on both record types
before a rollup rule was written to close the gap — the alternative would have been assuming the
spec was complete and shipping a lifecycle that silently never closed.
Quickstart
Requires Node 18+ and a ServiceNow PDI.
cp .env.example .env
# fill in your instance URL, username and password
node server.js --doctorDeploy the build:
node server.js --run ppm-build/01_fields.js # prerequisite fields
node ppm-build/deploy.js # business rules + client scripts
node ppm-build/deploy_si.js # script includes
node server.js --run ppm-build/03_form_layout.js # form sections
node server.js --run ppm-build/10_seed.js # synthetic test data
node server.js --run ppm-build/11_verify.js # verificationThe full 13-step run order is in ppm-build/README.md.
Both deploy scripts are idempotent — re-running them updates in place rather than duplicating.
Run any script against the instance with filtered output:
node server.js --run ppm-build/<file>.jsRepository layout
server.js MCP server + `--run` CLI for background scripts
ppm-build/
README.md the engineering log — start here
br/ 15 business rules
cs/ 6 client scripts
si/ 2 script includes (approver matrix, gate financials AJAX)
deploy.js idempotent business rule + client script deployment
deploy_si.js idempotent script include deployment
fetch_si.js pull an out-of-box script include down for reference
01–13_*.js the build and verification scripts, in run order
docs/mcp-server.md MCP server setup, tools and configurationppm-build/oob/ is gitignored. fetch_si.js writes ServiceNow's own out-of-box source there for
reference while working; that is the vendor's code, not mine, so it stays local.
Deliberately not built
Two decisions were left open rather than invented, because the specification did not cover them and guessing would have produced governance nobody asked for:
Gate sequencing. Nothing auto-creates the P0 → P1 → P2a → P2b → P3 set for a project, or opens the next gate when one closes. The specification describes a single gate's lifecycle only.
The out-of-box demand
Approvebutton. ServiceNow's ownApprove/Reject/Qualify/Screenbuttons ondmn_demandonly flipstate— they do not touchsysapproval_approverand are not wired to M0. MakingApprovedrive M0 would mean overriding out-of-box behaviour, which is a decision for whoever owns the instance.
Licence
MIT — see LICENSE. ServiceNow is a trademark of ServiceNow, Inc.; this project is not affiliated with or endorsed by ServiceNow.
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
- Alicense-qualityDmaintenanceA Model Context Protocol server enabling AI agents to access and manipulate ServiceNow data through natural language interactions, allowing users to search for records, update them, and manage scripts.Last updated46MIT
- 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
- AlicenseAqualityAmaintenanceAn MCP server that enables AI assistants to interact with ServiceNow instances, allowing script execution, data querying, ATF tests, and log tailing through natural language commands.Last updated8738113MIT
- 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
MCP server for AI access to SmartBear tools, including BugSnag, Reflect, Swagger, PactFlow, QTM4J.
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
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/MNGGibson/servicenow-ppm-governance'
If you have feedback or need assistance with the MCP directory API, please join our Discord server