Servicenow-mcp-gateway
Health Warn
- License — License: NOASSERTION
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 5 GitHub stars
Code Pass
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
ServiceNow MCP Gateway for MCPs and Apps
ServiceNow MCP Gateway
Turn any ServiceNow Table API or Scripted REST API into an MCP tool in a minute, and show real ServiceNow forms right inside the chat.
Works with Claude, Cursor, Copilot, Gemini CLI, or any MCP client.
Full tour, guides and agent setup skill →
How it works
- Point it at your instance. One
npxcommand starts the gateway and its web UI. - Turn an API into a tool. Pick a table (
incident,change_request, any custom table) or paste a Scripted REST endpoint, name the tool and its parameters. No code. - Connect your AI. Copy the config snippet into Claude or any MCP client. The tool is live, and later edits reach the client without a restart.
- Show forms in the chat. Attach a form to a server and the AI opens it in the conversation, prefilled from what you said. Submitting it creates the record in ServiceNow.
Features
- Any API, as a tool: Table API (get, list, create, update) and Scripted REST endpoints, built and edited live from the web UI.
- ServiceNow forms in the chat (MCP Apps): incident and change forms with reference lookups and choice lists from your instance, plus approval inboxes. Build your own from a JSON spec or one HTML file.
- Any Service Catalog item as a form: say "fill the Provision a Database form for me" and the chat shows the item's variables as a form. Ordering it creates the request (REQ) and requested item (RITM) through the Service Catalog API.
- Impact graph in the chat: ask "What's the impact of INC0010001?" and see the cause, impacted services, similar incidents and services at risk as a live graph.
- 10 ready-made servers: incidents, changes, Service Catalog, impact graph, problems, CMDB, servers, business rules, script includes, client scripts.
- OAuth sign-in through ServiceNow's own login (SSO works), so ACLs and approvals apply to the real user.
- Governance: write rate limits, a JSON audit log, and a management UI bound to localhost.
Install
Requires Node.js 20+.
SN_INSTANCE_URL=https://devXXXXXX.service-now.com SN_USERNAME=... SN_PASSWORD=... npx servicenow-mcp-gateway
Open http://localhost:3001, pick a server, click Config snippet, and paste the config into your client. You can also set the instance in the UI instead of env vars. Run npx servicenow-mcp-gateway --help for options.
No instance? Get a free Personal Developer Instance at developer.servicenow.com.
Connect a client
Claude Code:
claude mcp add --transport http incident-mcp http://localhost:7801/mcp
Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"incident-mcp": { "command": "npx", "args": ["mcp-remote", "http://localhost:7801/mcp"] }
}
}
Then just ask: "How many P1 incidents are open?", "Open the incident form for a VPN outage", "Open the change form for tonight's DB patch", "Show my pending approvals", "Request a database for Abel Tuter, it's for testing".
Service Catalog forms
The service-catalog server (port 7830) opens any catalog item as a form built from its variables: text, multi-line text, select boxes, multiple choice, yes/no, checkboxes, references and list collectors with search, dates, email, URL and IP fields, labels, containers and single-row variable sets. Mandatory fields, choices and references are checked by the gateway before ordering. UI policies, client scripts, catalog data lookups and multi-row variable sets are not run, so it suits simple items such as the out-of-the-box Provision a Database. Clients without MCP Apps get the variables as text and can order with catalog_order.
Impact graph
The impact-graph server (port 7840) shows the impact of an incident or change as a live graph in the chat: the incident, the services it hurts, its cause (change or problem), what else that change touches, similar recent incidents and services at risk. It is read-only. Ask "What's the impact of INC0010001?", "What did CHG0030001 break?" or "Show the blast radius of INC0010001 over the last 90 days". Clients without MCP Apps get the same chain as text. "At risk" is an estimate from CMDB relationships (what depends on the affected services), not a prediction model.
Develop from source
git clone https://github.com/yvain13/Servicenow-mcp-gateway.git
cd Servicenow-mcp-gateway
npm install
cp .env.example .env # add your instance and credentials
npm run dev
npm test runs the test suite. The website walks through servers and tools, apps inside the chat, connecting clients, and an agent skill that sets it all up for you.
License
Free to use, modify and share under the ServiceNow MCP Gateway Attribution License. If you fork it, ship it, offer it as a service, or show it in a blog, video or talk, credit the author:
Built with ServiceNow MCP Gateway by Tushar Mishra
Made by Tushar Mishra · AI by Tushar M on YouTube
ServiceNow is a trademark of ServiceNow, Inc. This project is independent and not affiliated with it.
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found