nowaikit 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env.example +96 -0
- package/LICENSE +21 -0
- package/README.md +1253 -0
- package/desktop/renderer/dist/apple-touch-icon.png +0 -0
- package/desktop/renderer/dist/assets/index-Bb0ncZQl.css +1 -0
- package/desktop/renderer/dist/assets/index-MlBBSUMZ.js +49 -0
- package/desktop/renderer/dist/favicon-32.png +0 -0
- package/desktop/renderer/dist/favicon.svg +18 -0
- package/desktop/renderer/dist/index.html +18 -0
- package/desktop/serve.js +449 -0
- package/dist/cli/auth.d.ts +14 -0
- package/dist/cli/auth.d.ts.map +1 -0
- package/dist/cli/auth.js +179 -0
- package/dist/cli/auth.js.map +1 -0
- package/dist/cli/config-store.d.ts +28 -0
- package/dist/cli/config-store.d.ts.map +1 -0
- package/dist/cli/config-store.js +64 -0
- package/dist/cli/config-store.js.map +1 -0
- package/dist/cli/detect-clients.d.ts +16 -0
- package/dist/cli/detect-clients.d.ts.map +1 -0
- package/dist/cli/detect-clients.js +151 -0
- package/dist/cli/detect-clients.js.map +1 -0
- package/dist/cli/index.d.ts +3 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +193 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/setup.d.ts +4 -0
- package/dist/cli/setup.d.ts.map +1 -0
- package/dist/cli/setup.js +575 -0
- package/dist/cli/setup.js.map +1 -0
- package/dist/cli/writers/index.d.ts +9 -0
- package/dist/cli/writers/index.d.ts.map +1 -0
- package/dist/cli/writers/index.js +140 -0
- package/dist/cli/writers/index.js.map +1 -0
- package/dist/prompts/index.d.ts +25 -0
- package/dist/prompts/index.d.ts.map +1 -0
- package/dist/prompts/index.js +38 -0
- package/dist/prompts/index.js.map +1 -0
- package/dist/prompts/itsm.d.ts +20 -0
- package/dist/prompts/itsm.d.ts.map +1 -0
- package/dist/prompts/itsm.js +110 -0
- package/dist/prompts/itsm.js.map +1 -0
- package/dist/prompts/user-prompts.d.ts +3 -0
- package/dist/prompts/user-prompts.d.ts.map +1 -0
- package/dist/prompts/user-prompts.js +35 -0
- package/dist/prompts/user-prompts.js.map +1 -0
- package/dist/resources/index.d.ts +26 -0
- package/dist/resources/index.d.ts.map +1 -0
- package/dist/resources/index.js +99 -0
- package/dist/resources/index.js.map +1 -0
- package/dist/server.d.ts +3 -0
- package/dist/server.d.ts.map +1 -0
- package/dist/server.js +129 -0
- package/dist/server.js.map +1 -0
- package/dist/servicenow/client.d.ts +135 -0
- package/dist/servicenow/client.d.ts.map +1 -0
- package/dist/servicenow/client.js +803 -0
- package/dist/servicenow/client.js.map +1 -0
- package/dist/servicenow/instances.d.ts +28 -0
- package/dist/servicenow/instances.d.ts.map +1 -0
- package/dist/servicenow/instances.js +204 -0
- package/dist/servicenow/instances.js.map +1 -0
- package/dist/servicenow/types.d.ts +574 -0
- package/dist/servicenow/types.d.ts.map +1 -0
- package/dist/servicenow/types.js +3 -0
- package/dist/servicenow/types.js.map +1 -0
- package/dist/tools/agile.d.ts +225 -0
- package/dist/tools/agile.d.ts.map +1 -0
- package/dist/tools/agile.js +205 -0
- package/dist/tools/agile.js.map +1 -0
- package/dist/tools/app-studio.d.ts +139 -0
- package/dist/tools/app-studio.d.ts.map +1 -0
- package/dist/tools/app-studio.js +139 -0
- package/dist/tools/app-studio.js.map +1 -0
- package/dist/tools/atf.d.ts +144 -0
- package/dist/tools/atf.d.ts.map +1 -0
- package/dist/tools/atf.js +186 -0
- package/dist/tools/atf.js.map +1 -0
- package/dist/tools/catalog.d.ts +628 -0
- package/dist/tools/catalog.d.ts.map +1 -0
- package/dist/tools/catalog.js +397 -0
- package/dist/tools/catalog.js.map +1 -0
- package/dist/tools/change.d.ts +347 -0
- package/dist/tools/change.d.ts.map +1 -0
- package/dist/tools/change.js +213 -0
- package/dist/tools/change.js.map +1 -0
- package/dist/tools/core.d.ts +540 -0
- package/dist/tools/core.d.ts.map +1 -0
- package/dist/tools/core.js +373 -0
- package/dist/tools/core.js.map +1 -0
- package/dist/tools/csm.d.ts +401 -0
- package/dist/tools/csm.d.ts.map +1 -0
- package/dist/tools/csm.js +255 -0
- package/dist/tools/csm.js.map +1 -0
- package/dist/tools/deployment.d.ts +366 -0
- package/dist/tools/deployment.d.ts.map +1 -0
- package/dist/tools/deployment.js +181 -0
- package/dist/tools/deployment.js.map +1 -0
- package/dist/tools/devops.d.ts +236 -0
- package/dist/tools/devops.d.ts.map +1 -0
- package/dist/tools/devops.js +207 -0
- package/dist/tools/devops.js.map +1 -0
- package/dist/tools/flow.d.ts +496 -0
- package/dist/tools/flow.d.ts.map +1 -0
- package/dist/tools/flow.js +348 -0
- package/dist/tools/flow.js.map +1 -0
- package/dist/tools/hrsd.d.ts +789 -0
- package/dist/tools/hrsd.d.ts.map +1 -0
- package/dist/tools/hrsd.js +377 -0
- package/dist/tools/hrsd.js.map +1 -0
- package/dist/tools/incident.d.ts +256 -0
- package/dist/tools/incident.d.ts.map +1 -0
- package/dist/tools/incident.js +163 -0
- package/dist/tools/incident.js.map +1 -0
- package/dist/tools/index.d.ts +11514 -0
- package/dist/tools/index.d.ts.map +1 -0
- package/dist/tools/index.js +276 -0
- package/dist/tools/index.js.map +1 -0
- package/dist/tools/integration.d.ts +603 -0
- package/dist/tools/integration.d.ts.map +1 -0
- package/dist/tools/integration.js +510 -0
- package/dist/tools/integration.js.map +1 -0
- package/dist/tools/itam.d.ts +462 -0
- package/dist/tools/itam.d.ts.map +1 -0
- package/dist/tools/itam.js +306 -0
- package/dist/tools/itam.js.map +1 -0
- package/dist/tools/knowledge.d.ts +187 -0
- package/dist/tools/knowledge.d.ts.map +1 -0
- package/dist/tools/knowledge.js +161 -0
- package/dist/tools/knowledge.js.map +1 -0
- package/dist/tools/ml.d.ts +263 -0
- package/dist/tools/ml.d.ts.map +1 -0
- package/dist/tools/ml.js +251 -0
- package/dist/tools/ml.js.map +1 -0
- package/dist/tools/mobile.d.ts +352 -0
- package/dist/tools/mobile.d.ts.map +1 -0
- package/dist/tools/mobile.js +122 -0
- package/dist/tools/mobile.js.map +1 -0
- package/dist/tools/notification.d.ts +590 -0
- package/dist/tools/notification.d.ts.map +1 -0
- package/dist/tools/notification.js +382 -0
- package/dist/tools/notification.js.map +1 -0
- package/dist/tools/now-assist.d.ts +300 -0
- package/dist/tools/now-assist.d.ts.map +1 -0
- package/dist/tools/now-assist.js +227 -0
- package/dist/tools/now-assist.js.map +1 -0
- package/dist/tools/performance.d.ts +447 -0
- package/dist/tools/performance.d.ts.map +1 -0
- package/dist/tools/performance.js +473 -0
- package/dist/tools/performance.js.map +1 -0
- package/dist/tools/portal.d.ts +530 -0
- package/dist/tools/portal.d.ts.map +1 -0
- package/dist/tools/portal.js +425 -0
- package/dist/tools/portal.js.map +1 -0
- package/dist/tools/problem.d.ts +110 -0
- package/dist/tools/problem.d.ts.map +1 -0
- package/dist/tools/problem.js +100 -0
- package/dist/tools/problem.js.map +1 -0
- package/dist/tools/reporting.d.ts +825 -0
- package/dist/tools/reporting.d.ts.map +1 -0
- package/dist/tools/reporting.js +460 -0
- package/dist/tools/reporting.js.map +1 -0
- package/dist/tools/script.d.ts +714 -0
- package/dist/tools/script.d.ts.map +1 -0
- package/dist/tools/script.js +629 -0
- package/dist/tools/script.js.map +1 -0
- package/dist/tools/security.d.ts +794 -0
- package/dist/tools/security.d.ts.map +1 -0
- package/dist/tools/security.js +425 -0
- package/dist/tools/security.js.map +1 -0
- package/dist/tools/sys-properties.d.ts +315 -0
- package/dist/tools/sys-properties.d.ts.map +1 -0
- package/dist/tools/sys-properties.js +372 -0
- package/dist/tools/sys-properties.js.map +1 -0
- package/dist/tools/task.d.ts +82 -0
- package/dist/tools/task.d.ts.map +1 -0
- package/dist/tools/task.js +96 -0
- package/dist/tools/task.js.map +1 -0
- package/dist/tools/updateset.d.ts +159 -0
- package/dist/tools/updateset.d.ts.map +1 -0
- package/dist/tools/updateset.js +212 -0
- package/dist/tools/updateset.js.map +1 -0
- package/dist/tools/user.d.ts +206 -0
- package/dist/tools/user.d.ts.map +1 -0
- package/dist/tools/user.js +163 -0
- package/dist/tools/user.js.map +1 -0
- package/dist/tools/va.d.ts +217 -0
- package/dist/tools/va.d.ts.map +1 -0
- package/dist/tools/va.js +178 -0
- package/dist/tools/va.js.map +1 -0
- package/dist/tools/workspace.d.ts +565 -0
- package/dist/tools/workspace.d.ts.map +1 -0
- package/dist/tools/workspace.js +201 -0
- package/dist/tools/workspace.js.map +1 -0
- package/dist/tools-manifest.json +7852 -0
- package/dist/utils/errors.d.ts +6 -0
- package/dist/utils/errors.d.ts.map +1 -0
- package/dist/utils/errors.js +11 -0
- package/dist/utils/errors.js.map +1 -0
- package/dist/utils/logging.d.ts +7 -0
- package/dist/utils/logging.d.ts.map +1 -0
- package/dist/utils/logging.js +15 -0
- package/dist/utils/logging.js.map +1 -0
- package/dist/utils/permissions.d.ts +21 -0
- package/dist/utils/permissions.d.ts.map +1 -0
- package/dist/utils/permissions.js +54 -0
- package/dist/utils/permissions.js.map +1 -0
- package/instances.example.json +71 -0
- package/package.json +110 -0
package/README.md
ADDED
|
@@ -0,0 +1,1253 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
|
|
3
|
+
<img src="docs/assets/banner.svg" alt="NowAIKit — The Complete ServiceNow AI Kit" width="100%"/>
|
|
4
|
+
|
|
5
|
+
<br/>
|
|
6
|
+
|
|
7
|
+
[](https://github.com/aartiq/nowaikit)
|
|
8
|
+
[](docs/TOOLS.md)
|
|
9
|
+
[](https://www.typescriptlang.org/)
|
|
10
|
+
[](LICENSE)
|
|
11
|
+
[](https://developer.servicenow.com)
|
|
12
|
+
[](https://modelcontextprotocol.io)
|
|
13
|
+
[](https://nodejs.org)
|
|
14
|
+
|
|
15
|
+
<br/>
|
|
16
|
+
|
|
17
|
+
# NowAIKit
|
|
18
|
+
|
|
19
|
+
## The Most Comprehensive ServiceNow AI Toolkit
|
|
20
|
+
|
|
21
|
+
> **400+ tools · 31+ ServiceNow modules · 5-minute setup · MIT licensed · Works with any AI**
|
|
22
|
+
|
|
23
|
+
**NowAIKit** is the most comprehensive, production-ready AI toolkit for ServiceNow — and the only one that truly does it all.
|
|
24
|
+
|
|
25
|
+
Connect **Claude**, **ChatGPT**, **Gemini**, **Cursor**, **GitHub Copilot**, or any MCP-compatible AI in under 5 minutes. Then let your AI read, build, deploy, and automate across every ServiceNow module — incidents, changes, scripts, flows, portals, integrations, HRSD, CSM, and more.
|
|
26
|
+
|
|
27
|
+
Ask in plain English. Deploy business rules from chat. Run ATF suites on demand. Query dev, staging, and prod simultaneously. Automate across multiple customer tenants without switching tabs. **Your AI, your instance, your rules.**
|
|
28
|
+
|
|
29
|
+
**Any AI. Any instance. Any scale. 100% open-source.**
|
|
30
|
+
|
|
31
|
+
> **Keywords:** ServiceNow MCP server · Model Context Protocol · ServiceNow AI · ITSM automation · ServiceNow Claude · ServiceNow ChatGPT · ServiceNow Cursor · ServiceNow Copilot · ServiceNow LLM · ServiceNow agent · MCP tools · ServiceNow API · agentic AI · ServiceNow developer tools
|
|
32
|
+
|
|
33
|
+
<br/>
|
|
34
|
+
|
|
35
|
+
| | |
|
|
36
|
+
|---|---|
|
|
37
|
+
| **Beginners** | Zero ServiceNow API knowledge needed. Connect in 5 minutes. Ask in plain English. Free PDI at developer.servicenow.com. |
|
|
38
|
+
| **Developers** | Write, deploy, test, and manage scripts, flows, widgets, and integrations at AI speed — 10x faster. |
|
|
39
|
+
| **Architects & MSPs** | Orchestrate multi-step autonomous workflows. Compare environments. Manage multiple customer tenants in one session. |
|
|
40
|
+
|
|
41
|
+
<br/>
|
|
42
|
+
|
|
43
|
+
</div>
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## Who Is This For?
|
|
48
|
+
|
|
49
|
+
<table>
|
|
50
|
+
<tr>
|
|
51
|
+
<td width="33%" valign="top">
|
|
52
|
+
|
|
53
|
+
### Beginners
|
|
54
|
+
**Zero ServiceNow API knowledge required.**
|
|
55
|
+
|
|
56
|
+
Connect Claude Desktop or Cursor to your free PDI in 5 minutes. Ask questions in plain English, browse incidents, search KB articles, place catalog orders, monitor SLAs — all from your AI chat window. No code. No Postman. No documentation diving. Just ask.
|
|
57
|
+
|
|
58
|
+
*Start here → [5-Minute Quickstart](#getting-started)*
|
|
59
|
+
|
|
60
|
+
</td>
|
|
61
|
+
<td width="33%" valign="top">
|
|
62
|
+
|
|
63
|
+
### Developers
|
|
64
|
+
**10x faster with AI as your development partner.**
|
|
65
|
+
|
|
66
|
+
Write business rules, deploy client scripts, manage UI Policies and ACLs, create Service Portal widgets, configure REST Messages, manage Transform Maps, and update changesets — all in plain English. Full TypeScript types, ATF integration, and role-based packages built in.
|
|
67
|
+
|
|
68
|
+
*Explore → [Platform Developer Package](#role-based-tool-packages)*
|
|
69
|
+
|
|
70
|
+
</td>
|
|
71
|
+
<td width="33%" valign="top">
|
|
72
|
+
|
|
73
|
+
### Architects, Admins & MSPs
|
|
74
|
+
**Autonomous workflows. Multi-instance. Multi-customer.**
|
|
75
|
+
|
|
76
|
+
Trigger Agentic Playbooks, orchestrate multi-step ITSM/HRSD/CSM processes, compare environments side by side, manage dozens of customer tenants in one session, and run full data quality audits — at AI speed, across your entire ServiceNow estate.
|
|
77
|
+
|
|
78
|
+
*Deep dive → [Now Assist & Agentic Guide](docs/NOW_ASSIST.md)*
|
|
79
|
+
|
|
80
|
+
</td>
|
|
81
|
+
</tr>
|
|
82
|
+
</table>
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
## Why NowAIKit
|
|
87
|
+
|
|
88
|
+
<table>
|
|
89
|
+
<tr>
|
|
90
|
+
<td width="33%" valign="top">
|
|
91
|
+
|
|
92
|
+
### Fully Autonomous AI Operations
|
|
93
|
+
|
|
94
|
+
Your AI doesn't just answer questions — it *acts*. Create incidents, write and deploy scripts, trigger flows, fire events, upload attachments, manage changesets, and run full ATF suites — end-to-end, without manual steps. Native Now Assist Agentic Playbook support for next-generation ServiceNow AI automation.
|
|
95
|
+
|
|
96
|
+
</td>
|
|
97
|
+
<td width="33%" valign="top">
|
|
98
|
+
|
|
99
|
+
### Works With Every AI, Out of the Box
|
|
100
|
+
|
|
101
|
+
**Claude, ChatGPT, Gemini, Grok, Cursor, Windsurf, GitHub Copilot, Amazon Q, JetBrains, Continue.dev, Cline, Zed, Google AI Studio, Ollama** — all supported out of the box. Any MCP-compatible client. Any custom Python or TypeScript agent. One toolkit, every AI platform, zero lock-in.
|
|
102
|
+
|
|
103
|
+
</td>
|
|
104
|
+
<td width="33%" valign="top">
|
|
105
|
+
|
|
106
|
+
### Unmatched Platform Coverage
|
|
107
|
+
|
|
108
|
+
**400+ production-ready tools** across every ServiceNow domain — ITSM, ITOM, HRSD, CSM, SecOps, GRC, Agile, ATF, Flow Designer, Scripting, Now Assist, Service Portal, Integration Hub, Performance Analytics, System Properties, Update Sets, Virtual Agent, ITAM, DevOps, Machine Learning, Workspace/UIB, Mobile, and Deployment. Nothing else comes close.
|
|
109
|
+
|
|
110
|
+
</td>
|
|
111
|
+
</tr>
|
|
112
|
+
<tr>
|
|
113
|
+
<td width="33%" valign="top">
|
|
114
|
+
|
|
115
|
+
### Role-Based Tool Intelligence
|
|
116
|
+
|
|
117
|
+
Fourteen pre-built persona packages — service desk, platform developer, portal developer, integration engineer, ITOM engineer, AI developer, ITAM analyst, DevOps engineer, and more. Each exposes exactly the right tools for that role. Reduce noise, enforce least-privilege, and configure once per team.
|
|
118
|
+
|
|
119
|
+
</td>
|
|
120
|
+
<td width="33%" valign="top">
|
|
121
|
+
|
|
122
|
+
### Safe by Default, Powerful When Needed
|
|
123
|
+
|
|
124
|
+
A five-tier permission model keeps your instance protected. **Read is always on.** Write, CMDB, Scripting, Now Assist, and ATF capabilities each require an explicit opt-in flag. No AI can accidentally modify your production data. Scale permissions as your confidence grows — without touching code.
|
|
125
|
+
|
|
126
|
+
</td>
|
|
127
|
+
<td width="33%" valign="top">
|
|
128
|
+
|
|
129
|
+
### True Multi-Instance & Multi-Customer
|
|
130
|
+
|
|
131
|
+
Connect to **unlimited ServiceNow instances** from one session — dev, staging, prod, *and* multiple customer tenants simultaneously. Pass `instance: "acme_prod"` on any tool call, or `switch_instance` globally. MSPs, consultants, and enterprise teams can compare, query, and automate across every environment at once. No other ServiceNow AI toolkit does this.
|
|
132
|
+
|
|
133
|
+
</td>
|
|
134
|
+
</tr>
|
|
135
|
+
</table>
|
|
136
|
+
|
|
137
|
+
---
|
|
138
|
+
|
|
139
|
+
## Quick Links
|
|
140
|
+
|
|
141
|
+
| Resource | Link |
|
|
142
|
+
|----------|------|
|
|
143
|
+
| All Tools Reference | [docs/TOOLS.md](docs/TOOLS.md) |
|
|
144
|
+
| Client Setup (All AI tools, beginner + advanced) | [docs/CLIENT_SETUP.md](docs/CLIENT_SETUP.md) |
|
|
145
|
+
| Role-Based Tool Packages | [docs/TOOL_PACKAGES.md](docs/TOOL_PACKAGES.md) |
|
|
146
|
+
| Now Assist & AI Integration | [docs/NOW_ASSIST.md](docs/NOW_ASSIST.md) |
|
|
147
|
+
| ATF Testing Guide | [docs/ATF.md](docs/ATF.md) |
|
|
148
|
+
| Scripting Management | [docs/SCRIPTING.md](docs/SCRIPTING.md) |
|
|
149
|
+
| Reporting & Analytics | [docs/REPORTING.md](docs/REPORTING.md) |
|
|
150
|
+
| Multi-Instance Setup | [docs/MULTI_INSTANCE.md](docs/MULTI_INSTANCE.md) |
|
|
151
|
+
| 120+ Real-World Examples | [EXAMPLES.md](EXAMPLES.md) |
|
|
152
|
+
| Changelog | [CHANGELOG.md](CHANGELOG.md) |
|
|
153
|
+
|
|
154
|
+
---
|
|
155
|
+
|
|
156
|
+
## Module Coverage
|
|
157
|
+
|
|
158
|
+
Domain modules covering the full ServiceNow platform:
|
|
159
|
+
|
|
160
|
+
| Module | Key Capabilities |
|
|
161
|
+
|--------|-----------------|
|
|
162
|
+
| Core & CMDB | Record query, schema discovery, CMDB CIs, ITOM Discovery, MID Servers, multi-instance management |
|
|
163
|
+
| Incident Management | Create, update, resolve, close, work notes, comments |
|
|
164
|
+
| Problem Management | Problem records, root cause analysis, known errors |
|
|
165
|
+
| Change Management | Create, get, update, submit for approval, close change requests |
|
|
166
|
+
| Task Management | Generic tasks, my-task lists, completions |
|
|
167
|
+
| Knowledge Base | Search, create, update, publish KB articles |
|
|
168
|
+
| Service Catalog & Approvals | Catalog browsing, create/update items, order items, SLA tracking, approval workflows, approval rules |
|
|
169
|
+
| User & Group Management | Users, groups, membership, role assignments |
|
|
170
|
+
| Reporting & Analytics | Aggregate queries, trend analysis, create/update reports, scheduled job CRUD, run history |
|
|
171
|
+
| ATF Testing | Test suites, test execution, ATF Failure Insight |
|
|
172
|
+
| Now Assist / AI | NLQ, AI Search, summaries, resolution suggestions, Agentic Playbooks |
|
|
173
|
+
| Scripting | Business rules, script includes, client script CRUD, UI Policies, UI Actions, ACL management, changesets |
|
|
174
|
+
| Agile / Scrum | Stories, epics, sprints, scrum tasks |
|
|
175
|
+
| HR Service Delivery (HRSD) | HR cases, HR services, employee profiles, onboarding/offboarding |
|
|
176
|
+
| Customer Service Management (CSM) | Customer cases, accounts, contacts, products, SLAs |
|
|
177
|
+
| Security Operations & GRC | SecOps incidents, vulnerabilities, GRC risks, controls, threat intel |
|
|
178
|
+
| Flow Designer & Process Automation | Flows, subflows, triggers, executions, Process Automation playbooks |
|
|
179
|
+
| Service Portal & UI Builder | Create/list portals & pages, widgets (create/update/deploy), Next Experience apps/pages, themes |
|
|
180
|
+
| Integration Hub | REST Messages, Transform Maps, Import Sets, Event Registry, OAuth apps, credential aliases |
|
|
181
|
+
| Notifications & Attachments | Email notifications, email logs, file attachments (upload/list/delete), templates, subscriptions |
|
|
182
|
+
| Performance Analytics | PA indicators/scorecards, time-series, create/update dashboards, PA jobs, data quality checks |
|
|
183
|
+
| System Properties | Get, set, bulk operations, validate, export/import, audit history |
|
|
184
|
+
| Update Set Management | Create, switch, preview, complete, export, auto-ensure active set |
|
|
185
|
+
| Virtual Agent (VA) | Topic authoring, conversation history, categories, topic listing |
|
|
186
|
+
| IT Asset Management (ITAM) | Assets, software licenses, contracts, compliance reporting |
|
|
187
|
+
| DevOps & Pipeline Tracking | Pipelines, deployments, change governance, DORA metrics |
|
|
188
|
+
| Scoped Applications (App Studio) | List, get, create, and update scoped application records |
|
|
189
|
+
|
|
190
|
+
---
|
|
191
|
+
|
|
192
|
+
## Authentication
|
|
193
|
+
|
|
194
|
+
Two authentication methods are supported:
|
|
195
|
+
|
|
196
|
+
| Method | Best For |
|
|
197
|
+
|--------|----------|
|
|
198
|
+
| **Basic Auth** | Development, personal instances, quick setup |
|
|
199
|
+
| **OAuth 2.0** (client credentials / password grant) | Production deployments, service accounts |
|
|
200
|
+
|
|
201
|
+
SSO / OIDC authentication (Okta, Azure AD / Entra, Ping Identity) is available in the Enterprise edition — see [nowaikit.com/#pricing](https://nowaikit.com/#pricing).
|
|
202
|
+
|
|
203
|
+
For OAuth setup in ServiceNow, see [docs/SERVICENOW_OAUTH_SETUP.md](docs/SERVICENOW_OAUTH_SETUP.md).
|
|
204
|
+
|
|
205
|
+
---
|
|
206
|
+
|
|
207
|
+
## Permission System
|
|
208
|
+
|
|
209
|
+
A four-tier permission model keeps your instance safe by default:
|
|
210
|
+
|
|
211
|
+
| Tier | Environment Variable | Covers |
|
|
212
|
+
|------|---------------------|--------|
|
|
213
|
+
| 0 — Read | *(always on)* | All query and read operations |
|
|
214
|
+
| 1 — Write | `WRITE_ENABLED=true` | Create/update across ITSM, HRSD, CSM, Agile |
|
|
215
|
+
| 2 — CMDB Write | `CMDB_WRITE_ENABLED=true` | CI create/update in the CMDB |
|
|
216
|
+
| 3 — Scripting | `SCRIPTING_ENABLED=true` | Business rules, script includes, changesets |
|
|
217
|
+
| 4 — Now Assist | `NOW_ASSIST_ENABLED=true` | AI Agentic Playbooks, NLQ, AI Search |
|
|
218
|
+
|
|
219
|
+
---
|
|
220
|
+
|
|
221
|
+
## Role-Based Tool Packages
|
|
222
|
+
|
|
223
|
+
Set `MCP_TOOL_PACKAGE` to expose only the tools relevant to each persona:
|
|
224
|
+
|
|
225
|
+
| Package | Persona | Tools Included |
|
|
226
|
+
|---------|---------|---------------|
|
|
227
|
+
| `full` | Administrators | All tools (400+) |
|
|
228
|
+
| `service_desk` | L1/L2 Agents | Incidents, tasks, approvals, KB, SLA |
|
|
229
|
+
| `change_coordinator` | Change Managers | Changes (create/approve/close), CAB, CMDB, approvals |
|
|
230
|
+
| `knowledge_author` | KB Authors | Knowledge base create/publish |
|
|
231
|
+
| `catalog_builder` | Catalog Admins | Catalog, users, groups |
|
|
232
|
+
| `system_administrator` | Sys Admins | Users, groups, reports, logs, notifications, attachments, ACLs, PA |
|
|
233
|
+
| `platform_developer` | Developers | Scripts, UI Policies, UI Actions, ACLs, client scripts, ATF, changesets |
|
|
234
|
+
| `portal_developer` | Portal/UX Devs | Portals, pages, widgets (create/update), UI Policies, UI Actions, client scripts |
|
|
235
|
+
| `integration_engineer` | Integration Devs | REST Messages, Transform Maps, Import Sets, Events, OAuth, credentials |
|
|
236
|
+
| `itom_engineer` | ITOM Engineers | CMDB, Discovery, MID servers, events |
|
|
237
|
+
| `agile_manager` | Scrum Masters | Stories, epics, sprints |
|
|
238
|
+
| `ai_developer` | AI Builders | Now Assist, NLQ, Agentic Playbooks |
|
|
239
|
+
|
|
240
|
+
---
|
|
241
|
+
|
|
242
|
+
## Getting Started
|
|
243
|
+
|
|
244
|
+
### Option A — Interactive Setup Wizard (Recommended)
|
|
245
|
+
|
|
246
|
+
```bash
|
|
247
|
+
# Install globally (Node.js 20+ required)
|
|
248
|
+
npm install -g nowaikit
|
|
249
|
+
|
|
250
|
+
# Run the wizard — detects your AI clients and writes config automatically
|
|
251
|
+
npx nowaikit setup
|
|
252
|
+
```
|
|
253
|
+
|
|
254
|
+
The wizard will:
|
|
255
|
+
1. Ask for your ServiceNow instance URL + credentials
|
|
256
|
+
2. Test the connection
|
|
257
|
+
3. Let you pick a tool package and permission level
|
|
258
|
+
4. Detect Claude Desktop, Cursor, VS Code, Windsurf, Continue.dev, Claude Code on your machine
|
|
259
|
+
5. Write the config directly — no copy-paste, no manual JSON editing
|
|
260
|
+
|
|
261
|
+
```
|
|
262
|
+
# Add a second instance later
|
|
263
|
+
nowaikit setup --add
|
|
264
|
+
|
|
265
|
+
# Manage instances
|
|
266
|
+
nowaikit instances list
|
|
267
|
+
```
|
|
268
|
+
|
|
269
|
+
### Option B — Web Dashboard (one command)
|
|
270
|
+
|
|
271
|
+
```bash
|
|
272
|
+
npx nowaikit web
|
|
273
|
+
```
|
|
274
|
+
|
|
275
|
+
Opens the NowAIKit dashboard at **http://localhost:4175** — includes instance management, settings, and an audit log viewer.
|
|
276
|
+
|
|
277
|
+
```bash
|
|
278
|
+
# Custom port
|
|
279
|
+
npx nowaikit web --port 3000
|
|
280
|
+
|
|
281
|
+
# Expose to network (use with caution)
|
|
282
|
+
npx nowaikit web --host 0.0.0.0
|
|
283
|
+
|
|
284
|
+
# Don't auto-open browser
|
|
285
|
+
npx nowaikit web --no-open
|
|
286
|
+
```
|
|
287
|
+
|
|
288
|
+
### Option C — Desktop App
|
|
289
|
+
|
|
290
|
+
Download the native desktop app (macOS, Windows, Linux) from [GitHub Releases](https://github.com/aartiq/nowaikit/releases). Includes a visual setup wizard, tool browser, and audit log viewer.
|
|
291
|
+
|
|
292
|
+
### Option D — Manual Setup
|
|
293
|
+
|
|
294
|
+
```bash
|
|
295
|
+
git clone https://github.com/aartiq/nowaikit.git && cd nowaikit
|
|
296
|
+
npm install && npm run build
|
|
297
|
+
cp .env.example .env # fill in your ServiceNow credentials
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
Then point your AI client at `dist/server.js` — see [Supported AI Clients](#supported-ai-clients) below.
|
|
301
|
+
|
|
302
|
+
> **No ServiceNow instance?** Get a free Personal Developer Instance at [developer.servicenow.com](https://developer.servicenow.com) — ready in minutes.
|
|
303
|
+
|
|
304
|
+
**Full installation guide → [docs/INSTALLATION.md](docs/INSTALLATION.md)**
|
|
305
|
+
|
|
306
|
+
---
|
|
307
|
+
|
|
308
|
+
## Client Setup Guides
|
|
309
|
+
|
|
310
|
+
Step-by-step setup for every major AI client — Claude Desktop, Claude Code, Cursor, VS Code, Windsurf, Zed, GitHub Copilot, Continue.dev, Cline, JetBrains, Amazon Q, Google AI Studio, ChatGPT, Grok, Ollama, and more.
|
|
311
|
+
|
|
312
|
+
**Full guide → [docs/CLIENT_SETUP.md](docs/CLIENT_SETUP.md)**
|
|
313
|
+
|
|
314
|
+
For quick setup snippets, see the [Supported AI Clients](#supported-ai-clients) section below.
|
|
315
|
+
---
|
|
316
|
+
|
|
317
|
+
## Example Interactions
|
|
318
|
+
|
|
319
|
+
Once connected, ask your AI assistant in plain language:
|
|
320
|
+
|
|
321
|
+
**ITSM & Change Management:**
|
|
322
|
+
```
|
|
323
|
+
Show me all open P1 incidents assigned to the Network Operations group.
|
|
324
|
+
```
|
|
325
|
+
```
|
|
326
|
+
Create a normal change request for deploying the new API gateway — implementation planned for Saturday midnight.
|
|
327
|
+
```
|
|
328
|
+
```
|
|
329
|
+
What CMDB CIs does the ERP application depend on?
|
|
330
|
+
```
|
|
331
|
+
|
|
332
|
+
**Scripting & Development:**
|
|
333
|
+
```
|
|
334
|
+
List all client scripts on the incident table and show me the ones that fire on form load.
|
|
335
|
+
```
|
|
336
|
+
```
|
|
337
|
+
Create a UI action button "Escalate to L3" on the incident form that assigns the ticket to the L3-Support group.
|
|
338
|
+
```
|
|
339
|
+
```
|
|
340
|
+
Show me all ACL rules for the change_request table that restrict the "delete" operation.
|
|
341
|
+
```
|
|
342
|
+
|
|
343
|
+
**Service Portal & UI Builder:**
|
|
344
|
+
```
|
|
345
|
+
List all widgets in the Service Portal that contain "catalog" in their name.
|
|
346
|
+
```
|
|
347
|
+
```
|
|
348
|
+
Get the full source code of the "Stock Ticker" widget so I can update its server script.
|
|
349
|
+
```
|
|
350
|
+
```
|
|
351
|
+
Create a new portal widget called "My Approvals Widget" with a simple Angular template that lists pending approvals.
|
|
352
|
+
```
|
|
353
|
+
|
|
354
|
+
**Integrations & Events:**
|
|
355
|
+
```
|
|
356
|
+
List all REST Message definitions that connect to external APIs.
|
|
357
|
+
```
|
|
358
|
+
```
|
|
359
|
+
Show me all transform maps that target the incident table.
|
|
360
|
+
```
|
|
361
|
+
```
|
|
362
|
+
Fire the custom event "myapp.ticket.escalated" on incident INC0012345.
|
|
363
|
+
```
|
|
364
|
+
|
|
365
|
+
**Notifications & Attachments:**
|
|
366
|
+
```
|
|
367
|
+
List all email notifications that trigger on the incident table when a comment is added.
|
|
368
|
+
```
|
|
369
|
+
```
|
|
370
|
+
Upload a screenshot of the error (base64) as an attachment to incident INC0012345.
|
|
371
|
+
```
|
|
372
|
+
```
|
|
373
|
+
Show me all failed email log entries from the last 24 hours.
|
|
374
|
+
```
|
|
375
|
+
|
|
376
|
+
**Performance Analytics & Data Quality:**
|
|
377
|
+
```
|
|
378
|
+
Get the current scorecard for the "Mean Time to Resolve" PA indicator with a 30-day trend.
|
|
379
|
+
```
|
|
380
|
+
```
|
|
381
|
+
Check the data completeness of the incident table — how many incidents are missing assignment_group or category?
|
|
382
|
+
```
|
|
383
|
+
```
|
|
384
|
+
Compare record counts across incident, change_request, and problem tables.
|
|
385
|
+
```
|
|
386
|
+
|
|
387
|
+
**ATF, Reporting & Scheduled Jobs:**
|
|
388
|
+
```
|
|
389
|
+
Run the Regression Test Suite and show me any failures with ATF Failure Insight details.
|
|
390
|
+
```
|
|
391
|
+
```
|
|
392
|
+
Summarise the last 30 days of incident trends by category.
|
|
393
|
+
```
|
|
394
|
+
```
|
|
395
|
+
Create a scheduled job that runs daily at 3am to archive closed incidents older than 90 days.
|
|
396
|
+
```
|
|
397
|
+
|
|
398
|
+
For 120+ real-world examples with inputs, outputs, and advanced workflows, see [EXAMPLES.md](EXAMPLES.md).
|
|
399
|
+
|
|
400
|
+
---
|
|
401
|
+
|
|
402
|
+
## Slash Commands & @ Mentions
|
|
403
|
+
|
|
404
|
+
Once connected, type `/` in Claude Desktop or Cursor to see built-in ServiceNow shortcuts:
|
|
405
|
+
|
|
406
|
+
| Command | What it does |
|
|
407
|
+
|---------|-------------|
|
|
408
|
+
| `/morning-standup` | P1/P2 open incidents, changes due today, SLA breaches |
|
|
409
|
+
| `/my-tickets` | All open tasks/incidents assigned to you |
|
|
410
|
+
| `/p1-alerts` | Active P1 incidents with time-open and assignee |
|
|
411
|
+
| `/my-changes` | Your pending change requests and approval status |
|
|
412
|
+
| `/create-incident` | Guided incident creation |
|
|
413
|
+
| `/sla-breaches` | Records currently breaching SLA |
|
|
414
|
+
| `/ci-health` | CMDB CI health check |
|
|
415
|
+
| `/run-atf` | Trigger ATF test suite |
|
|
416
|
+
| `/switch-instance` | Interactive instance picker |
|
|
417
|
+
| `/knowledge-search` | Search KB articles |
|
|
418
|
+
| `/deploy-updateset` | Guided update set commit |
|
|
419
|
+
|
|
420
|
+
Type `@` to pull live ServiceNow data into your AI context:
|
|
421
|
+
|
|
422
|
+
| Mention | Returns |
|
|
423
|
+
|---------|---------|
|
|
424
|
+
| `@my-incidents` | Your open incidents |
|
|
425
|
+
| `@open-changes` | Pending change requests |
|
|
426
|
+
| `@sla-breaches` | Records breaching SLA now |
|
|
427
|
+
| `@instance:info` | Current instance metadata |
|
|
428
|
+
| `@ci:<name>` | CMDB CI by name |
|
|
429
|
+
| `@kb:<title>` | Knowledge article by title |
|
|
430
|
+
|
|
431
|
+
Add your own commands in `nowaikit.commands.json`:
|
|
432
|
+
|
|
433
|
+
```json
|
|
434
|
+
[
|
|
435
|
+
{
|
|
436
|
+
"name": "my-p1-runbook",
|
|
437
|
+
"description": "P1 runbook for my team",
|
|
438
|
+
"template": "List all P1 incidents in the Network category. For each: number, description, assignee, time open. Flag SLA breaches."
|
|
439
|
+
}
|
|
440
|
+
]
|
|
441
|
+
```
|
|
442
|
+
|
|
443
|
+
## Advanced Configuration
|
|
444
|
+
|
|
445
|
+
| Topic | Guide |
|
|
446
|
+
|-------|-------|
|
|
447
|
+
| OAuth 2.0 setup (ServiceNow OAuth app creation) | [docs/SERVICENOW_OAUTH_SETUP.md](docs/SERVICENOW_OAUTH_SETUP.md) |
|
|
448
|
+
| Multi-instance / multi-customer (dev, staging, prod, tenants) | [docs/MULTI_INSTANCE.md](docs/MULTI_INSTANCE.md) |
|
|
449
|
+
| Role-based tool packages | [docs/TOOL_PACKAGES.md](docs/TOOL_PACKAGES.md) |
|
|
450
|
+
| All environment variables reference | [docs/INSTALLATION.md](docs/INSTALLATION.md) |
|
|
451
|
+
|
|
452
|
+
### Pro / Enterprise Features
|
|
453
|
+
|
|
454
|
+
The following features are available in **NowAIKit Pro** and **Enterprise** editions:
|
|
455
|
+
|
|
456
|
+
| Feature | Edition |
|
|
457
|
+
|---------|---------|
|
|
458
|
+
| HTTP API server & web dashboard | Pro |
|
|
459
|
+
| Desktop app (macOS, Windows, Linux) | Pro |
|
|
460
|
+
| SSO / OIDC (Okta, Azure AD / Entra, Ping Identity) | Enterprise |
|
|
461
|
+
| Audit logging (JSONL + SIEM webhooks) | Enterprise |
|
|
462
|
+
| Org policy governance (MDM / GPO deployment) | Enterprise |
|
|
463
|
+
|
|
464
|
+
Learn more at [nowaikit.com/#pricing](https://nowaikit.com/#pricing).
|
|
465
|
+
|
|
466
|
+
---
|
|
467
|
+
|
|
468
|
+
## See It In Action
|
|
469
|
+
|
|
470
|
+
These are real interactions you can have with your AI once NowAIKit is connected:
|
|
471
|
+
|
|
472
|
+
**Operations — plain English:**
|
|
473
|
+
```
|
|
474
|
+
You: "Show me all P1 incidents opened this week that are still unresolved"
|
|
475
|
+
You: "Which assignment groups have the most open incidents right now?"
|
|
476
|
+
You: "Find all change requests scheduled for this weekend"
|
|
477
|
+
You: "Is any SLA about to breach in the next 2 hours?"
|
|
478
|
+
```
|
|
479
|
+
|
|
480
|
+
**Development — AI writes and deploys for you:**
|
|
481
|
+
```
|
|
482
|
+
You: "Create a business rule that auto-assigns high-priority incidents to the NOC group"
|
|
483
|
+
You: "Write a client script that validates email format on the contact form"
|
|
484
|
+
You: "Create a Service Portal widget that shows my team's open tasks"
|
|
485
|
+
You: "Set up a REST Message integration to send alerts to our Slack channel"
|
|
486
|
+
```
|
|
487
|
+
|
|
488
|
+
**AI-powered intelligence:**
|
|
489
|
+
```
|
|
490
|
+
You: "Summarise this incident and suggest a resolution based on similar past cases"
|
|
491
|
+
You: "Use Predictive Intelligence to categorise this new incident description"
|
|
492
|
+
You: "Trigger the SOC Agentic Playbook for this security incident"
|
|
493
|
+
You: "What's the trend in P2 incidents over the last 6 months?"
|
|
494
|
+
```
|
|
495
|
+
|
|
496
|
+
**Advanced automation:**
|
|
497
|
+
```
|
|
498
|
+
You: "Compare record counts between prod and dev for the incident table"
|
|
499
|
+
You: "Check data completeness on the cmdb_ci_server table — which fields are mostly empty?"
|
|
500
|
+
You: "Run the nightly sync transform map on the latest import set"
|
|
501
|
+
You: "Create a scheduled job that emails the on-call team daily at 7am"
|
|
502
|
+
```
|
|
503
|
+
|
|
504
|
+
**Multi-instance & multi-customer:**
|
|
505
|
+
```
|
|
506
|
+
You: "List all configured instances"
|
|
507
|
+
You: "Switch to customer_acme and show me their open P1 incidents"
|
|
508
|
+
You: "Compare open change counts between prod and staging"
|
|
509
|
+
You: "Get SLA breach risk from customer_globex prod instance"
|
|
510
|
+
```
|
|
511
|
+
|
|
512
|
+
See [EXAMPLES.md](EXAMPLES.md) for 120+ real-world examples across all ServiceNow modules.
|
|
513
|
+
|
|
514
|
+
---
|
|
515
|
+
|
|
516
|
+
## Supported AI Clients
|
|
517
|
+
|
|
518
|
+
**Any MCP-compatible AI works.** NowAIKit has been tested with every major AI assistant, editor, and agent framework. Pick yours and follow the 3-step setup below.
|
|
519
|
+
|
|
520
|
+
### AI Assistants & Chat
|
|
521
|
+
|
|
522
|
+
<details>
|
|
523
|
+
<summary><b>Claude Desktop</b> — Anthropic (Mac / Windows / Linux)</summary>
|
|
524
|
+
|
|
525
|
+
1. Install Claude Desktop from [claude.ai/download](https://claude.ai/download)
|
|
526
|
+
2. Edit config:
|
|
527
|
+
- **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
|
|
528
|
+
- **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
|
|
529
|
+
3. Add this block — **single instance** (replace path and credentials):
|
|
530
|
+
|
|
531
|
+
```json
|
|
532
|
+
{
|
|
533
|
+
"mcpServers": {
|
|
534
|
+
"nowaikit": {
|
|
535
|
+
"command": "node",
|
|
536
|
+
"args": ["/absolute/path/to/nowaikit/dist/server.js"],
|
|
537
|
+
"env": {
|
|
538
|
+
"SERVICENOW_INSTANCE_URL": "https://yourinstance.service-now.com",
|
|
539
|
+
"SERVICENOW_AUTH_METHOD": "basic",
|
|
540
|
+
"SERVICENOW_BASIC_USERNAME": "admin",
|
|
541
|
+
"SERVICENOW_BASIC_PASSWORD": "your_password",
|
|
542
|
+
"WRITE_ENABLED": "false"
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
```
|
|
548
|
+
|
|
549
|
+
Or use **multi-instance** (dev + staging + prod, or multiple customer tenants):
|
|
550
|
+
|
|
551
|
+
```json
|
|
552
|
+
{
|
|
553
|
+
"mcpServers": {
|
|
554
|
+
"nowaikit": {
|
|
555
|
+
"command": "node",
|
|
556
|
+
"args": ["/absolute/path/to/nowaikit/dist/server.js"],
|
|
557
|
+
"env": {
|
|
558
|
+
"SN_INSTANCES_CONFIG": "/absolute/path/to/instances.json"
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
```
|
|
564
|
+
|
|
565
|
+
Copy `instances.example.json` → `instances.json`, fill in your instances, then ask:
|
|
566
|
+
> *"List instances"* → *"Switch to prod"* → *"Show me all P1 incidents"*
|
|
567
|
+
> *"Get open changes from customer_acme"* (uses `instance` parameter per-call)
|
|
568
|
+
|
|
569
|
+
4. Restart Claude Desktop. The hammer icon confirms connection.
|
|
570
|
+
|
|
571
|
+
Full guide → [clients/claude-desktop/SETUP.md](clients/claude-desktop/SETUP.md) | [docs/MULTI_INSTANCE.md](docs/MULTI_INSTANCE.md)
|
|
572
|
+
</details>
|
|
573
|
+
|
|
574
|
+
<details>
|
|
575
|
+
<summary><b>ChatGPT / OpenAI</b> (API)</summary>
|
|
576
|
+
|
|
577
|
+
OpenAI supports MCP via the **Responses API** (`mcp` tool type) in the latest SDK (v1.50+):
|
|
578
|
+
|
|
579
|
+
```python
|
|
580
|
+
from openai import OpenAI
|
|
581
|
+
import os, subprocess
|
|
582
|
+
|
|
583
|
+
# Start NowAIKit as a subprocess MCP server
|
|
584
|
+
proc = subprocess.Popen(
|
|
585
|
+
["node", "/path/to/nowaikit/dist/server.js"],
|
|
586
|
+
stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE,
|
|
587
|
+
env={**os.environ,
|
|
588
|
+
"SERVICENOW_INSTANCE_URL": "https://yourinstance.service-now.com",
|
|
589
|
+
"SERVICENOW_AUTH_METHOD": "basic",
|
|
590
|
+
"SERVICENOW_BASIC_USERNAME": "admin",
|
|
591
|
+
"SERVICENOW_BASIC_PASSWORD": "your_password"}
|
|
592
|
+
)
|
|
593
|
+
|
|
594
|
+
client = OpenAI()
|
|
595
|
+
# Use with Responses API tool type "mcp" or via function calling
|
|
596
|
+
response = client.responses.create(
|
|
597
|
+
model="gpt-4o",
|
|
598
|
+
tools=[{"type": "mcp", "server_label": "nowaikit"}],
|
|
599
|
+
input="Show me all open P1 incidents"
|
|
600
|
+
)
|
|
601
|
+
```
|
|
602
|
+
|
|
603
|
+
Full guide → [docs/CLIENT_SETUP.md](docs/CLIENT_SETUP.md)
|
|
604
|
+
</details>
|
|
605
|
+
|
|
606
|
+
<details>
|
|
607
|
+
<summary><b>Google Gemini / Vertex AI</b> (API)</summary>
|
|
608
|
+
|
|
609
|
+
1. Install NowAIKit: `npm install -g nowaikit`
|
|
610
|
+
2. Use the Python client in `clients/gemini/`:
|
|
611
|
+
|
|
612
|
+
```bash
|
|
613
|
+
pip install google-generativeai
|
|
614
|
+
python clients/gemini/servicenow_gemini_client.py
|
|
615
|
+
```
|
|
616
|
+
|
|
617
|
+
Full guide → [clients/gemini/SETUP.md](clients/gemini/SETUP.md)
|
|
618
|
+
</details>
|
|
619
|
+
|
|
620
|
+
<details>
|
|
621
|
+
<summary><b>Google AI Studio</b> — Gemini 2.5 Flash / Pro / Gemini 3 (MCP Preview)</summary>
|
|
622
|
+
|
|
623
|
+
Google AI Studio supports MCP servers via its agent execution environment (currently in preview).
|
|
624
|
+
|
|
625
|
+
1. Go to [aistudio.google.com](https://aistudio.google.com) and open **Build → Agent**
|
|
626
|
+
2. In the **Tools** panel, add an MCP Server and point it to your NowAIKit instance:
|
|
627
|
+
|
|
628
|
+
```json
|
|
629
|
+
{
|
|
630
|
+
"name": "nowaikit",
|
|
631
|
+
"transport": "stdio",
|
|
632
|
+
"command": "node",
|
|
633
|
+
"args": ["/absolute/path/to/nowaikit/dist/server.js"],
|
|
634
|
+
"env": {
|
|
635
|
+
"SERVICENOW_INSTANCE_URL": "https://yourinstance.service-now.com",
|
|
636
|
+
"SERVICENOW_AUTH_METHOD": "basic",
|
|
637
|
+
"SERVICENOW_BASIC_USERNAME": "admin",
|
|
638
|
+
"SERVICENOW_BASIC_PASSWORD": "your_password",
|
|
639
|
+
"WRITE_ENABLED": "false"
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
```
|
|
643
|
+
|
|
644
|
+
3. Alternatively, use the **Gemini API** directly with function calling by mapping NowAIKit tool definitions:
|
|
645
|
+
|
|
646
|
+
```python
|
|
647
|
+
import google.generativeai as genai
|
|
648
|
+
import subprocess, json, os
|
|
649
|
+
|
|
650
|
+
# Start NowAIKit MCP server
|
|
651
|
+
proc = subprocess.Popen(
|
|
652
|
+
["node", "/path/to/nowaikit/dist/server.js"],
|
|
653
|
+
stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE,
|
|
654
|
+
env={**os.environ,
|
|
655
|
+
"SERVICENOW_INSTANCE_URL": "https://yourinstance.service-now.com",
|
|
656
|
+
"SERVICENOW_AUTH_METHOD": "basic",
|
|
657
|
+
"SERVICENOW_BASIC_USERNAME": "admin",
|
|
658
|
+
"SERVICENOW_BASIC_PASSWORD": "your_password"}
|
|
659
|
+
)
|
|
660
|
+
|
|
661
|
+
genai.configure(api_key=os.environ["GOOGLE_API_KEY"])
|
|
662
|
+
model = genai.GenerativeModel("gemini-3.1-pro") # or gemini-3-flash, gemini-2.5-flash
|
|
663
|
+
# Use model.generate_content() with tools= mapped from NowAIKit definitions
|
|
664
|
+
```
|
|
665
|
+
|
|
666
|
+
Full guide → [docs/CLIENT_SETUP.md](docs/CLIENT_SETUP.md)
|
|
667
|
+
</details>
|
|
668
|
+
|
|
669
|
+
<details>
|
|
670
|
+
<summary><b>Grok (xAI)</b> — via OpenAI-compatible API</summary>
|
|
671
|
+
|
|
672
|
+
1. Grok uses the OpenAI-compatible API format. Follow the OpenAI setup above
|
|
673
|
+
2. Set `base_url="https://api.x.ai/v1"` and your `XAI_API_KEY`
|
|
674
|
+
|
|
675
|
+
Full guide → [docs/CLIENT_SETUP.md](docs/CLIENT_SETUP.md)
|
|
676
|
+
</details>
|
|
677
|
+
|
|
678
|
+
---
|
|
679
|
+
|
|
680
|
+
### AI Code Editors
|
|
681
|
+
|
|
682
|
+
<details>
|
|
683
|
+
<summary><b>Cursor</b> — AI-first code editor</summary>
|
|
684
|
+
|
|
685
|
+
1. Open Cursor → Settings → MCP
|
|
686
|
+
2. Add server config:
|
|
687
|
+
|
|
688
|
+
```json
|
|
689
|
+
{
|
|
690
|
+
"mcpServers": {
|
|
691
|
+
"nowaikit": {
|
|
692
|
+
"command": "node",
|
|
693
|
+
"args": ["/absolute/path/to/nowaikit/dist/server.js"],
|
|
694
|
+
"env": {
|
|
695
|
+
"SERVICENOW_INSTANCE_URL": "https://yourinstance.service-now.com",
|
|
696
|
+
"SERVICENOW_AUTH_METHOD": "basic",
|
|
697
|
+
"SERVICENOW_BASIC_USERNAME": "admin",
|
|
698
|
+
"SERVICENOW_BASIC_PASSWORD": "your_password",
|
|
699
|
+
"WRITE_ENABLED": "true",
|
|
700
|
+
"SCRIPTING_ENABLED": "true"
|
|
701
|
+
}
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
```
|
|
706
|
+
3. Restart Cursor. Ask in Chat: *"List all open P1 incidents"*
|
|
707
|
+
|
|
708
|
+
**Multi-instance:** Replace the env block with `"SN_INSTANCES_CONFIG": "/path/to/instances.json"` to connect to multiple tenants.
|
|
709
|
+
|
|
710
|
+
Full guide → [clients/cursor/SETUP.md](clients/cursor/SETUP.md)
|
|
711
|
+
</details>
|
|
712
|
+
|
|
713
|
+
<details>
|
|
714
|
+
<summary><b>Windsurf (Codeium)</b> — AI-native editor</summary>
|
|
715
|
+
|
|
716
|
+
1. Open Windsurf → Cascade → Configure MCP
|
|
717
|
+
2. Add the same JSON block as Cursor above
|
|
718
|
+
3. Reload Windsurf window
|
|
719
|
+
|
|
720
|
+
Full guide → [docs/CLIENT_SETUP.md](docs/CLIENT_SETUP.md)
|
|
721
|
+
</details>
|
|
722
|
+
|
|
723
|
+
<details>
|
|
724
|
+
<summary><b>Zed Editor</b> — collaborative AI editor</summary>
|
|
725
|
+
|
|
726
|
+
1. Open Zed → `~/.config/zed/settings.json`
|
|
727
|
+
2. Add under `"context_servers"`:
|
|
728
|
+
|
|
729
|
+
```json
|
|
730
|
+
{
|
|
731
|
+
"context_servers": {
|
|
732
|
+
"nowaikit": {
|
|
733
|
+
"command": { "path": "node", "args": ["/path/to/nowaikit/dist/server.js"] },
|
|
734
|
+
"settings": {
|
|
735
|
+
"SERVICENOW_INSTANCE_URL": "https://yourinstance.service-now.com",
|
|
736
|
+
"SERVICENOW_AUTH_METHOD": "basic",
|
|
737
|
+
"SERVICENOW_BASIC_USERNAME": "admin",
|
|
738
|
+
"SERVICENOW_BASIC_PASSWORD": "your_password"
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
```
|
|
744
|
+
|
|
745
|
+
Full guide → [docs/CLIENT_SETUP.md](docs/CLIENT_SETUP.md)
|
|
746
|
+
</details>
|
|
747
|
+
|
|
748
|
+
---
|
|
749
|
+
|
|
750
|
+
### IDE Extensions
|
|
751
|
+
|
|
752
|
+
<details>
|
|
753
|
+
<summary><b>VS Code</b> — Native MCP (v1.99+, no subscription required)</summary>
|
|
754
|
+
|
|
755
|
+
VS Code 1.99 and later includes built-in MCP support — no extension or subscription required.
|
|
756
|
+
|
|
757
|
+
1. Install [VS Code 1.99+](https://code.visualstudio.com/download)
|
|
758
|
+
2. Create `.vscode/mcp.json` in your workspace (or edit User settings):
|
|
759
|
+
|
|
760
|
+
```json
|
|
761
|
+
{
|
|
762
|
+
"servers": {
|
|
763
|
+
"nowaikit": {
|
|
764
|
+
"type": "stdio",
|
|
765
|
+
"command": "node",
|
|
766
|
+
"args": ["/absolute/path/to/nowaikit/dist/server.js"],
|
|
767
|
+
"env": {
|
|
768
|
+
"SERVICENOW_INSTANCE_URL": "https://yourinstance.service-now.com",
|
|
769
|
+
"SERVICENOW_AUTH_METHOD": "basic",
|
|
770
|
+
"SERVICENOW_BASIC_USERNAME": "admin",
|
|
771
|
+
"SERVICENOW_BASIC_PASSWORD": "your_password",
|
|
772
|
+
"WRITE_ENABLED": "true",
|
|
773
|
+
"SCRIPTING_ENABLED": "true"
|
|
774
|
+
}
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
```
|
|
779
|
+
|
|
780
|
+
3. Open the Command Palette (`Cmd/Ctrl+Shift+P`) → **MCP: List Servers** to verify the connection
|
|
781
|
+
4. Open Copilot Chat (or any AI assistant in VS Code) and use `@nowaikit` or just ask naturally
|
|
782
|
+
|
|
783
|
+
> **Tip:** Add `.vscode/mcp.json` to `.gitignore` if it contains credentials, or use environment variables from a `.env` file.
|
|
784
|
+
|
|
785
|
+
Full guide → [clients/vscode/SETUP.md](clients/vscode/SETUP.md)
|
|
786
|
+
</details>
|
|
787
|
+
|
|
788
|
+
<details>
|
|
789
|
+
<summary><b>VS Code — GitHub Copilot</b> (agent mode)</summary>
|
|
790
|
+
|
|
791
|
+
1. Install VS Code + GitHub Copilot extension
|
|
792
|
+
2. Create `.vscode/mcp.json` in your project:
|
|
793
|
+
|
|
794
|
+
```json
|
|
795
|
+
{
|
|
796
|
+
"servers": {
|
|
797
|
+
"nowaikit": {
|
|
798
|
+
"type": "stdio",
|
|
799
|
+
"command": "node",
|
|
800
|
+
"args": ["${workspaceFolder}/../../nowaikit/dist/server.js"],
|
|
801
|
+
"env": {
|
|
802
|
+
"SERVICENOW_INSTANCE_URL": "https://yourinstance.service-now.com",
|
|
803
|
+
"SERVICENOW_AUTH_METHOD": "basic",
|
|
804
|
+
"SERVICENOW_BASIC_USERNAME": "admin",
|
|
805
|
+
"SERVICENOW_BASIC_PASSWORD": "your_password"
|
|
806
|
+
}
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
```
|
|
811
|
+
3. Open Copilot Chat → Agent mode → `@nowaikit`
|
|
812
|
+
|
|
813
|
+
Full guide → [clients/vscode/SETUP.md](clients/vscode/SETUP.md)
|
|
814
|
+
</details>
|
|
815
|
+
|
|
816
|
+
<details>
|
|
817
|
+
<summary><b>VS Code — Continue.dev</b> (open-source Copilot alternative)</summary>
|
|
818
|
+
|
|
819
|
+
1. Install [Continue](https://marketplace.visualstudio.com/items?itemName=Continue.continue) from VS Code Marketplace
|
|
820
|
+
2. Edit `~/.continue/config.json`:
|
|
821
|
+
|
|
822
|
+
```json
|
|
823
|
+
{
|
|
824
|
+
"mcpServers": [
|
|
825
|
+
{
|
|
826
|
+
"name": "nowaikit",
|
|
827
|
+
"command": "node",
|
|
828
|
+
"args": ["/path/to/nowaikit/dist/server.js"],
|
|
829
|
+
"env": {
|
|
830
|
+
"SERVICENOW_INSTANCE_URL": "https://yourinstance.service-now.com",
|
|
831
|
+
"SERVICENOW_AUTH_METHOD": "basic",
|
|
832
|
+
"SERVICENOW_BASIC_USERNAME": "admin",
|
|
833
|
+
"SERVICENOW_BASIC_PASSWORD": "your_password"
|
|
834
|
+
}
|
|
835
|
+
}
|
|
836
|
+
]
|
|
837
|
+
}
|
|
838
|
+
```
|
|
839
|
+
|
|
840
|
+
Full guide → [docs/CLIENT_SETUP.md](docs/CLIENT_SETUP.md)
|
|
841
|
+
</details>
|
|
842
|
+
|
|
843
|
+
<details>
|
|
844
|
+
<summary><b>VS Code — Cline</b> (autonomous AI agent)</summary>
|
|
845
|
+
|
|
846
|
+
1. Install [Cline](https://marketplace.visualstudio.com/items?itemName=saoudrizwan.claude-dev) from VS Code Marketplace
|
|
847
|
+
2. Open Cline → MCP Servers → Add Server
|
|
848
|
+
3. Enter the path to `nowaikit/dist/server.js` and your environment variables
|
|
849
|
+
|
|
850
|
+
Full guide → [docs/CLIENT_SETUP.md](docs/CLIENT_SETUP.md)
|
|
851
|
+
</details>
|
|
852
|
+
|
|
853
|
+
<details>
|
|
854
|
+
<summary><b>JetBrains AI Assistant</b> (IntelliJ IDEA, PyCharm, WebStorm, etc.)</summary>
|
|
855
|
+
|
|
856
|
+
1. Install JetBrains AI Assistant plugin
|
|
857
|
+
2. Go to Settings → Tools → AI Assistant → MCP Servers
|
|
858
|
+
3. Add a new server with the path to `nowaikit/dist/server.js`
|
|
859
|
+
4. Set environment variables in the server configuration dialog
|
|
860
|
+
|
|
861
|
+
Full guide → [docs/CLIENT_SETUP.md](docs/CLIENT_SETUP.md)
|
|
862
|
+
</details>
|
|
863
|
+
|
|
864
|
+
<details>
|
|
865
|
+
<summary><b>Amazon Q Developer</b> (AWS CLI + IDE)</summary>
|
|
866
|
+
|
|
867
|
+
1. Install Amazon Q Developer extension for VS Code or IntelliJ
|
|
868
|
+
2. Configure MCP via `~/.aws/amazonq/mcp.json`:
|
|
869
|
+
|
|
870
|
+
```json
|
|
871
|
+
{
|
|
872
|
+
"mcpServers": {
|
|
873
|
+
"nowaikit": {
|
|
874
|
+
"command": "node",
|
|
875
|
+
"args": ["/path/to/nowaikit/dist/server.js"],
|
|
876
|
+
"env": {
|
|
877
|
+
"SERVICENOW_INSTANCE_URL": "https://yourinstance.service-now.com",
|
|
878
|
+
"SERVICENOW_AUTH_METHOD": "basic",
|
|
879
|
+
"SERVICENOW_BASIC_USERNAME": "admin",
|
|
880
|
+
"SERVICENOW_BASIC_PASSWORD": "your_password"
|
|
881
|
+
}
|
|
882
|
+
}
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
```
|
|
886
|
+
|
|
887
|
+
Full guide → [docs/CLIENT_SETUP.md](docs/CLIENT_SETUP.md)
|
|
888
|
+
</details>
|
|
889
|
+
|
|
890
|
+
---
|
|
891
|
+
|
|
892
|
+
### CLI & Terminal Agents
|
|
893
|
+
|
|
894
|
+
<details>
|
|
895
|
+
<summary><b>Claude Code / Claude CLI</b> — Anthropic's official CLI</summary>
|
|
896
|
+
|
|
897
|
+
```bash
|
|
898
|
+
# Install Claude Code
|
|
899
|
+
npm install -g @anthropic-ai/claude-code
|
|
900
|
+
|
|
901
|
+
# Register NowAIKit as an MCP server
|
|
902
|
+
claude mcp add nowaikit node /absolute/path/to/nowaikit/dist/server.js \
|
|
903
|
+
--env SERVICENOW_INSTANCE_URL=https://yourinstance.service-now.com \
|
|
904
|
+
--env SERVICENOW_AUTH_METHOD=basic \
|
|
905
|
+
--env SERVICENOW_BASIC_USERNAME=admin \
|
|
906
|
+
--env SERVICENOW_BASIC_PASSWORD=your_password
|
|
907
|
+
|
|
908
|
+
# Verify
|
|
909
|
+
claude mcp list
|
|
910
|
+
|
|
911
|
+
# Use it
|
|
912
|
+
claude "Show me all unresolved P1 incidents"
|
|
913
|
+
```
|
|
914
|
+
|
|
915
|
+
Full guide → [clients/claude-code/SETUP.md](clients/claude-code/SETUP.md)
|
|
916
|
+
</details>
|
|
917
|
+
|
|
918
|
+
<details>
|
|
919
|
+
<summary><b>Ollama</b> — run AI locally (Llama, Mistral, Phi, etc.)</summary>
|
|
920
|
+
|
|
921
|
+
1. Install [Ollama](https://ollama.ai) and pull a model: `ollama pull llama3`
|
|
922
|
+
2. Use an MCP-compatible client (e.g. Cline or Continue) configured to use Ollama as the model
|
|
923
|
+
3. Point the MCP server at `nowaikit/dist/server.js`
|
|
924
|
+
|
|
925
|
+
Full guide → [docs/CLIENT_SETUP.md](docs/CLIENT_SETUP.md)
|
|
926
|
+
</details>
|
|
927
|
+
|
|
928
|
+
---
|
|
929
|
+
|
|
930
|
+
### Programmatic / Agent SDK
|
|
931
|
+
|
|
932
|
+
<details>
|
|
933
|
+
<summary><b>OpenAI Codex / Custom Python Agent</b></summary>
|
|
934
|
+
|
|
935
|
+
```bash
|
|
936
|
+
cd clients/codex
|
|
937
|
+
pip install -r requirements.txt
|
|
938
|
+
cp .env.basic.example .env # fill in your credentials
|
|
939
|
+
python servicenow_openai_client.py
|
|
940
|
+
```
|
|
941
|
+
|
|
942
|
+
Full guide → [clients/codex/SETUP.md](clients/codex/SETUP.md)
|
|
943
|
+
</details>
|
|
944
|
+
|
|
945
|
+
<details>
|
|
946
|
+
<summary><b>Anthropic Agent SDK (Claude API)</b></summary>
|
|
947
|
+
|
|
948
|
+
```python
|
|
949
|
+
import anthropic, subprocess, json
|
|
950
|
+
|
|
951
|
+
# Start NowAIKit subprocess
|
|
952
|
+
proc = subprocess.Popen(
|
|
953
|
+
["node", "/path/to/nowaikit/dist/server.js"],
|
|
954
|
+
stdin=subprocess.PIPE, stdout=subprocess.PIPE,
|
|
955
|
+
env={**os.environ,
|
|
956
|
+
"SERVICENOW_INSTANCE_URL": "https://yourinstance.service-now.com",
|
|
957
|
+
"SERVICENOW_AUTH_METHOD": "basic",
|
|
958
|
+
"SERVICENOW_BASIC_USERNAME": "admin",
|
|
959
|
+
"SERVICENOW_BASIC_PASSWORD": "your_password"}
|
|
960
|
+
)
|
|
961
|
+
# Then use with the Anthropic MCP client SDK
|
|
962
|
+
```
|
|
963
|
+
|
|
964
|
+
See [Anthropic MCP Python SDK](https://github.com/modelcontextprotocol/python-sdk) for full integration.
|
|
965
|
+
</details>
|
|
966
|
+
|
|
967
|
+
---
|
|
968
|
+
|
|
969
|
+
### Quick Reference
|
|
970
|
+
|
|
971
|
+
| Client | Type | Auth | Guide |
|
|
972
|
+
|--------|------|------|-------|
|
|
973
|
+
| Claude Desktop | Desktop app | Basic, OAuth | [Setup](clients/claude-desktop/SETUP.md) |
|
|
974
|
+
| Claude Code CLI | Terminal | Basic, OAuth | [Setup](clients/claude-code/SETUP.md) |
|
|
975
|
+
| Cursor | AI editor | Basic, OAuth | [Setup](clients/cursor/SETUP.md) |
|
|
976
|
+
| Windsurf | AI editor | Basic, OAuth | [Setup](docs/CLIENT_SETUP.md) |
|
|
977
|
+
| Zed | AI editor | Basic, OAuth | [Setup](docs/CLIENT_SETUP.md) |
|
|
978
|
+
| **VS Code** (Native MCP 1.99+) | IDE | Basic, OAuth | [Setup](clients/vscode/SETUP.md) |
|
|
979
|
+
| VS Code + GitHub Copilot | IDE | Basic, OAuth | [Setup](clients/vscode/SETUP.md) |
|
|
980
|
+
| VS Code + Continue.dev | IDE | Basic, OAuth | [Setup](docs/CLIENT_SETUP.md) |
|
|
981
|
+
| VS Code + Cline | IDE | Basic, OAuth | [Setup](docs/CLIENT_SETUP.md) |
|
|
982
|
+
| JetBrains AI | IDE | Basic, OAuth | [Setup](docs/CLIENT_SETUP.md) |
|
|
983
|
+
| Amazon Q Developer | IDE / CLI | Basic, OAuth | [Setup](docs/CLIENT_SETUP.md) |
|
|
984
|
+
| ChatGPT / OpenAI | API | Basic, OAuth | [Setup](clients/codex/SETUP.md) |
|
|
985
|
+
| **Google AI Studio** | API / Agent | Basic, OAuth | [Setup](docs/CLIENT_SETUP.md) |
|
|
986
|
+
| Google Gemini API | API | Basic, OAuth | [Setup](clients/gemini/SETUP.md) |
|
|
987
|
+
| Grok (xAI) | API | Basic, OAuth | [Setup](docs/CLIENT_SETUP.md) |
|
|
988
|
+
| Ollama (local) | Local | Basic | [Setup](docs/CLIENT_SETUP.md) |
|
|
989
|
+
| Anthropic Agent SDK | Python | Basic, OAuth | [Setup](docs/CLIENT_SETUP.md) |
|
|
990
|
+
|
|
991
|
+
---
|
|
992
|
+
|
|
993
|
+
## What's New in v2.5
|
|
994
|
+
|
|
995
|
+
### Multi-provider AI chat in the Desktop app & Web Dashboard
|
|
996
|
+
|
|
997
|
+
The nowaikit Desktop and Web Dashboard support **5 AI providers** side-by-side — with full agentic tool-use for all providers. All model lists are kept current with each provider's latest releases.
|
|
998
|
+
|
|
999
|
+
- **Provider switcher** — one-click toggle between providers in the Chat header; per-provider model dropdown updates automatically
|
|
1000
|
+
- **Claude (Anthropic)** — Opus 4.6 · Sonnet 4.6 · Haiku 4.5
|
|
1001
|
+
- **ChatGPT / OpenAI** — GPT-5.2 · GPT-5.2 Pro · GPT-5.1 · GPT-5 mini · GPT-5 nano · GPT-4.1 · GPT-4o · o3 · o4 mini
|
|
1002
|
+
- **Gemini (Google AI)** — Gemini 3.1 Pro · Gemini 3 Pro · Gemini 3 Flash · 2.5 Pro · 2.5 Flash · 2.5 Flash Lite
|
|
1003
|
+
- **Groq (free)** — Llama 4 Maverick · Llama 4 Scout · Llama 3.3 70B · Llama 3.1 8B — ultra-fast inference, no credit card required
|
|
1004
|
+
- **OpenRouter (200+ models)** — unified gateway to OpenAI o1 Pro · xAI Grok 4 · Claude Opus 4.6 · Gemini 2.5 Flash · DeepSeek R1 · Llama 4 Maverick · and more — many free tiers available
|
|
1005
|
+
- **o3/o4 reasoning model support** — automatic detection skips system messages and switches to `max_completion_tokens`; tools not sent to models that don't support them
|
|
1006
|
+
|
|
1007
|
+
### In-app provider sign-in
|
|
1008
|
+
|
|
1009
|
+
Settings → AI Providers now shows a unified **"Sign in to {Provider}"** flow per provider:
|
|
1010
|
+
|
|
1011
|
+
1. Click **Sign in to Claude / ChatGPT / Gemini / Groq / OpenRouter** — the provider's API key portal opens in your system browser
|
|
1012
|
+
2. Sign in to your account and create/copy an API key
|
|
1013
|
+
3. Paste it directly into the focused input that appears
|
|
1014
|
+
4. Click **Verify Key** — a lightweight validation call confirms the key is valid before you save
|
|
1015
|
+
|
|
1016
|
+
Each provider panel shows a clear **subscription note** explaining that API access is separate from consumer subscriptions (Claude.ai Pro, ChatGPT Plus, Gemini Advanced). Groq and OpenRouter offer generous free tiers — no credit card required.
|
|
1017
|
+
|
|
1018
|
+
### Slash-command tool picker in Chat
|
|
1019
|
+
|
|
1020
|
+
Type `/` in the chat input to open a floating picker over all 400+ ServiceNow tools:
|
|
1021
|
+
|
|
1022
|
+
- Filter by tool name or description as you type
|
|
1023
|
+
- `↑` / `↓` to navigate · **Tab** or **Enter** to select · **Esc** to close
|
|
1024
|
+
- Inserts `/toolname` into your message — the AI knows to invoke that specific tool
|
|
1025
|
+
|
|
1026
|
+
### Other Desktop improvements
|
|
1027
|
+
|
|
1028
|
+
- **Test Key button** — inline on the API key input; calls the provider's model-list endpoint to validate without sending a chat message
|
|
1029
|
+
- **Server health auto-recovery** — polls every 8 seconds; "offline" status recovers automatically without restarting the app
|
|
1030
|
+
- **Dashboard URL truncation** — long instance URLs are truncated with `…` (full URL on hover)
|
|
1031
|
+
- **Bug fix: ChatGPT and Gemini responses now display correctly** — responses were being silently dropped due to a content-format mismatch between provider response conversion and the renderer; now fully fixed for both providers and the HTTP API server
|
|
1032
|
+
|
|
1033
|
+
[Full changelog](CHANGELOG.md)
|
|
1034
|
+
|
|
1035
|
+
## What's New in v2.4
|
|
1036
|
+
|
|
1037
|
+
### Zero-config setup & desktop experience
|
|
1038
|
+
- **`npx nowaikit setup`** — interactive wizard detects and writes config for every AI client automatically. No JSON editing.
|
|
1039
|
+
- **nowaikit Desktop** — cross-platform Electron app (macOS, Windows, Linux) with 8-step visual wizard, dashboard, tool browser, and audit log. No separate server install needed.
|
|
1040
|
+
- **Web dashboard** — served at `http://localhost:3100` by the HTTP server. Browse tools, view health, tail audit logs.
|
|
1041
|
+
|
|
1042
|
+
### Slash commands & @ mentions
|
|
1043
|
+
- **11 built-in `/` slash commands** — `/morning-standup`, `/p1-alerts`, `/my-tickets`, `/create-incident`, `/sla-breaches`, `/ci-health`, `/run-atf`, `/switch-instance`, `/deploy-updateset`, and more
|
|
1044
|
+
- **6 `@` mention resources** — `@my-incidents`, `@open-changes`, `@sla-breaches`, `@instance:info`, `@ci:<name>`, `@kb:<title>`
|
|
1045
|
+
- Custom commands via `nowaikit.commands.json`
|
|
1046
|
+
|
|
1047
|
+
### Enterprise features
|
|
1048
|
+
- **Audit logging** — every tool call logged to JSONL file + webhook (SIEM integration). Wired into both MCP and HTTP servers.
|
|
1049
|
+
- **SSO / OIDC** — Okta/Entra/Ping IdP → ServiceNow token exchange. `GET /auth/login` + `/auth/callback` routes in HTTP server.
|
|
1050
|
+
- **Org/team policy** (`nowaikit.org.json`) — admin-deployed config: allowed instances, locked tool packages, SSO enforcement, write controls. Deploy via MDM or GPO.
|
|
1051
|
+
- **Per-user execution context** — auth modes: `service-account`, `per-user` (OAuth Authorization Code), `impersonation`. Queries respect each user's ServiceNow ACLs.
|
|
1052
|
+
|
|
1053
|
+
### App builder integrations
|
|
1054
|
+
- **HTTP API server** (`npm run serve`) — REST proxy for Lovable, Bolt, v0, Replit apps. Keeps credentials server-side.
|
|
1055
|
+
- **Smithery registry** — `smithery install nowaikit` one-command install.
|
|
1056
|
+
|
|
1057
|
+
[Full changelog](CHANGELOG.md)
|
|
1058
|
+
|
|
1059
|
+
## What's New in v2.3
|
|
1060
|
+
|
|
1061
|
+
- **Scoped Application (App Studio) module** — `list_scoped_apps`, `get_scoped_app`, `create_scoped_app`, `update_scoped_app`
|
|
1062
|
+
- **Create/update reports** — `create_report`, `update_report` added to Reporting module
|
|
1063
|
+
- **Create/update dashboards** — `create_dashboard`, `update_dashboard` added to Performance Analytics
|
|
1064
|
+
- **Create portals & pages** — `create_portal`, `create_portal_page` added to Service Portal module
|
|
1065
|
+
- **Create/update catalog items** — `create_catalog_item`, `update_catalog_item` added to Catalog module
|
|
1066
|
+
- **Approval rules** — `create_approval_rule` for automated approval workflow setup
|
|
1067
|
+
[Full changelog](CHANGELOG.md)
|
|
1068
|
+
|
|
1069
|
+
## What's New in v2.2
|
|
1070
|
+
|
|
1071
|
+
- **5 new modules**: System Properties, Update Set Management, Virtual Agent authoring, IT Asset Management, DevOps & Pipeline Tracking
|
|
1072
|
+
- **True multi-instance & multi-customer support** — connect to unlimited instances (dev, staging, prod, customer tenants) simultaneously from one session
|
|
1073
|
+
- **Per-call instance routing** — pass `instance: "name"` to any tool, or `switch_instance` globally
|
|
1074
|
+
- **2 new role packages** — `devops_engineer`, `itam_analyst`
|
|
1075
|
+
- `system_administrator` package extended with system properties and update set tools
|
|
1076
|
+
[Full changelog](CHANGELOG.md)
|
|
1077
|
+
|
|
1078
|
+
### v2.1 highlights
|
|
1079
|
+
|
|
1080
|
+
- **4 new modules**: Service Portal & UI Builder, Integration Hub, Notifications & Attachments, Performance Analytics
|
|
1081
|
+
- **Scripting enhancements** — UI Policies, UI Actions, ACL management
|
|
1082
|
+
- **Reporting enhancements** — scheduled job CRUD + run history
|
|
1083
|
+
- **Now Assist** — `generate_work_notes` AI-drafted work notes for any record
|
|
1084
|
+
- **2 new role packages** — `portal_developer`, `integration_engineer`
|
|
1085
|
+
- **Binary file upload** — `uploadAttachment()` via ServiceNow Attachment API
|
|
1086
|
+
|
|
1087
|
+
## What's New in v2.0
|
|
1088
|
+
|
|
1089
|
+
- **HRSD module** — HR cases, services, profiles, onboarding/offboarding workflows
|
|
1090
|
+
- **CSM module** — Customer cases, accounts, contacts, products, SLA tracking
|
|
1091
|
+
- **Security Operations & GRC** — SecOps incidents, vulnerabilities, risks, controls, threat intel
|
|
1092
|
+
- **Flow Designer** — List, inspect, trigger, and monitor flows and subflows
|
|
1093
|
+
- **OAuth 2.0** for all AI clients
|
|
1094
|
+
- **Role-based tool packages** — persona-specific packages
|
|
1095
|
+
- **Now Assist Agentic Playbooks** — AI automation
|
|
1096
|
+
- **ATF Failure Insight** — test failure diagnostics
|
|
1097
|
+
- **61 unit tests** covering all permission tiers, routing, and domain handlers
|
|
1098
|
+
- **Complete documentation** — reference guides in `docs/`
|
|
1099
|
+
|
|
1100
|
+
---
|
|
1101
|
+
|
|
1102
|
+
## Documentation
|
|
1103
|
+
|
|
1104
|
+
| Guide | Description |
|
|
1105
|
+
|-------|-------------|
|
|
1106
|
+
| [docs/TOOLS.md](docs/TOOLS.md) | Complete reference for all tools with parameters, return types, and permission requirements |
|
|
1107
|
+
| [docs/CLIENT_SETUP.md](docs/CLIENT_SETUP.md) | Step-by-step beginner + advanced setup for all AI clients (Claude, ChatGPT, Gemini, Cursor, VS Code, Windsurf, Continue, Cline, Codex, JetBrains, Ollama) |
|
|
1108
|
+
| [docs/TOOL_PACKAGES.md](docs/TOOL_PACKAGES.md) | Role-based package reference — which tools each of the 14 persona packages includes |
|
|
1109
|
+
| [docs/NOW_ASSIST.md](docs/NOW_ASSIST.md) | Now Assist and AI integration guide — NLQ, AI Search, Agentic Playbooks |
|
|
1110
|
+
| [docs/ATF.md](docs/ATF.md) | ATF testing guide — suites, test runs, ATF Failure Insight |
|
|
1111
|
+
| [docs/SCRIPTING.md](docs/SCRIPTING.md) | Scripting management — business rules, script includes, UI Policies, UI Actions, ACLs, changesets |
|
|
1112
|
+
| [docs/REPORTING.md](docs/REPORTING.md) | Reporting and analytics — aggregate queries, Performance Analytics, scheduled jobs |
|
|
1113
|
+
| [docs/MULTI_INSTANCE.md](docs/MULTI_INSTANCE.md) | Multi-instance configuration via `instances.json` or environment variables |
|
|
1114
|
+
| [docs/SERVICENOW_OAUTH_SETUP.md](docs/SERVICENOW_OAUTH_SETUP.md) | Creating an OAuth application in ServiceNow for secure API access |
|
|
1115
|
+
| [docs/INSTALLATION.md](docs/INSTALLATION.md) | Full installation guide including wizard, enterprise config, SSO, and audit logging |
|
|
1116
|
+
| [clients/lovable/SETUP.md](clients/lovable/SETUP.md) | HTTP API server — integrate with Lovable, Bolt, v0, Replit apps |
|
|
1117
|
+
| [desktop/BUILDING.md](desktop/BUILDING.md) | Build and code-sign the Electron desktop app |
|
|
1118
|
+
| [EXAMPLES.md](EXAMPLES.md) | 120+ real-world examples with inputs, outputs, and advanced workflows |
|
|
1119
|
+
|
|
1120
|
+
---
|
|
1121
|
+
|
|
1122
|
+
## Development
|
|
1123
|
+
|
|
1124
|
+
```bash
|
|
1125
|
+
npm install # install dependencies
|
|
1126
|
+
npm run build # compile TypeScript → dist/
|
|
1127
|
+
npm test # run unit tests
|
|
1128
|
+
npm run dev # watch mode (hot reload)
|
|
1129
|
+
npm run type-check # TypeScript type check only
|
|
1130
|
+
npm run lint # lint
|
|
1131
|
+
```
|
|
1132
|
+
|
|
1133
|
+
### Project Structure
|
|
1134
|
+
|
|
1135
|
+
```
|
|
1136
|
+
src/
|
|
1137
|
+
server.ts — MCP server entry point (stdio)
|
|
1138
|
+
http-server.ts — HTTP API server (REST proxy for web apps)
|
|
1139
|
+
servicenow/
|
|
1140
|
+
client.ts — ServiceNow REST API client (Basic / OAuth / per-user)
|
|
1141
|
+
instances.ts — Multi-instance manager
|
|
1142
|
+
types.ts — TypeScript type definitions + AuthMode
|
|
1143
|
+
tools/
|
|
1144
|
+
index.ts — Tool router & role-based package system
|
|
1145
|
+
core.ts, incident.ts, change.ts, problem.ts, task.ts
|
|
1146
|
+
knowledge.ts, catalog.ts, user.ts, reporting.ts, atf.ts
|
|
1147
|
+
now-assist.ts, script.ts, agile.ts, hrsd.ts, csm.ts
|
|
1148
|
+
security.ts, flow.ts, portal.ts, integration.ts, notification.ts
|
|
1149
|
+
performance.ts, sys-properties.ts, updateset.ts, va.ts, itam.ts, devops.ts
|
|
1150
|
+
prompts/
|
|
1151
|
+
index.ts — MCP prompts registry (/ slash commands)
|
|
1152
|
+
itsm.ts — 11 built-in slash commands
|
|
1153
|
+
user-prompts.ts — Custom commands from nowaikit.commands.json
|
|
1154
|
+
resources/
|
|
1155
|
+
index.ts — MCP resources (@ mentions)
|
|
1156
|
+
auth/
|
|
1157
|
+
sso.ts — OIDC/SSO module (IdP → ServiceNow token exchange)
|
|
1158
|
+
dashboard/
|
|
1159
|
+
html.ts — Web dashboard (served at GET /)
|
|
1160
|
+
cli/
|
|
1161
|
+
index.ts — CLI entry point (commander.js)
|
|
1162
|
+
setup.ts — Interactive setup wizard
|
|
1163
|
+
detect-clients.ts — Auto-detect installed AI clients
|
|
1164
|
+
config-store.ts — ~/.config/nowaikit/instances.json
|
|
1165
|
+
auth.ts — nowaikit auth login/logout/whoami
|
|
1166
|
+
writers/index.ts — Write configs to AI client config files
|
|
1167
|
+
utils/
|
|
1168
|
+
permissions.ts — Five-tier permission gate functions
|
|
1169
|
+
audit.ts — Structured JSONL audit logger + webhook
|
|
1170
|
+
org-config.ts — Org/team policy loader (nowaikit.org.json)
|
|
1171
|
+
errors.ts — Typed error classes
|
|
1172
|
+
logging.ts — Structured logger
|
|
1173
|
+
desktop/
|
|
1174
|
+
main/ — Electron main process (Node.js)
|
|
1175
|
+
renderer/src/ — React 18 UI (Vite)
|
|
1176
|
+
electron-builder.yml — Cross-platform packaging config
|
|
1177
|
+
BUILDING.md — Desktop build & code-signing guide
|
|
1178
|
+
tests/
|
|
1179
|
+
tools/ — Unit tests
|
|
1180
|
+
docs/ — Reference documentation
|
|
1181
|
+
clients/
|
|
1182
|
+
claude-desktop/ — Claude Desktop setup guide
|
|
1183
|
+
cursor/ — Cursor setup guide
|
|
1184
|
+
vscode/ — VS Code setup guide
|
|
1185
|
+
claude-code/ — Claude Code setup guide
|
|
1186
|
+
lovable/ — Lovable/Bolt/v0/Replit HTTP proxy guide
|
|
1187
|
+
codex/ — OpenAI Codex Python client
|
|
1188
|
+
gemini/ — Google Gemini Python client
|
|
1189
|
+
smithery.yaml — Smithery registry config
|
|
1190
|
+
```
|
|
1191
|
+
|
|
1192
|
+
---
|
|
1193
|
+
|
|
1194
|
+
## Contributing
|
|
1195
|
+
|
|
1196
|
+
Contributions are welcome. Please read [CONTRIBUTING.md](CONTRIBUTING.md) before opening a pull request.
|
|
1197
|
+
|
|
1198
|
+
- Bug reports and feature requests: [open an issue](../../issues)
|
|
1199
|
+
- New tool domains, additional tests, or documentation improvements are especially appreciated
|
|
1200
|
+
- All PRs require `npm test` to pass
|
|
1201
|
+
|
|
1202
|
+
---
|
|
1203
|
+
|
|
1204
|
+
## Security
|
|
1205
|
+
|
|
1206
|
+
If you discover a security vulnerability, please follow the responsible disclosure process in [SECURITY.md](SECURITY.md). Do not open a public issue.
|
|
1207
|
+
|
|
1208
|
+
---
|
|
1209
|
+
|
|
1210
|
+
## Frequently Asked Questions
|
|
1211
|
+
|
|
1212
|
+
**Do I need to know the ServiceNow API to use this?**
|
|
1213
|
+
No. For beginners, you just connect your AI and ask questions in plain English. The kit handles all API calls automatically.
|
|
1214
|
+
|
|
1215
|
+
**Which ServiceNow versions are supported?**
|
|
1216
|
+
All actively supported ServiceNow releases. The toolkit targets the latest available APIs and has been tested on the three most recent releases — **Zurich**, **Yokohama**, and **Xanadu** — and works on any currently supported instance.
|
|
1217
|
+
|
|
1218
|
+
**Can I use this on a free Personal Developer Instance (PDI)?**
|
|
1219
|
+
Yes. Get a free PDI at [developer.servicenow.com](https://developer.servicenow.com) and connect in 5 minutes.
|
|
1220
|
+
|
|
1221
|
+
**Is it safe to use on production?**
|
|
1222
|
+
Yes. The permission system is read-only by default. Write, scripting, and Now Assist capabilities must each be explicitly enabled with environment variables. Use role packages to limit the tool surface.
|
|
1223
|
+
|
|
1224
|
+
**Can I use multiple AI providers at the same time?**
|
|
1225
|
+
Yes. Each AI client gets its own MCP config pointing at the same (or different) NowAIKit instance. Run Claude Desktop and Cursor side by side against the same ServiceNow environment. In the nowaikit Desktop app you can switch between Claude, ChatGPT, and Gemini with one click inside the Chat page.
|
|
1226
|
+
|
|
1227
|
+
**Does it support multi-instance / multiple customers?**
|
|
1228
|
+
Yes. Configure any number of instances (prod, staging, dev, or multiple customer tenants) via `instances.json` or environment variables. Use `list_instances`, `switch_instance`, and `get_current_instance` tools to manage them, or pass `instance: "name"` to any individual tool call. See [docs/MULTI_INSTANCE.md](docs/MULTI_INSTANCE.md).
|
|
1229
|
+
|
|
1230
|
+
**Is it free?**
|
|
1231
|
+
Completely free and open-source under the MIT license.
|
|
1232
|
+
|
|
1233
|
+
---
|
|
1234
|
+
|
|
1235
|
+
## License
|
|
1236
|
+
|
|
1237
|
+
[MIT](LICENSE) — free for personal and commercial use.
|
|
1238
|
+
|
|
1239
|
+
---
|
|
1240
|
+
|
|
1241
|
+
<div align="center">
|
|
1242
|
+
|
|
1243
|
+
### The only ServiceNow AI toolkit you'll ever need.
|
|
1244
|
+
|
|
1245
|
+
400+ tools. 31+ modules. Every AI platform. True multi-instance. Open-source forever.
|
|
1246
|
+
|
|
1247
|
+
**NowAIKit** • ServiceNow MCP Server • ServiceNow AI Agent • ServiceNow Claude Integration • ServiceNow ChatGPT • ServiceNow Cursor • ServiceNow Gemini • ServiceNow Automation • ServiceNow Developer Tools • ServiceNow Multi-Instance • ServiceNow MSP
|
|
1248
|
+
|
|
1249
|
+
If NowAIKit saves you time, please ⭐ star the repository — it helps others find the project.
|
|
1250
|
+
|
|
1251
|
+
[](../../stargazers)
|
|
1252
|
+
|
|
1253
|
+
</div>
|