NowAIKit
Get started
Use cases Pricing Docs Contact Get started
Documentation

Everything you need to run AI on ServiceNow

Install the toolkit, connect your AI client, set the guardrails, and start building. Fifteen guides and a complete reference on this page cover every step, every tool, and every configuration flag.

15 guides 450+ tools 36 modules 14 role packages
quick start
$npm install -g nowaikit
$npx nowaikit --setup
Instance connected
AI client configured
450+ tools ready
One liner npx nowaikit --setup
The docs journey

Four steps from zero to production build

Each step maps to a group of guides below. Follow them in order for a first setup, or jump straight to the topic you need.

Guides

Fifteen guides, grouped by task

Every guide keeps its full detail: commands, tables, configuration examples, and troubleshooting. The sidebar below reaches every topic on this page too.

Licensing

Free for individuals, Enterprise for teams

Everything documented here works on the free tier unless marked Enterprise. Details are in the pricing section of the reference below.

Free
All 450+ tools and every module
Unlimited multi-instance connections
14 role-based tool packages
MCP server, SDK, and direct CLI
Install now
Enterprise
Desktop app and web dashboard
HTTP API and SSO / OIDC
Audit logging and org policy
On-premises hosting
See full pricing
Full reference

The complete reference, on one page

Search the sidebar or jump to any topic: installation, client configs, authentication, permission tiers, all tool categories, apps, examples, release notes, and troubleshooting.

NowAIKit Documentation

NowAIKit is the most comprehensive, production-ready AI toolkit for ServiceNow — and the only one that truly does it all. With 400+ tools, a built-in WebUI, and a dedicated desktop app, you can manage incidents, query CMDB, deploy scripts, and automate workflows — all through natural language.

How does NowAIKit work? NowAIKit connects your favourite AI tools — Claude, ChatGPT, Gemini, Cursor, and more — directly to ServiceNow. Use it as a CLI, a browser-based WebUI, or a dedicated desktop app. One setup command and you're ready to go.

How it works

Your AI client
Claude, Cursor, ChatGPT…
NowAIKit
400+ tools
ServiceNow
Your instance

Prerequisites

Before installing NowAIKit, make sure you have the following:

Node.js 20 or higher

Check with node --version. Download from nodejs.org.

npm 9+

Included with Node.js. Check with npm --version.

A ServiceNow instance

Developer, sandbox, or production. You'll need the instance URL and credentials.

A supported AI client

Claude Desktop, Cursor, VS Code, ChatGPT, Gemini, or any other supported AI tool.

Installation

Install NowAIKit globally using npm:

bash
$ npm install -g nowaikit

Or use it without installing via npx (recommended for AI client configs):

bash
$ npx -y nowaikit

Verify the installation:

bash
$ nowaikit --version
3.0.0

Two Ways to Run

NowAIKit supports two execution modes — choose the one that fits your workflow:

Mode Command What It Does
MCP Server npx -y nowaikit Runs as an MCP server. Connect Claude, ChatGPT, Gemini, Cursor, or any MCP-compatible AI client. 400+ tools, fluent query, batch API, execute script — the full toolkit.
Direct CLI (BYOK) nowaikit run <capability> Run any of the 26 AI capabilities directly from your terminal without an AI client. Bring Your Own Key — supports Anthropic, OpenAI, and Ollama.

MCP Mode — Connect Any AI Client

This is the primary mode. Start NowAIKit as an MCP server and point your AI client at it. All 400+ tools including fluent_query, batch_request, and execute_script are available to the AI automatically.

bash
# Start the MCP server (used in AI client configs)
$ npx -y nowaikit

# With write operations enabled
$ npx -y nowaikit --allow-write

Once running, your AI can use power tools like:

  • fluent_query — GlideQuery-style chained queries with where, select, aggregate, groupBy
  • batch_request — bundle up to 50 operations in a single call, 50-70% fewer round-trips
  • execute_script — run GlideRecord, GlideQuery, and server-side APIs directly on the instance

See Client Setup below for config examples for Claude, Cursor, VS Code, and more.

Direct CLI Mode — No AI Client Needed

Run the 26 built-in AI capabilities (scan, review, build, ops, docs) directly from your terminal. You provide your own API key — no MCP client required.

bash
# List all 26 capabilities
$ nowaikit capabilities

# Run a capability with Anthropic
$ nowaikit run scan-health --provider anthropic

# Run with OpenAI
$ nowaikit run review-code --provider openai

# Run with local Ollama (air-gapped)
$ nowaikit run build-business-rule --provider ollama
Which mode should I use? If you already use Claude, Cursor, or another AI client — use MCP mode. If you want to run scans, reviews, or builders from your terminal without setting up an AI client, use Direct CLI mode. Both modes require a ServiceNow instance connection.
Read full installation guide →

Interactive Setup Wizard

The fastest way to get started. NowAIKit includes a guided setup wizard that walks you through connecting your instance, choosing authentication, and configuring your AI client.

bash
$ npx nowaikit --setup

The wizard will prompt you for your instance URL, credentials, authentication method (Basic or OAuth), and generate the correct config for your chosen AI client.

Read full installation guide →

Claude Desktop

Edit your Claude Desktop configuration file to add NowAIKit.

Config file location

OSPath
macOS~/Library/Application Support/Claude/claude_desktop_config.json
Windows%APPDATA%\Claude\claude_desktop_config.json
Linux~/.config/Claude/claude_desktop_config.json

Basic Auth config

claude_desktop_config.json
{
  "mcpServers": {
    "nowaikit": {
      "command": "npx",
      "args": ["-y", "nowaikit"],
      "env": {
        "SN_INSTANCE_URL": "https://your-instance.service-now.com",
        "SN_USERNAME":     "your-username",
        "SN_PASSWORD":     "your-password"
      }
    }
  }
}

With write permissions enabled

claude_desktop_config.json
{
  "mcpServers": {
    "nowaikit": {
      "command": "npx",
      "args": [
        "-y", "nowaikit",
        "--allow-write",
        "--allow-cmdb"
      ],
      "env": {
        "SN_INSTANCE_URL": "https://your-instance.service-now.com",
        "SN_USERNAME":     "your-username",
        "SN_PASSWORD":     "your-password"
      }
    }
  }
}

Restart Claude Desktop after saving the config file.

Claude Code (CLI)

Claude Code is Anthropic's CLI tool for developers. Configure NowAIKit in your .claude/config.json or pass it as a command-line flag:

bash
$ claude --mcp-server nowaikit='npx -y nowaikit'

Or add to your project's .mcp.json for persistent configuration — same format as Claude Desktop.

Read full client setup guide →

Cursor

Create or edit .cursor/mcp.json in your project root:

.cursor/mcp.json
{
  "mcpServers": {
    "nowaikit": {
      "command": "npx",
      "args": ["-y", "nowaikit"],
      "env": {
        "SN_INSTANCE_URL": "https://your-instance.service-now.com",
        "SN_USERNAME":     "your-username",
        "SN_PASSWORD":     "your-password"
      }
    }
  }
}

Alternatively, add it globally via Cursor Settings → MCP → Add new global server.

VS Code & Cline

Install the Cline extension from the VS Code Marketplace, then configure NowAIKit in Cline's MCP settings:

Cline MCP Settings (JSON)
"nowaikit": {
  "command": "npx",
  "args": ["-y", "nowaikit"],
  "env": {
    "SN_INSTANCE_URL": "https://your-instance.service-now.com",
    "SN_USERNAME":     "your-username",
    "SN_PASSWORD":     "your-password"
  }
}

ChatGPT / OpenAI

Use NowAIKit with OpenAI's ecosystem including ChatGPT and Codex. The integration uses a Python wrapper that translates tool schemas to OpenAI function definitions.

Supports the latest models: GPT-4.1, o3, o4-mini, and all OpenAI function-calling models.

Read full setup guide →

Google Gemini

Connect NowAIKit to Google Gemini and Vertex AI. The integration converts tool schemas to Gemini function declarations, supporting Gemini 2.5 Pro, Gemini 2.5 Flash, and all Gemini models with function calling.

Google's free-tier Gemini models are a great option for teams looking to reduce AI costs while maintaining full ServiceNow coverage.

Read full setup guide →

Other Clients

Any client that supports MCP follows the same pattern. Use the npx -y nowaikit command with your credentials as environment variables.

ClientConfig file / location
Windsurf~/.codeium/windsurf/mcp_config.json
Continue.dev~/.continue/config.jsonmcpServers
JetBrainsSettings → Tools → AI Assistant → Servers
Amazon Q~/.aws/amazonq/mcp.json
Zed~/.config/zed/settings.jsoncontext_servers
GitHub Copilot.github/copilot-instructions.md + MCP extension
Client-specific guides are available in the Client Setup Guide.

Environment Variables

NowAIKit is configured via environment variables. Create a .env file in your project directory or set them in your AI client's config.

Variable Required Description
SN_INSTANCE_URL Required Full URL of your ServiceNow instance, e.g. https://dev12345.service-now.com
SN_USERNAME Basic Auth ServiceNow username for Basic Authentication
SN_PASSWORD Basic Auth ServiceNow password for Basic Authentication
SN_OAUTH_CLIENT_ID OAuth OAuth 2.0 client ID
SN_OAUTH_CLIENT_SECRET OAuth OAuth 2.0 client secret
SN_OAUTH_TOKEN_URL OAuth OAuth token endpoint, typically /oauth_token.do
SN_PERSONA Optional Role-based package to activate, e.g. developer, architect

Basic Authentication

The simplest way to connect. Use a dedicated ServiceNow service account rather than a personal account.

.env
SN_INSTANCE_URL=https://your-instance.service-now.com
SN_USERNAME=your-service-account
SN_PASSWORD=your-password
Security tip: Never commit your .env file. Add it to .gitignore. Use a dedicated service account with the minimum required ServiceNow roles.

OAuth 2.0

Recommended for production environments. Requires an OAuth application registered in your ServiceNow instance.

Step 1 — Create an OAuth application in ServiceNow

  1. Navigate to System OAuth › Application Registry
  2. Click NewCreate an OAuth API endpoint for external clients
  3. Set a name, note the Client ID and Client Secret
  4. Set the Token Lifespan and Refresh Token Lifespan as needed

Step 2 — Configure NowAIKit

.env
SN_INSTANCE_URL=https://your-instance.service-now.com
SN_OAUTH_CLIENT_ID=your-client-id
SN_OAUTH_CLIENT_SECRET=your-client-secret
SN_OAUTH_TOKEN_URL=https://your-instance.service-now.com/oauth_token.do
SN_USERNAME=your-username
SN_PASSWORD=your-password
When both OAuth and Basic Auth credentials are present, OAuth takes precedence.

SSO / OIDC (Enterprise)

Enterprise tier supports single sign-on via industry-standard protocols. Connect NowAIKit to your organisation's identity provider for seamless, secure authentication.

ProviderProtocolStatus
OktaOIDC / SAML 2.0Supported
Microsoft Entra ID (Azure AD)OIDCSupported
Ping IdentityOIDCSupported
Any OIDC ProviderOIDCCompatible
SSO/OIDC requires the Enterprise license tier. View pricing →

Multi-Instance Setup

NowAIKit supports connecting to multiple ServiceNow instances simultaneously. Use numbered environment variables to define each instance:

.env
# Primary instance (default)
SN_INSTANCE_URL=https://prod.service-now.com
SN_USERNAME=svc-account
SN_PASSWORD=prod-password

# Secondary instance
SN_INSTANCE_2_URL=https://dev12345.service-now.com
SN_INSTANCE_2_USERNAME=svc-account
SN_INSTANCE_2_PASSWORD=dev-password
SN_INSTANCE_2_NAME=Development

Then ask your AI to switch instances by name: "Switch to the Development instance" or "Connect to my staging environment."

Permission Tiers

NowAIKit uses a five-tier security model. Tier 0 is always active. All higher tiers require explicit flags.

0
Read Always enabled
Search records, view incidents, browse CMDB, query any table. Safe — no data is modified.
default
1
Write Configure
Create, update, and resolve records. Includes incidents, changes, tasks, and catalog items.
--allow-write
2
CMDB Configure
Create and update Configuration Items, manage relationships, and modify CI classes.
--allow-cmdb
3
Scripting Use with care
Deploy Business Rules, Script Includes, UI Policies, and update sets. Use on dev/test instances.
--allow-scripting
4
Agentic Configure
Now Assist autonomous AI features — multi-step orchestration and agentic workflows.
--allow-agentic

Enabling Permissions

Pass permission flags as arguments in your AI client's MCP config:

claude_desktop_config.json — all permissions
"args": [
  "-y", "nowaikit",
  "--allow-write",
  "--allow-cmdb",
  "--allow-scripting",
  "--allow-agentic"
]
Scripting on production: Only enable --allow-scripting on development or test instances. Deploying to production should go through your normal change management process.

Persona Packages

Persona packages pre-configure the tools exposed to your AI based on your role. Set one via the SN_PERSONA environment variable.

Package nameRoleFocus areas
developerServiceNow DeveloperScripts, update sets, ATF, Flow Designer, APIs
architectSolution ArchitectFull platform access, multi-instance, governance
service-deskService Desk AgentIncidents, requests, knowledge, approvals
adminSystem AdministratorPlatform config, user management, security
mspManaged Service ProviderMulti-tenant, customer instances, reporting
itomIT Operations ManagerEvents, alerts, CMDB discovery, monitoring
hrsdHR SpecialistHR cases, employee journeys, knowledge
csmCustomer Service ManagerCases, accounts, entitlements, SLAs
securitySecurity AnalystSecOps, vulnerabilities, threat intelligence
grcGRC SpecialistRisks, controls, audits, compliance
itamAsset ManagerHardware/software assets, contracts, lifecycle
paPerformance AnalystDashboards, indicators, targets, breakdowns
flowFlow Designer SpecialistFlows, subflows, actions, triggers
readonlyRead-Only UserQuery and report only — no write access
.env — activate developer persona
SN_PERSONA=developer

400+ Tools Across 32 Categories

Every tool is production-ready, tested, and works autonomously. Here's what's included in each module.

Incident Management

7 tools

  • create_incident
  • get_incident
  • update_incident
  • resolve_incident
  • close_incident
  • add_work_note
  • add_comment

Problem Management

4 tools

  • create_problem
  • get_problem
  • update_problem
  • resolve_problem

Change Management

5 tools

  • get_change_request
  • list_change_requests
  • update_change_request
  • submit_change_for_approval
  • close_change_request

Task Management

4 tools

  • get_task
  • list_my_tasks
  • update_task
  • complete_task

Core & CMDB

15+ tools

  • Record query & schema
  • CMDB CI management
  • ITOM Discovery
  • MID Server
  • CI relationships

Knowledge Base

6 tools

  • list_knowledge_bases
  • search_knowledge
  • get_knowledge_article
  • create_knowledge_article
  • update_knowledge_article
  • publish_knowledge_article

User & Group Management

8 tools

  • list_users
  • create_user
  • update_user
  • list_groups
  • create_group
  • update_group
  • add_user_to_group
  • remove_user_from_group

Service Catalog

8+ tools

  • Catalog browsing & ordering
  • Item create/update
  • Approval workflows
  • SLA tracking

HRSD

12 tools

  • create_hr_case
  • get_hr_case
  • update_hr_case
  • close_hr_case
  • list_hr_services
  • get_hr_profile
  • list_hr_tasks
  • create_hr_task

CSM

11 tools

  • create_csm_case
  • get_csm_case
  • update_csm_case
  • close_csm_case
  • get_csm_account
  • list_csm_accounts
  • get_csm_case_sla

Now Assist & AI

10+ tools

  • nlq_query
  • ai_search
  • generate_summary
  • suggest_resolution
  • categorize_incident
  • trigger_agentic_playbook
  • generate_work_notes

Scripting

16+ tools

  • Business rules CRUD
  • Script includes CRUD
  • Client scripts CRUD
  • UI Policies
  • UI Actions
  • ACL management
  • Changesets

Flow Designer

10 tools

  • list_flows
  • get_flow
  • trigger_flow
  • get_flow_execution
  • list_subflows
  • get_subflow
  • Process Automation

ATF Testing

9 tools

  • list_atf_suites
  • run_atf_suite
  • list_atf_tests
  • run_atf_test
  • get_atf_suite_result
  • get_atf_failure_insight

Security Ops & GRC

11 tools

  • create_security_incident
  • list_vulnerabilities
  • get_vulnerability
  • list_grc_risks
  • list_grc_controls
  • get_threat_intelligence

Reporting & Performance Analytics

21+ tools

  • Aggregate queries
  • Trend analysis
  • Create/update reports
  • PA indicators
  • Dashboards
  • Data quality checks

Service Portal & UIB

14+ tools

  • Portal/page creation
  • Widget create/deploy
  • Portal themes
  • Next Experience apps
  • UI Components

Integration Hub

19+ tools

  • REST Messages CRUD
  • Transform Maps
  • Import Sets
  • Event Registry
  • OAuth apps
  • Credential aliases

Notifications

12 tools

  • Email notifications CRUD
  • Email logs
  • File attachments
  • Templates
  • Subscriptions

Agile & Scrum

9 tools

  • Stories CRUD
  • Epics
  • Sprints
  • Scrum tasks

Virtual Agent

7 tools

  • Topic authoring
  • Conversation history
  • Categories
  • Topic listing

IT Asset Management

8 tools

  • Assets CRUD
  • Software licenses
  • Contracts
  • Compliance reporting

DevOps & Pipelines

7 tools

  • list_devops_pipelines
  • list_deployments
  • create_devops_change
  • track_deployment
  • get_devops_insights

System Properties

12 tools

  • get_system_property
  • set_system_property
  • list_system_properties
  • Bulk operations
  • Export/import

Update Sets

8 tools

  • get_current_update_set
  • create_update_set
  • switch_update_set
  • complete_update_set
  • preview_update_set
  • export_update_set

App Studio

4 tools

  • list_scoped_apps
  • get_scoped_app
  • create_scoped_app
  • update_scoped_app

Machine Learning

5+ tools

  • Predictive Intelligence
  • Model management
  • Predictions

Documentation Hub

Deep-dive guides for every aspect of NowAIKit. Click any card to read the full documentation.

Installation Guide 3 setup options: wizard, desktop app, or manual. Includes prerequisites and troubleshooting. Read guide →
AI Client Setup Step-by-step setup for Claude, ChatGPT, Cursor, VS Code, Gemini, JetBrains & more. Read guide →
400+ Tools Reference Complete catalog of every tool across all 31+ ServiceNow modules with parameters. Read reference →
Role-Based Packages 14 persona packages — service desk, developer, architect, MSP, security, and more. Read guide →
Now Assist (AI) 10 AI-native tools: NLQ, AI Search, summaries, resolution suggestions, agentic playbooks. Read guide →
ATF Testing 9 tools for automated test execution, suite management, and failure insight. Read guide →
Scripting & Code 27 tools for business rules, script includes, UI policies, ACLs, and update sets. Read guide →
Reporting & Analytics 13 tools for queries, Performance Analytics, scheduled jobs, trends, and exports. Read guide →
Multi-Instance Connect dev, staging, prod, and customer instances. Switch with one click. Read guide →
OAuth Setup Step-by-step ServiceNow OAuth app creation, testing, and security best practices. Read guide →
Connected Services Connect Utils to Builder (VS Code) and MCP Server. Script sync, enriched AI context, full ecosystem. Read guide →
Pricing & Tiers Free and Enterprise plans compared side-by-side. Read guide →
AI Skills & Capabilities 26 AI capabilities merged into core — scan, review, build, ops, and docs with direct execution mode. View docs →
Builder — VS Code AI code generation, two-way script sync, update set management, and instance dashboard. View docs →
Utils — Browser Extension AI assistant, code templates, keyboard shortcuts, node switcher, and encrypted key storage. View docs →
GitHub Repository Source code, issue tracker, and community contributions. View on GitHub →

ITSM

IT Service Management tools cover the full incident lifecycle, change management, problem management, and service requests.

Incidents
  • Create, update, resolve, close incidents
  • Set priority, category, assignment group
  • Add work notes and comments
  • Manage SLAs and escalations
  • Query by any field with full filtering
Change Management
  • Create normal, standard, and emergency changes
  • Submit for CAB review and approval
  • Manage risk assessments
  • Schedule and implement changes
  • Track implementation tasks
Problems & Requests
  • Create and manage problem records
  • Link incidents to problems
  • Create service catalog requests
  • Handle request items and approvals
  • Manage request fulfilment tasks

ITOM & CMDB

IT Operations Management and Configuration Management Database tools for infrastructure visibility and operations.

CMDB
  • Query and update Configuration Items
  • Manage CI relationships
  • Create and update CI classes
  • Run discovery queries
  • Health scoring and compliance
Event Management
  • Query and manage events and alerts
  • Correlate events to CIs
  • Create incidents from alerts
  • Manage alert rules

HRSD & CSM

HR Service Delivery
  • Create and manage HR cases
  • Handle employee journeys and onboarding
  • Manage HR knowledge articles
  • Track HR tasks and approvals
Customer Service
  • Manage customer cases and accounts
  • Handle entitlements and contracts
  • Customer SLA management
  • Case escalation and routing

Development Tools

Scripting & Deployment
  • Create and update Script Includes
  • Manage Business Rules and UI Policies
  • Create and deploy update sets
  • Manage transform maps and integrations
  • REST API builder
ATF — Automated Testing
  • Create and run test cases
  • Manage test suites
  • Schedule automated test runs
  • View test results and logs
Flow Designer
  • Create and trigger flows
  • Manage subflows and actions
  • Debug flow execution
  • Integration Hub connections

Platform & Admin

Knowledge Management
  • Create and publish knowledge articles
  • Manage knowledge bases
  • Handle article workflows and approvals
Performance Analytics
  • Query indicators and breakdowns
  • Manage dashboards and widgets
  • Schedule data collections
User & Group Admin
  • Manage users, groups, and roles
  • Handle group membership
  • On-call rotation management

SecOps & GRC

Security Operations
  • Manage security incidents and vulnerabilities
  • Threat intelligence integration
  • Security incident response workflows
  • Vulnerability tracking and remediation
Governance, Risk & Compliance
  • Risk assessment and management
  • Policy and control monitoring
  • Audit management and tracking
  • Compliance reporting

Agile & Scrum

Agile Development (9 tools)
  • Stories, epics, sprints, and scrum tasks — full CRUD
  • Sprint planning and backlog management
  • Story point tracking and velocity
  • Scrum board management

Virtual Agent

Virtual Agent (7 tools)
  • Topic authoring and management
  • Conversation history and analytics
  • Category management
  • Topic listing and deployment

IT Asset Management

ITAM (8 tools)
  • Hardware and software asset CRUD
  • Software license management
  • Contract tracking
  • Compliance reporting and audits

DevOps & Pipelines

DevOps (7 tools)
  • Pipeline listing and management
  • Deployment tracking and history
  • DevOps change creation
  • DORA metrics and insights

Notifications & Attachments

Notifications (12 tools)
  • Email notification CRUD and templates
  • Email logs and audit trails
  • File attachment upload, list, and delete
  • Notification subscriptions
  • Binary file support (base64 upload)

System Properties & Update Sets

System Properties (12 tools)
  • Get, set, list, delete, and search properties
  • Bulk operations and validation
  • Export/import and audit history
Update Sets (8 tools)
  • Create, list, switch, and complete update sets
  • Preview and export update sets
  • Ensure active update set before changes

Machine Learning & App Studio

Machine Learning
  • Predictive Intelligence predictions
  • Model management and training
App Studio (4 tools)
  • List, get, create, and update scoped applications
  • Scoped app management

Desktop App

NowAIKit includes a native desktop application built with Electron, available for macOS, Windows, and Linux. Features include:

  • System tray integration with quick access
  • Multi-window support for parallel workflows
  • Slash-command tool picker — type / to browse all 400+ tools
  • @ context references for quick navigation
  • Multi-provider AI chat built-in
  • Keyboard shortcuts and hotkeys
  • Automatic updates

Web Dashboard & AI Chat

Access NowAIKit from any browser with the built-in web dashboard. Includes multi-provider AI chat supporting:

Anthropic
  • Claude Opus 4.6 / Sonnet 4.6
  • Claude Haiku 4.5
  • + all latest Claude models
OpenAI
  • GPT-4.1 / GPT-4.1 mini
  • o3 / o4-mini
  • All function-calling models
Google
  • Gemini 2.5 Pro
  • Gemini 2.5 Flash
  • Vertex AI integration
More Providers
  • Groq (ultra-fast inference)
  • OpenRouter (100+ models)
  • Bring your own API key

Running out of credits with one provider? Switch to another instantly — no coding, no config changes, just click.

HTTP API Server

NowAIKit includes a REST API wrapper that exposes all 400+ tools as HTTP endpoints. Perfect for web apps, dashboards, and custom integrations.

bash
$ npm run serve
# or
$ node dist/http-server.js

Build custom apps with Lovable, v0, Bolt, or any web framework — connect to ServiceNow through NowAIKit's REST API.

Slash Commands

Type / in the chat input to open a floating picker over all 400+ ServiceNow tools. Browse by category, search by name, and insert any tool directly into your conversation.

Use @ to reference context — mention instances, tables, records, or recent results for faster workflows.

Now Assist (AI)

10 AI-native tools that integrate with ServiceNow's Now Assist platform features:

ToolDescription
now_assist_nlqNatural Language Query — ask questions in plain English, get structured results
now_assist_ai_searchAI-powered semantic search across your instance
now_assist_summarizeGenerate summaries of records, incidents, or changes
now_assist_suggest_resolutionGet AI-powered resolution suggestions for incidents
now_assist_categorizePredictive intelligence for auto-categorization
now_assist_playbookAgentic playbooks for multi-step orchestration
Read full Now Assist guide →

Reporting & Analytics

13 tools for querying data, building Performance Analytics dashboards, scheduling reports, and exporting results. Ask your AI to generate reports in natural language.

Read full reporting guide →

ATF Testing

9 tools for ServiceNow's Automated Test Framework. Run test suites, get failure insights, and manage test cases — all through natural language.

Read full ATF guide →

Scripting & Code Management

27 tools across 7 domains: Business Rules, Script Includes, Client Scripts, UI Policies, UI Actions, ACLs, and Update Sets. Create, review, update, and deploy code — all from your AI chat.

Requires --allow-scripting flag. Use on dev/test instances only.
Read full scripting guide →

SDK & Fluent Query

Three power tools for advanced ServiceNow operations: fluent_query (GlideQuery-style chained queries), batch_request (multi-operation batching, 50-70% fewer round-trips), and execute_script (server-side Background Script execution).

fluent_query — GlideQuery-style queries

Build complex queries with familiar GlideQuery patterns: where, orWhere, select, aggregate (COUNT/AVG/SUM/MIN/MAX), groupBy, orderBy, and limit. Supports dot-walking and display values.

json
{
  "table": "incident",
  "where": [["active","=",true], ["priority","<",3]],
  "select": ["number","short_description","caller_id.email"],
  "orderBy": "-sys_created_on",
  "limit": 10
}

batch_request — Multi-operation batching

Execute up to 50 REST operations in a single HTTP call. Reduces round-trips by 50-70%, ideal for dashboards and bulk operations.

json
{
  "operations": [
    { "id": "inc", "method": "GET", "url": "/api/now/table/incident?sysparm_limit=5" },
    { "id": "chg", "method": "GET", "url": "/api/now/table/change_request?sysparm_limit=5" },
    { "id": "prb", "method": "GET", "url": "/api/now/table/problem?sysparm_limit=5" }
  ]
}

execute_script — Server-side scripting

Run GlideRecord, GlideQuery, GlideAggregate, and all server-side APIs directly on the instance. Requires --allow-write.

javascript
var gr = new GlideRecord('incident');
gr.addEncodedQuery('active=true^priority=1');
gr.query();
gs.print('P1 count: ' + gr.getRowCount());
Read full SDK & Fluent Query guide with real-world examples →

Flow Designer

Create and manage flows, subflows, and actions through natural language. Integrates with Integration Hub for connecting to external systems.

  • Create and trigger flows
  • Manage subflows and reusable actions
  • Debug flow execution and view logs
  • Integration Hub connections to 3rd-party systems

Audit Logging

Enterprise tier includes comprehensive audit logging for compliance and security. Every tool execution is logged with user, timestamp, action, and result.

  • JSONL format — machine-readable, easy to parse
  • SIEM webhooks — stream to Splunk, Sentinel, or any SIEM
  • Per-user context — track who did what, when, and on which instance
Audit logging requires the Enterprise license tier. View pricing →

Pricing & Licensing

NowAIKit uses a two-tier licensing model:

FeatureFreeEnterprise
ToolsAll 400+All 400+
AuthenticationBasic, OAuth, SSOBasic, OAuth, SSO
ServiceNow modulesAll 31+All 31+
AI client supportAllAll
Instances1Unlimited
Desktop appYes
Web dashboard & AI chatYes
SSO / OIDCYes
Audit logging & SIEMYes
Read full pricing details →

Incidents & Changes

These are plain-language prompts you can give to your AI client. NowAIKit translates them to ServiceNow API calls.

You

Create a P1 incident for the payment gateway being down. Assign it to Platform Engineering and add a note that the DB team is investigating.

NowAIKit

Created INC0045821 — "Payment Gateway Outage" · Priority 1 · Assigned to Platform Engineering · Work note added.

You

Show me all open P1 and P2 incidents assigned to my team that haven't been updated in the last 4 hours.

NowAIKit

Found 3 incidents matching your criteria: INC0045820 (P1, 6h stale), INC0045815 (P2, 5h stale), INC0045802 (P2, 4.5h stale).

You

Create an emergency change for tonight's firewall update. Risk level high. Schedule for 11pm–1am.

NowAIKit

Created CHG0032109 — Emergency Change · High risk · Scheduled 23:00–01:00 · Sent for CAB approval.

Scripting & Deployment

Requires --allow-scripting flag. Use on dev/test instances.
You

Write a Script Include that auto-assigns incidents to the on-call group based on category, then deploy it to the current update set.

NowAIKit

Created Script Include IncidentAutoAssign · Added to update set DEV-Sprint-42 · Run ATF tests? (3 test cases available)

You

Run all ATF tests in the "Incident Management" suite and show me the results.

NowAIKit

Test run complete · 12/12 passed · 0 failures · Duration: 47s. All tests green.

Reporting & Analytics

You

Give me a weekly summary of incident volumes by category and average resolution time for each.

NowAIKit

This week: Network (34 incidents, avg 2.1h), Software (28, avg 4.3h), Hardware (15, avg 6.8h), Other (9, avg 3.2h).

You

Which CMDB configuration items have the most incidents linked to them this quarter?

NowAIKit

Top 3: Payment Gateway API (47 incidents), Auth Service (31), Customer DB Primary (28). Shall I create problem records for these?

v4.0.0 Features in Action

Practical examples for the major v4.0.0 capabilities: HTTP transport, dynamic schema discovery, A2A protocol, and the REST API.

Running with HTTP Transport

Start NowAIKit as a Streamable HTTP server accessible to any HTTP client or agent framework.

terminal
# Start NowAIKit as an HTTP server on port 3000
$ TRANSPORT=http PORT=3000 npx nowaikit

# Output:
# NowAIKit v4.0.0 — Streamable HTTP on http://localhost:3000
# Dashboard:   http://localhost:3000/
# MCP endpoint: http://localhost:3000/mcp
# REST API:    http://localhost:3000/api/*
# A2A:         http://localhost:3000/.well-known/agent.json

Dynamic Schema Discovery

Ask your AI to discover any ServiceNow table — including custom ones. NowAIKit reads the schema and auto-generates 5 typed CRUD tools.

You

Discover the u_custom_app table

NowAIKit

Discovered u_custom_app (12 columns). Generated 5 tools:
u_custom_app_list · u_custom_app_get · u_custom_app_create · u_custom_app_update · u_custom_app_delete
All tools are now available for this session.

Write tools (create, update, delete) require the --allow-write flag. Without it, only list and get are generated.

A2A Agent Discovery

NowAIKit exposes a Google A2A agent card so other agents can discover its capabilities automatically.

terminal
$ curl http://localhost:3000/.well-known/agent.json

# Response (abbreviated):
{
  "name": "NowAIKit",
  "description": "400+ ServiceNow tools via MCP",
  "url": "http://localhost:3000",
  "capabilities": {
    "streaming": true,
    "pushNotifications": false
  },
  "skills": [
    { "id": "incident-management", "name": "Incident Management" },
    { "id": "change-management", "name": "Change Management" },
    ...
  ]
}

REST API Usage

Call NowAIKit tools directly via HTTP — no MCP client required. Useful for scripts, CI/CD pipelines, and custom integrations.

terminal
# List all available tools
$ curl -H "Authorization: Bearer $NOWAIKIT_API_KEY" http://localhost:3000/api/tools

# Call a tool directly
$ curl -X POST http://localhost:3000/api/tool \
  -H "Authorization: Bearer $NOWAIKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"get_incident","arguments":{"number":"INC0010001"}}'

# Response:
{
  "result": {
    "number": "INC0010001",
    "short_description": "Email server unreachable",
    "state": "In Progress",
    "priority": "2 - High"
  }
}

See the Transport Configuration section for full endpoint reference and authentication details.

What's New

Stay up to date with the latest NowAIKit releases, features, and improvements.

v4.1.0

Latest
  • dry_run on every write — preview the resolved payload and a before→after diff without touching the instance
  • Structured JSONL audit log — who / instance / tool / table / sys_id / result on every mutating call
  • Write guardrails — config-driven table & field denylist plus scope confinement (e.g. write only x_*)
  • search_tools dynamic tool discovery — lean core set that expands on demand (fixes 400-tool context bloat); MCP_TOOL_DISCOVERY=lean
  • validate_query — check ServiceNow encoded queries before they run
  • MCP Elicitation — confirmation gate on destructive ops (delete / retire / publish / background script)
  • Structured tool output (JSON Schema 2020-12) — typed objects for records and schemas
  • bulk_create with a one-call rollback token; compare_instances for config / property / ACL / update-set deltas
  • Google Gemini provider in BYOK direct mode; cross-platform Agent Skills (incident triage, CMDB health audit, safe deployment)

NowAIKit Cloud 0.1

New
  • Hosted and self-hostable web app — sign in with GitHub, Google, or enterprise OIDC SSO
  • Multi-instance connections — basic auth or automated OAuth provisioning (admin password used once, never stored)
  • BYOK agentic AI assistant — Anthropic, OpenAI, OpenRouter, Groq, Gemini, Ollama, and Claude CLI
  • AI Capabilities, KPI dashboard, sessions & history, and audit logs (optional Postgres persistence)
  • Live at nowaikit-cloud.vercel.app · deploy your own with SSO & air-gap support

SDK v2.1.0

SDK
  • Real schema via sys_dictionary — type, mandatory, reference, choices, with inheritance (replaces sample-row inference)
  • Auto-pagination — iterateRecords() async iterator and getAllRecords()
  • Full attachment API — list, download, and delete (not just upload)
  • OAuth refresh-token, client-credentials, and JWT-bearer grants with a token-persistence callback
  • Request hooks (onRequest / onResponse / onRetry) with secret redaction
  • 429 / Retry-After handling, batch auto-chunking, Import Set API, and getInstanceStats()
  • @nowaikit/sdk/mcp adapter — reuse the SDK as MCP tool handlers (shared core)

v4.0.0

April 2026
  • SSE & Streamable HTTP transport — run as a web server with dashboard, REST API, and auth
  • Google A2A protocol — first ServiceNow toolkit with agent-to-agent interop
  • Dynamic schema discovery — discover_table auto-generates CRUD tools for any table
  • 15+ new tools — Now Assist skills, AI agents, CMDB reconciliation, orchestration, Fluent SDK
  • Web dashboard — dark-theme tool explorer at / with search and stats
  • REST API at /api/* — HTTP endpoints for tools, resources, prompts, instances
  • Encoded query syntax reference — @query-syntax resource for ServiceNow encoded queries
  • Build-ATF-Suite capability — guided 7-step prompt for generating ATF test suites

v3.0.0

  • 26 AI capabilities merged into core: scan, review, build, ops, docs
  • Direct execution mode (BYOK) — use your own API key with Anthropic, OpenAI, or Ollama
  • nowaikit run <capability> CLI command for standalone execution
  • nowaikit capabilities command to list all 26 AI capabilities
  • Lazy-loaded capability prompts — zero performance overhead for MCP clients
  • Total: 400+ tools + 26 capabilities + direct mode

v2.6.0

  • Generic CRUD tools: create_record, update_record, delete_record for any table
  • Fluent Query (fluent_query) — GlideQuery-style chained queries with where, select, aggregate, groupBy
  • Batch API (batch_request) — multi-operation batching, 50-70% fewer round-trips
  • Server-side scripting (execute_script) — run GlideRecord/GlideQuery on the instance
  • Fixed permission gating defect — Now Assist check no longer blocks unrelated tools
  • 400+ total tools across 32 categories

v2.5.3

  • Published to MCP registry as io.github.aartiq/nowaikit
  • Architecture-specific installer filenames (nowaikit-x64, nowaikit-arm64)

v2.5.0

  • nowaikit web command — launch web dashboard via npx nowaikit web
  • ESM compatibility fix (serve.jsserve.cjs)

v2.0.0

Major
  • 365+ ServiceNow tools across all modules
  • Support for ITSM, ITOM, CMDB, CSM, HR, Security, DevOps, and more
  • Multi-instance management
  • 5-tier permission model (read_onlyfull_admin)
  • Natural language search and Now Assist integration

Coming Soon

Roadmap
  • ServiceNow Australia release compatibility testing
  • OAuth Authorization Code flow for per-user delegated access
  • AI agent marketplace — pre-built agent templates for common ServiceNow workflows

Detailed Release Notes

NowAIKit v4.0.0 Core · April 2026

Major release bringing multi-transport support, the A2A protocol, a full REST API, a web dashboard, dynamic schema discovery, and 15+ new tools.

Transport Layer

  • SSE and Streamable HTTP transport — set TRANSPORT=sse or TRANSPORT=http
  • Built-in HTTP server with CORS support and auth middleware via NOWAIKIT_API_KEY
  • Health endpoint at /health for monitoring and load-balancer probes

A2A Protocol (Agent-to-Agent)

  • Agent card published at /.well-known/agent.json
  • Task lifecycle: send, subscribe (SSE streaming), get, cancel
  • Auto-maps all 400+ MCP tools to A2A skills, organized by ServiceNow domain

REST API & Dashboard

  • Complete HTTP API under /api/* for programmatic access
  • Dark-theme web dashboard at / with tool explorer and full-text search
  • Stats cards showing tool counts, categories, and uptime

Dynamic Schema Discovery

  • discover_table introspects any ServiceNow table at runtime via sys_dictionary
  • Auto-generates 5 CRUD tools per discovered table
  • TTL-cached schema with 10-minute default, configurable via SCHEMA_CACHE_TTL

New Tools (15+)

  • Now Assist Skills: create_now_assist_skill, list_now_assist_skills, get_now_assist_skill, test_now_assist_skill
  • AI Agents: create_ai_agent, list_ai_agents, get_ai_agent, create_agentic_workflow
  • CMDB Reconciliation: find duplicate, orphaned, and stale CIs with dry-run mode
  • Orchestration: create, execute, and list orchestration playbooks
  • Fluent SDK: fluent_explain, fluent_init, fluent_build, fluent_validate
  • ML Enhanced: similar incident detection, auto-categorization with confidence thresholds

Other Additions

  • Encoded Query Reference: @query-syntax resource for AI clients
  • Build-ATF-Suite: guided 7-step prompt for generating complete ATF test suites
NowAIKit SDK v2.0.0 SDK · April 2026

TypeScript/JavaScript SDK for building custom integrations on top of NowAIKit.

  • A2A client — inter-agent communication via the Google A2A protocol
  • OAuth PKCE authentication flow for browser-based and CLI clients
  • Response streaming — subscribe to SSE streams for long-running tool executions
  • Schema cache with TTL — local caching of table schemas to reduce API calls
  • Now Assist skill client — invoke portable skills programmatically
  • Fluent SDK type definitions — full TypeScript types for @servicenow/sdk constructs
  • 34 unit tests covering all client methods and edge cases
NowAIKit Builder v1.1.0 Extension · April 2026

VS Code extension for ServiceNow development with AI assistance.

  • Fluent SDK panel and service — explore, scaffold, and build Fluent apps from the editor sidebar
  • A2A agent discovery panel — browse and connect to A2A-compatible agents
  • New GitHub Copilot agents@fluent and @a2a agents for Copilot Chat
NowAIKit Utils v1.2.0 Extension · April 2026

Browser extension for ServiceNow power users.

  • A2A agent discovery panel — discover and interact with A2A agents from within the ServiceNow UI
  • CMDB relationship visualizer — interactive graph view of CI relationships and dependencies
  • Incident timeline view — chronological visualization of incident lifecycle events
  • Fluent SDK detector — automatically detects Fluent-based components on the current page
Upgrade Notes v3.x → v4.0
  • The default transport remains stdio. SSE and HTTP transports are opt-in via the TRANSPORT environment variable.
  • If upgrading from v3.x, no breaking changes to existing tool names or parameters.
  • A2A protocol features require TRANSPORT=sse or TRANSPORT=http to be active.
  • The NOWAIKIT_API_KEY variable is strongly recommended when using HTTP-based transports.

Troubleshooting

Connection refused / Cannot connect to instance

  • Verify SN_INSTANCE_URL includes https:// and no trailing slash
  • Check your network can reach the instance (try opening the URL in a browser)
  • Ensure the instance is not hibernating (common on free developer instances)

Authentication failed (401)

  • Double-check username and password (case-sensitive)
  • Confirm the user account is active and not locked in ServiceNow
  • If using OAuth, verify the client ID/secret and token URL are correct
  • Ensure the service account has at least the snc_read_only role

Tools not appearing in AI client

  • Restart your AI client after changing MCP config
  • Check the MCP config JSON is valid (no trailing commas)
  • Run npx -y nowaikit directly in terminal to see startup errors
  • Verify Node.js 20+ is installed: node --version

Write operations failing (403)

  • Ensure --allow-write flag is in your MCP config args
  • Verify the ServiceNow user has the required write roles for that table
  • Check ServiceNow ACLs aren't blocking the operation for that user

Getting help

If your issue isn't listed above, open an issue on GitHub with the error message and your Node.js / NowAIKit version.

Ready to get started?

Install NowAIKit and connect your first AI assistant to ServiceNow in under 5 minutes.