### Install and Run Setup Wizard Source: https://github.com/aartiq/nowaikit/blob/main/docs/INSTALLATION.md Global installation and initialization of the interactive setup wizard. ```bash # Install globally (Node.js 20+ required) npm install -g nowaikit # Run the wizard npx nowaikit setup ``` -------------------------------- ### Wizard Output Example Source: https://github.com/aartiq/nowaikit/blob/main/docs/INSTALLATION.md Example of the interactive terminal output during the setup process. ```text Welcome to nowaikit ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Step 1/5 — ServiceNow Instance > Instance URL: https://yourcompany.service-now.com > Auth method: (1) Basic (2) OAuth 2.0 [1] Step 2/5 — Credentials > Username: admin > Password: •••••••• Step 3/5 — Testing connection... ✓ Connected to yourcompany.service-now.com (Yokohama) ✓ User: admin (System Administrator) Step 4/5 — Permissions & Role > Tool package: (1) full (2) service_desk (3) platform_developer ... [1] > Enable writes? (y/N): n Step 5/5 — Install into AI client Detected: ✓ Claude Desktop ✓ Cursor ✗ VS Code (not found) > Install into: (1) Claude Desktop (2) Cursor (3) Both (4) .env only ✓ Written: ~/Library/Application Support/Claude/claude_desktop_config.json ✓ Restart Claude Desktop to activate ``` -------------------------------- ### Setup Gemini API Client Source: https://github.com/aartiq/nowaikit/blob/main/docs/CLIENT_SETUP.md Install dependencies and initialize environment variables for the Gemini API client. ```bash cd clients/gemini pip install google-generativeai python-dotenv cp .env.basic.example .env ``` -------------------------------- ### Setup OpenAI Codex Client Source: https://github.com/aartiq/nowaikit/blob/main/docs/CLIENT_SETUP.md Install dependencies and initialize environment variables for the Codex integration. ```bash cd clients/codex pip install openai python-dotenv # Copy and fill in credentials cp .env.basic.example .env # or cp .env.oauth.example .env ``` -------------------------------- ### Install and Configure NowAIKit Source: https://github.com/aartiq/nowaikit/blob/main/README.md Commands to install the package globally and initiate the setup wizard for AI client configuration. ```bash # 1 — install npm install -g nowaikit # 2 — run the wizard: it detects your AI clients and writes their config for you npx nowaikit setup ``` -------------------------------- ### Install NowAIKit via CLI Source: https://github.com/aartiq/nowaikit/blob/main/docs/index.html Use the npx command to initiate the setup process for the NowAIKit MCP server. ```bash $ npx nowaikit setup ``` -------------------------------- ### Start the nowaikit HTTP server Source: https://github.com/aartiq/nowaikit/blob/main/clients/lovable/SETUP.md Commands to clone the repository, install dependencies, configure credentials, and launch the HTTP API server. ```bash # Install nowaikit git clone https://github.com/aartiq/nowaikit.git && cd nowaikit npm install && npm run build cp .env.example .env # fill in your ServiceNow credentials # Start the HTTP API server node dist/http-server.js # Listening on http://127.0.0.1:3100 ``` -------------------------------- ### Start NowAIKit Server Source: https://github.com/aartiq/nowaikit/blob/main/docs/SERVICENOW_OAUTH_SETUP.md Build and start the application to verify OAuth token acquisition in the logs. ```bash cd nowaikit npm run build npm start ``` -------------------------------- ### Install Python Dependencies Source: https://github.com/aartiq/nowaikit/blob/main/clients/codex/SETUP.md Install the required Python packages for the client. ```bash cd clients/codex pip install openai python-dotenv ``` -------------------------------- ### Generate Summary Example Source: https://github.com/aartiq/nowaikit/blob/main/docs/NOW_ASSIST.md Example of invoking the summarization skill. ```text Summarize incident INC0001234 → AI generates natural language summary of the incident history, impact, and current status ``` -------------------------------- ### Initialize environment configuration Source: https://github.com/aartiq/nowaikit/blob/main/docs/INSTALLATION.md Creates the .env file from the provided example template. ```bash cp .env.example .env ``` -------------------------------- ### Install Gemini Dependencies Source: https://github.com/aartiq/nowaikit/blob/main/clients/gemini/SETUP.md Install the required Python packages for the Gemini API integration. ```bash cd clients/gemini pip install google-generativeai python-dotenv ``` -------------------------------- ### Install Recommended Extensions Source: https://github.com/aartiq/nowaikit/blob/main/clients/vscode/SETUP.md Command to copy the extensions recommendation file to the workspace. ```bash cp /path/to/nowaikit/clients/vscode/.vscode/extensions.json .vscode/extensions.json ``` -------------------------------- ### Now Assist Developer Configuration Source: https://github.com/aartiq/nowaikit/blob/main/docs/NOW_ASSIST.md Example .env file configuration for Now Assist development. ```env # .env for Now Assist developer SERVICENOW_INSTANCE_URL=https://yourinstance.service-now.com SERVICENOW_AUTH_METHOD=oauth SERVICENOW_OAUTH_CLIENT_ID=your_client_id SERVICENOW_OAUTH_CLIENT_SECRET=your_client_secret SERVICENOW_OAUTH_USERNAME=your_username SERVICENOW_OAUTH_PASSWORD=your_password NOW_ASSIST_ENABLED=true MCP_TOOL_PACKAGE=ai_developer ``` -------------------------------- ### Install Vertex AI Dependencies Source: https://github.com/aartiq/nowaikit/blob/main/clients/gemini/SETUP.md Install the required Python packages for the Vertex AI integration. ```bash pip install google-cloud-aiplatform python-dotenv ``` -------------------------------- ### Example Queries Source: https://github.com/aartiq/nowaikit/blob/main/clients/gemini/SETUP.md Sample natural language queries to test the integration. ```text Show me all critical incidents from the last 24 hours List pending change requests for this weekend Search knowledge base for network troubleshooting guides What are the top 5 assignment groups by open incident count? ``` -------------------------------- ### Suggest Resolution Example Source: https://github.com/aartiq/nowaikit/blob/main/docs/NOW_ASSIST.md Example of requesting resolution suggestions for an incident. ```text Suggest resolution for incident INC0001234 → Returns recommendation with confidence score and similar incidents ``` -------------------------------- ### Start the HTTP API Server Source: https://github.com/aartiq/nowaikit/blob/main/docs/INSTALLATION.md Commands to launch the server, optionally with API key authentication. ```bash npm run serve # or: node dist/http-server.js --port 3100 # With API key auth: NOWAIKIT_API_KEY=my-secret-key npm run serve ``` -------------------------------- ### Trigger Agentic Playbook Example Source: https://github.com/aartiq/nowaikit/blob/main/docs/NOW_ASSIST.md Example of triggering an agentic playbook with context. ```text trigger_agentic_playbook: playbook_sys_id="", context={incident_sys_id: "..."} ``` -------------------------------- ### Run the Gemini Client Source: https://github.com/aartiq/nowaikit/blob/main/clients/gemini/SETUP.md Execute the Python client to start the integration. ```bash python servicenow_gemini_client.py ``` -------------------------------- ### Setup Cursor MCP Configuration Source: https://github.com/aartiq/nowaikit/blob/main/docs/CLIENT_SETUP.md Initialize the Cursor MCP configuration directory. ```bash mkdir -p .cursor cp /path/to/nowaikit/clients/cursor/.cursor/mcp.basic.json .cursor/mcp.json ``` -------------------------------- ### AI Search Query Example Source: https://github.com/aartiq/nowaikit/blob/main/docs/NOW_ASSIST.md Example of performing a semantic search. ```text ai_search: "how to reset VPN access" across KB and catalog → Returns semantically ranked results ``` -------------------------------- ### Initialize Development Environment Source: https://github.com/aartiq/nowaikit/blob/main/desktop/BUILDING.md Commands to build the parent MCP server and start the desktop application in development mode. ```bash # 1. Build the MCP server (from the repo root) cd /path/to/nowaikit npm install npm run build # 2. Install desktop dependencies cd desktop npm install # 3. Start development mode (hot-reload) npm run dev ``` -------------------------------- ### Natural Language Query Example Source: https://github.com/aartiq/nowaikit/blob/main/docs/NOW_ASSIST.md Example of a natural language query request. ```text # Ask the AI assistant: How many P1 incidents were opened this week? → Uses nlq_query internally, returns structured results ``` -------------------------------- ### Multi-Customer MSP Configuration Source: https://github.com/aartiq/nowaikit/blob/main/docs/MULTI_INSTANCE.md Example configuration for managing multiple customer tenants and performing cross-instance queries. ```json { "default_instance": "internal", "instances": { "internal": { "instance_url": "https://mycompany.service-now.com", "auth_method": "basic", ... }, "client_acme": { "instance_url": "https://acme.service-now.com", "auth_method": "oauth", ... }, "client_globex": { "instance_url": "https://globex.service-now.com", "auth_method": "oauth", ... } } } ``` ```text You: "Compare open P1 incident counts between client_acme and client_globex" AI uses: query_records { "table": "incident", "query": "priority=1^state!=6", "instance": "client_acme" } AI uses: query_records { "table": "incident", "query": "priority=1^state!=6", "instance": "client_globex" } → { Acme: 3, Globex: 7 } ``` -------------------------------- ### Build on Windows Source: https://github.com/aartiq/nowaikit/blob/main/desktop/BUILDING.md Commands to install dependencies and package the application on Windows. ```powershell # PowerShell (run as admin if needed) cd C:\path\to\nowaikit\desktop npm install npm run package:win ``` -------------------------------- ### GET /api/tools Source: https://github.com/aartiq/nowaikit/blob/main/docs/INSTALLATION.md Lists all available tools. ```APIDOC ## GET /api/tools ### Description Returns a list of all tools exposed by the server. ### Method GET ### Endpoint /api/tools ``` -------------------------------- ### GET /api/resources Source: https://github.com/aartiq/nowaikit/blob/main/docs/INSTALLATION.md Lists all available resources. ```APIDOC ## GET /api/resources ### Description Returns a list of all available resources. ### Method GET ### Endpoint /api/resources ``` -------------------------------- ### get_portal Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Get portal configuration and settings. ```APIDOC ## get_portal ### Description Get portal configuration and settings. ### Parameters - **sys_id** (required) ``` -------------------------------- ### Launch NowAIKit Web Dashboard Source: https://github.com/aartiq/nowaikit/blob/main/README.md Command to start the local web-based dashboard for instance management and tool browsing. ```bash npx nowaikit web ``` -------------------------------- ### GET / Source: https://github.com/aartiq/nowaikit/blob/main/docs/INSTALLATION.md Retrieves the web dashboard interface. ```APIDOC ## GET / ### Description Access the web dashboard for the Nowaikit instance. ### Method GET ### Endpoint / ``` -------------------------------- ### GET /api/prompts Source: https://github.com/aartiq/nowaikit/blob/main/docs/INSTALLATION.md Lists all available slash commands. ```APIDOC ## GET /api/prompts ### Description Returns a list of all available slash commands. ### Method GET ### Endpoint /api/prompts ``` -------------------------------- ### get_ui_action Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Get UI action details and script. ```APIDOC ## get_ui_action ### Description Get UI action details and script. ### Parameters - **sys_id** (string) - Required ``` -------------------------------- ### Development and Testing Commands Source: https://github.com/aartiq/nowaikit/blob/main/CONTRIBUTING.md Commands used to start the development server, execute tests, and verify code style. ```bash npm run dev # Start in watch mode npm test # Run tests npm run lint # Check code style ``` -------------------------------- ### Test ServiceNow MCP Queries Source: https://github.com/aartiq/nowaikit/blob/main/clients/claude-desktop/SETUP.md Example prompts to verify the integration within the Claude Desktop chat interface. ```text List my 5 most recent open incidents ``` ```text Search the knowledge base for "VPN reset" ``` -------------------------------- ### get_ux_app Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Get UX app details and routing. ```APIDOC ## get_ux_app ### Description Get UX app details and routing. ### Parameters - **sys_id** (required) ``` -------------------------------- ### GET /auth/login Source: https://github.com/aartiq/nowaikit/blob/main/docs/INSTALLATION.md Initiates the SSO login process. ```APIDOC ## GET /auth/login ### Description Redirects the user to the Identity Provider (IdP) for SSO authentication. ### Method GET ### Endpoint /auth/login ``` -------------------------------- ### Publishing to the MCP registry Source: https://github.com/aartiq/nowaikit/blob/main/RELEASE.md Commands to install the publisher CLI and register the package with the modelcontextprotocol.io registry. ```bash # one-time: install the publisher CLI npm i -g @modelcontextprotocol/publisher # or: npx mcp-publisher # authenticate (GitHub OAuth) and publish using server.json / package metadata mcp-publisher login github mcp-publisher publish ``` -------------------------------- ### get_client_script Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Get client script details and body. ```APIDOC ## get_client_script ### Description Get client script details and body. ### Parameters - **sys_id** (string) - Required ``` -------------------------------- ### Test ServiceNow MCP Commands Source: https://github.com/aartiq/nowaikit/blob/main/clients/vscode/SETUP.md Example commands to run within the Copilot or Claude chat interface. ```text @servicenow List my open incidents ``` ```text @servicenow Search the knowledge base for VPN troubleshooting ``` -------------------------------- ### Test ServiceNow MCP Integration Source: https://github.com/aartiq/nowaikit/blob/main/clients/cursor/SETUP.md Example prompts to verify the MCP server is functioning within Cursor's AI chat. ```text List my open incidents ``` ```text Show me the CMDB health dashboard ``` -------------------------------- ### GET /api/resources Source: https://github.com/aartiq/nowaikit/blob/main/clients/lovable/SETUP.md Lists all available @ mention resources. ```APIDOC ## GET /api/resources ### Description Lists all available @ mention resources. ### Method GET ### Endpoint /api/resources ``` -------------------------------- ### Test AI Client Integration Source: https://github.com/aartiq/nowaikit/blob/main/docs/INSTALLATION.md Example prompt to verify that the AI client correctly triggers the list_incidents tool. ```text List my 5 most recent open incidents ``` -------------------------------- ### Use Workspace Variables in Config Source: https://github.com/aartiq/nowaikit/blob/main/clients/vscode/SETUP.md Example of using the workspace folder variable for the server path. ```json "args": ["${workspaceFolder}/dist/server.js"] ``` -------------------------------- ### Get Absolute Path Source: https://github.com/aartiq/nowaikit/blob/main/docs/INSTALLATION.md Print the current working directory to verify the absolute path for configuration. ```bash pwd ``` -------------------------------- ### get_portal_widget Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Get widget template, CSS, client/server scripts. ```APIDOC ## get_portal_widget ### Description Get widget template, CSS, client/server scripts. ### Parameters - **sys_id** (required) ``` -------------------------------- ### Test Claude Code Connection Source: https://github.com/aartiq/nowaikit/blob/main/docs/CLIENT_SETUP.md Example command to verify the integration within a Claude Code session. ```text # In Claude Code session: List my 5 most recent open incidents ``` -------------------------------- ### Categorize Incident Example Source: https://github.com/aartiq/nowaikit/blob/main/docs/NOW_ASSIST.md Example of using Predictive Intelligence to categorize an incident. ```text Categorize: "Outlook won't open emails since Windows update" → {category: "Email", assignment_group: "Desktop Support", priority: 3, confidence: 0.89} ``` -------------------------------- ### Create MCP Configuration File Source: https://github.com/aartiq/nowaikit/blob/main/clients/vscode/SETUP.md Commands to initialize the .vscode directory and copy the appropriate authentication configuration file. ```bash mkdir -p .vscode # Basic Auth cp /path/to/nowaikit/clients/vscode/.vscode/mcp.basic.json .vscode/mcp.json # OR: OAuth cp /path/to/nowaikit/clients/vscode/.vscode/mcp.oauth.json .vscode/mcp.json ``` -------------------------------- ### Test Queries in Claude Code Source: https://github.com/aartiq/nowaikit/blob/main/clients/claude-code/SETUP.md Example prompts to test the ServiceNow integration within a Claude Code session. ```text List my 5 most recent open incidents ``` ```text Search the knowledge base for "password reset" ``` ```text Show me all active P1 and P2 incidents ``` -------------------------------- ### get_cmdb_ci Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Get full details of a CMDB configuration item. ```APIDOC ## get_cmdb_ci ### Description Get full details of a CMDB configuration item. ### Parameters - **sys_id** (string) - Required - CI sys_id ``` -------------------------------- ### Initialize MCP Configuration Source: https://github.com/aartiq/nowaikit/blob/main/clients/cursor/SETUP.md Commands to create the .cursor directory and copy the appropriate authentication configuration file. ```bash mkdir -p .cursor # Basic Auth cp /path/to/nowaikit/clients/cursor/.cursor/mcp.basic.json .cursor/mcp.json # OR: OAuth cp /path/to/nowaikit/clients/cursor/.cursor/mcp.oauth.json .cursor/mcp.json ``` -------------------------------- ### get_subflow Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Get subflow details. ```APIDOC ## get_subflow ### Description Get subflow details. ### Parameters - **sys_id** (required) ``` -------------------------------- ### Configure .env File Source: https://github.com/aartiq/nowaikit/blob/main/docs/SERVICENOW_OAUTH_SETUP.md Add your ServiceNow instance URL and OAuth credentials to the .env file. ```bash # ServiceNow Instance SERVICENOW_INSTANCE_URL=https://dev12345.service-now.com # OAuth Authentication SERVICENOW_AUTH_METHOD=oauth SERVICENOW_CLIENT_ID=a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6 SERVICENOW_CLIENT_SECRET=z9y8x7w6v5u4t3s2r1q0p9o8n7m6l5k4 SERVICENOW_USERNAME=your_username SERVICENOW_PASSWORD=your_password # Security Settings WRITE_ENABLED=false SCRIPTING_ENABLED=false ``` -------------------------------- ### get_changeset Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Get changeset details. ```APIDOC ## get_changeset ### Description Get changeset details. ### Parameters - **identifier** (string) - Required - sys_id or name ``` -------------------------------- ### Configure Basic Authentication Source: https://github.com/aartiq/nowaikit/blob/main/clients/codex/SETUP.md Set up the environment variables for Basic Auth. ```bash cp .env.basic.example .env ``` ```env SERVICENOW_INSTANCE_URL=https://yourinstance.service-now.com SERVICENOW_AUTH_METHOD=basic SERVICENOW_BASIC_USERNAME=your_username SERVICENOW_BASIC_PASSWORD=your_password WRITE_ENABLED=false OPENAI_API_KEY=your_openai_api_key # Path to the built MCP server (relative to this directory) MCP_SERVER_PATH=../../dist/server.js ``` -------------------------------- ### Configure Windows Code Signing Source: https://github.com/aartiq/nowaikit/blob/main/desktop/BUILDING.md Set environment variables to enable code signing for Windows installers. ```powershell $env:CSC_LINK = "path/to/your-certificate.pfx" $env:CSC_KEY_PASSWORD = "your-certificate-password" npm run package:win ``` -------------------------------- ### List Configured Instances Source: https://github.com/aartiq/nowaikit/blob/main/docs/MULTI_INSTANCE.md Displays all configured instances and identifies the currently active one. ```text You: "Which instances are configured?" AI uses: list_instances → { "current": "dev", "instances": [ { "name": "dev", "url": "https://yourcompany-dev.service-now.com", "active": true }, { "name": "prod", "url": "https://yourcompany.service-now.com", "active": false } ]} ``` -------------------------------- ### Initialize VS Code MCP Configuration Source: https://github.com/aartiq/nowaikit/blob/main/docs/CLIENT_SETUP.md Creates the .vscode directory and copies the basic MCP configuration template to the workspace. ```bash mkdir -p .vscode cp /path/to/nowaikit/clients/vscode/.vscode/mcp.basic.json .vscode/mcp.json ``` -------------------------------- ### Configure Basic Authentication Source: https://github.com/aartiq/nowaikit/blob/main/clients/gemini/SETUP.md Set up the environment variables for basic authentication with ServiceNow and Gemini. ```bash cp .env.basic.example .env ``` ```env SERVICENOW_INSTANCE_URL=https://yourinstance.service-now.com SERVICENOW_AUTH_METHOD=basic SERVICENOW_BASIC_USERNAME=your_username SERVICENOW_BASIC_PASSWORD=your_password WRITE_ENABLED=false GEMINI_API_KEY=your_gemini_api_key MCP_SERVER_PATH=../../dist/server.js ``` -------------------------------- ### get_table_record_count Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Get the total record count for a table. ```APIDOC ## get_table_record_count ### Description Get the total record count for a table. ### Parameters - **table** (string) - Required - **query** (string) - Optional - Optional filter ``` -------------------------------- ### get_pa_time_series Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Get time-series data for a PA indicator. ```APIDOC ## get_pa_time_series ### Description Get time-series data for a PA indicator. ### Parameters - **indicator_sys_id** (string) - Required - **periods** (integer) - Optional - Number of periods (default: 12) ``` -------------------------------- ### Manage Instances and Auth Source: https://github.com/aartiq/nowaikit/blob/main/docs/INSTALLATION.md Commands for managing ServiceNow instances and user authentication. ```bash nowaikit setup --add # Add a second instance nowaikit instances list # List configured instances nowaikit instances remove dev # Remove an instance nowaikit auth login # Per-user OAuth login nowaikit auth whoami # Show active ServiceNow user ``` -------------------------------- ### get_pa_indicator Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Get PA indicator details and definition. ```APIDOC ## get_pa_indicator ### Description Get PA indicator details and definition. ### Parameters - **sys_id** (string) - Required ``` -------------------------------- ### Run the Client Source: https://github.com/aartiq/nowaikit/blob/main/clients/codex/SETUP.md Execute the ServiceNow OpenAI client script. ```bash python servicenow_openai_client.py ``` -------------------------------- ### get_event_registry_entry Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Get event registry entry details. ```APIDOC ## get_event_registry_entry ### Description Get event registry entry details. ### Parameters #### Path Parameters - **sys_id** (string) - Required - The system ID of the event registry entry ``` -------------------------------- ### get_portal_page Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Get portal page details and layout. ```APIDOC ## get_portal_page ### Description Get portal page details and layout. ### Parameters - **sys_id** (required) ``` -------------------------------- ### get_process_automation Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Get a Process Automation Designer process. ```APIDOC ## get_process_automation ### Description Get a Process Automation Designer process. ### Parameters - **sys_id** (required) ``` -------------------------------- ### Package for Production Source: https://github.com/aartiq/nowaikit/blob/main/desktop/BUILDING.md Commands to build and package the application for various operating systems. ```bash # Build both renderer and main process npm run build # Package for current platform npm run package # Package for specific platform npm run package:win # Windows (NSIS installer) npm run package:mac # macOS (DMG) npm run package:linux # Linux (AppImage + .deb) ``` -------------------------------- ### Configure OAuth Authentication Source: https://github.com/aartiq/nowaikit/blob/main/clients/codex/SETUP.md Set up the environment variables for OAuth. ```bash cp .env.oauth.example .env ``` ```env SERVICENOW_INSTANCE_URL=https://yourinstance.service-now.com SERVICENOW_AUTH_METHOD=oauth SERVICENOW_OAUTH_CLIENT_ID=your_client_id SERVICENOW_OAUTH_CLIENT_SECRET=your_client_secret SERVICENOW_OAUTH_USERNAME=your_username SERVICENOW_OAUTH_PASSWORD=your_password WRITE_ENABLED=false OPENAI_API_KEY=your_openai_api_key MCP_SERVER_PATH=../../dist/server.js ``` -------------------------------- ### get_flow_execution Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Get the status and results of a flow execution. ```APIDOC ## get_flow_execution ### Description Get the status and results of a flow execution. ### Parameters - **execution_id** (required) ``` -------------------------------- ### get_flow Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Get flow details and trigger configuration. ```APIDOC ## get_flow ### Description Get flow details and trigger configuration. ### Parameters - **sys_id** (required) ``` -------------------------------- ### get_ui_policy Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Get UI policy details and actions. ```APIDOC ## get_ui_policy ### Description Get UI policy details and actions. ### Parameters - **sys_id** (string) - Required ``` -------------------------------- ### Configure single instance (legacy) Source: https://github.com/aartiq/nowaikit/blob/main/docs/MULTI_INSTANCE.md Use standard environment variables to register a single instance as the default. ```env SERVICENOW_INSTANCE_URL=https://yourinstance.service-now.com SERVICENOW_AUTH_METHOD=basic SERVICENOW_BASIC_USERNAME=admin SERVICENOW_BASIC_PASSWORD=password ``` -------------------------------- ### Publishing NowAIKit packages to npm Source: https://github.com/aartiq/nowaikit/blob/main/RELEASE.md Commands to build, test, and publish the SDK and MCP server packages interactively using an OTP. ```bash # SDK cd nowaikit-sdk npm run build && npm test npm publish --otp=XXXXXX # <- 6-digit code from your authenticator app # MCP server cd ../nowaikit npm run build && npm test npm publish --otp=XXXXXX ``` -------------------------------- ### Configure instances via environment variables Source: https://github.com/aartiq/nowaikit/blob/main/docs/MULTI_INSTANCE.md Define instances using the SN_INSTANCE__* naming convention for each target environment. ```env # Dev instance SN_INSTANCE_DEV_URL=https://yourcompany-dev.service-now.com SN_INSTANCE_DEV_AUTH=basic SN_INSTANCE_DEV_USERNAME=admin SN_INSTANCE_DEV_PASSWORD=dev_password # Staging instance SN_INSTANCE_STAGING_URL=https://yourcompany-stg.service-now.com SN_INSTANCE_STAGING_AUTH=oauth SN_INSTANCE_STAGING_CLIENT_ID=your_client_id SN_INSTANCE_STAGING_CLIENT_SECRET=your_secret SN_INSTANCE_STAGING_USERNAME=svc_account SN_INSTANCE_STAGING_PASSWORD=svc_password # Production instance SN_INSTANCE_PROD_URL=https://yourcompany.service-now.com SN_INSTANCE_PROD_AUTH=oauth SN_INSTANCE_PROD_CLIENT_ID=prod_client_id SN_INSTANCE_PROD_CLIENT_SECRET=prod_secret SN_INSTANCE_PROD_USERNAME=svc_prod SN_INSTANCE_PROD_PASSWORD=svc_password # Set default active instance SN_DEFAULT_INSTANCE=dev ``` -------------------------------- ### get_atf_suite_result Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Get results of an ATF suite run. ```APIDOC ## get_atf_suite_result ### Description Get results of an ATF suite run. ### Parameters - **result_sys_id** (string) - Required ``` -------------------------------- ### get_atf_test Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Get ATF test case details. ```APIDOC ## get_atf_test ### Description Get ATF test case details. ### Parameters - **sys_id** (string) - Required ``` -------------------------------- ### Navigate to Repository Source: https://github.com/aartiq/nowaikit/blob/main/docs/INSTALLATION.md Change the current working directory to the Nowaikit project path. ```bash cd /path/to/nowaikit ``` -------------------------------- ### get_atf_suite Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Get ATF test suite details. ```APIDOC ## get_atf_suite ### Description Get ATF test suite details. ### Parameters - **identifier** (string) - Required - sys_id or name ``` -------------------------------- ### get_scheduled_job Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Get details of a specific scheduled job. ```APIDOC ## get_scheduled_job ### Description Get details of a specific scheduled job. ### Parameters - **sys_id** (string) - Required - The sys_id of the scheduled job ``` -------------------------------- ### Run NowAIKit capabilities Source: https://github.com/aartiq/nowaikit/blob/main/docs/SKILLS_AND_REPORTS.md Commands to list available skills, execute a specific capability, and save output to a file. ```bash # See the available skills nowaikit capabilities # Run one against a configured instance nowaikit run scan-health -i demo2 # Write the output to a file nowaikit run scan-health -i demo2 -o health.md ``` -------------------------------- ### get_report Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Get a report definition by sys_id or name. ```APIDOC ## get_report ### Description Get a report definition by sys_id or name. ### Parameters - **identifier** (string) - Required - The sys_id or name of the report ``` -------------------------------- ### Build the ServiceNow MCP Server Source: https://github.com/aartiq/nowaikit/blob/main/clients/claude-code/SETUP.md Commands to clone the repository and compile the server code. ```bash git clone https://github.com/aartiq/nowaikit.git cd nowaikit npm install npm run build ``` -------------------------------- ### get_sla_details Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Get SLA information for a task record. ```APIDOC ## get_sla_details ### Description Get SLA information for a task record. ### Parameters - **task_sys_id** (string) - Required ``` -------------------------------- ### get_table_schema Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Get field definitions and metadata for a table. ```APIDOC ## get_table_schema ### Description Get field definitions and metadata for a table. ### Parameters - **table** (string) - Required - Table name ``` -------------------------------- ### Configure OAuth Authentication Source: https://github.com/aartiq/nowaikit/blob/main/clients/gemini/SETUP.md Set up the environment variables for OAuth authentication with ServiceNow and Gemini. ```bash cp .env.oauth.example .env ``` ```env SERVICENOW_INSTANCE_URL=https://yourinstance.service-now.com SERVICENOW_AUTH_METHOD=oauth SERVICENOW_OAUTH_CLIENT_ID=your_client_id SERVICENOW_OAUTH_CLIENT_SECRET=your_client_secret SERVICENOW_OAUTH_USERNAME=your_username SERVICENOW_OAUTH_PASSWORD=your_password WRITE_ENABLED=false GEMINI_API_KEY=your_gemini_api_key MCP_SERVER_PATH=../../dist/server.js ``` -------------------------------- ### GET /auth/callback Source: https://github.com/aartiq/nowaikit/blob/main/docs/INSTALLATION.md Handles the OIDC code exchange. ```APIDOC ## GET /auth/callback ### Description Handles the OIDC code exchange after a successful login. ### Method GET ### Endpoint /auth/callback ``` -------------------------------- ### Rebuild Project Source: https://github.com/aartiq/nowaikit/blob/main/docs/INSTALLATION.md Execute the build script to generate necessary distribution files. ```bash npm run build ``` -------------------------------- ### Configure ServiceNow MCP with Basic Auth Source: https://github.com/aartiq/nowaikit/blob/main/clients/vscode/SETUP.md JSON configuration for Basic Authentication in .vscode/mcp.json. ```json { "servers": { "nowaikit": { "type": "stdio", "command": "node", "args": ["/ABSOLUTE/PATH/TO/servicenow-mcp/dist/server.js"], "env": { "SERVICENOW_INSTANCE_URL": "https://yourinstance.service-now.com", "SERVICENOW_AUTH_METHOD": "basic", "SERVICENOW_BASIC_USERNAME": "your_username", "SERVICENOW_BASIC_PASSWORD": "your_password", "WRITE_ENABLED": "false", "MCP_TOOL_PACKAGE": "full" } } } } ``` -------------------------------- ### GET /api/now/table/sys_report Source: https://github.com/aartiq/nowaikit/blob/main/docs/REPORTING.md Retrieves report definitions from the system. ```APIDOC ## GET /api/now/table/sys_report ### Description Retrieves report definitions. ### Method GET ### Endpoint /api/now/table/sys_report ``` -------------------------------- ### Update NowAIKit Source: https://github.com/aartiq/nowaikit/blob/main/README.md Commands to manually update the NowAIKit installation. ```bash nowaikit update npm install -g nowaikit@latest ``` -------------------------------- ### Enable Writes Source: https://github.com/aartiq/nowaikit/blob/main/clients/codex/SETUP.md Configuration to allow creating and updating records. ```env WRITE_ENABLED=true ``` ```text Create a P3 incident: "Printer on floor 3 is not working" ``` -------------------------------- ### Configure nowaikit environment variables Source: https://github.com/aartiq/nowaikit/blob/main/clients/lovable/SETUP.md Settings to define the API key and server port in the .env file. ```bash # Add to .env: NOWAIKIT_API_KEY=my-secret-key HTTP_PORT=3100 ``` -------------------------------- ### export_update_set Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Gets the XML export summary for an Update Set. ```APIDOC ## export_update_set ### Description Get the XML export summary for an Update Set. ### Parameters - **sys_id** (string) - Required ``` -------------------------------- ### get_pa_job Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Get PA job details and run schedule. ```APIDOC ## get_pa_job ### Description Get PA job details and run schedule. ### Parameters - **sys_id** (string) - Required ``` -------------------------------- ### list_ux_apps Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md List Next Experience (UI Builder) app configurations. ```APIDOC ## list_ux_apps ### Description List Next Experience (UI Builder) app configurations. ### Parameters - **active** (optional) - **limit** (optional) ``` -------------------------------- ### get_pa_dashboard Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Get PA dashboard details and widget layout. ```APIDOC ## get_pa_dashboard ### Description Get PA dashboard details and widget layout. ### Parameters - **sys_id** (string) - Required ``` -------------------------------- ### get_pa_scorecard Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Get current PA scorecard scores for an indicator. ```APIDOC ## get_pa_scorecard ### Description Get current PA scorecard scores for an indicator. ### Parameters - **indicator_sys_id** (string) - Required - **limit** (integer) - Optional ``` -------------------------------- ### Configure instances via JSON file Source: https://github.com/aartiq/nowaikit/blob/main/docs/MULTI_INSTANCE.md Define multiple instances in a JSON file and point to it using the SN_INSTANCES_CONFIG environment variable. Ensure this file is added to .gitignore to protect credentials. ```json { "default_instance": "dev", "instances": { "dev": { "instance_url": "https://yourcompany-dev.service-now.com", "auth_method": "basic", "username": "admin", "password": "your_dev_password" }, "staging": { "instance_url": "https://yourcompany-stg.service-now.com", "auth_method": "oauth", "client_id": "your_client_id", "client_secret": "your_client_secret", "username": "svc_account", "password": "svc_password" }, "prod": { "instance_url": "https://yourcompany.service-now.com", "auth_method": "oauth", "client_id": "your_client_id", "client_secret": "your_client_secret", "username": "svc_prod", "password": "svc_password" }, "customer_a": { "instance_url": "https://customera.service-now.com", "auth_method": "basic", "username": "admin", "password": "password" } } } ``` -------------------------------- ### get_email_log Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Get details for a specific email log entry. ```APIDOC ## get_email_log ### Description Get email log entry details. ### Parameters - **sys_id** (string) - Required ``` -------------------------------- ### Configure Cursor OAuth Source: https://github.com/aartiq/nowaikit/blob/main/docs/CLIENT_SETUP.md Copy the OAuth configuration for Cursor. ```bash cp /path/to/nowaikit/clients/cursor/.cursor/mcp.oauth.json .cursor/mcp.json ``` -------------------------------- ### get_import_set Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Get import set details and processing status. ```APIDOC ## get_import_set ### Description Get import set details and processing status. ### Parameters #### Path Parameters - **sys_id** (string) - Required - The system ID of the import set ``` -------------------------------- ### get_transform_map Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Get Transform Map details and field mappings. ```APIDOC ## get_transform_map ### Description Get Transform Map details and field mappings. ### Parameters #### Path Parameters - **sys_id** (string) - Required - The system ID of the transform map ``` -------------------------------- ### Project Directory Structure Source: https://github.com/aartiq/nowaikit/blob/main/desktop/BUILDING.md Overview of the desktop project file organization. ```text desktop/ main/ # Electron main process (Node.js, CommonJS) index.ts # Window management, IPC handlers, app lifecycle preload.ts # Context bridge — exposes window.api to renderer server-manager.ts # Spawns and manages the MCP server child process config-store.ts # Persists instances, settings, audit logs renderer/ # React 18 UI (Vite, ESM) src/ main.tsx # React entry + router components/ AppLayout.tsx # Sidebar + main content layout pages/ Dashboard.tsx # Server status, stats, recent activity SetupWizard.tsx # 8-step interactive setup wizard ToolBrowser.tsx # Browse & search all 400+ tools AuditLog.tsx # Filterable audit log viewer Instances.tsx # Manage ServiceNow instances Settings.tsx # App settings & system info styles/ global.css # Dark theme, components, utilities types.d.ts # TypeScript types for window.api index.html # Vite entry HTML electron-builder.yml # Packaging configuration package.json # Desktop-specific dependencies tsconfig.json # Renderer TypeScript config tsconfig.main.json # Main process TypeScript config vite.config.ts # Vite bundler config BUILDING.md # This file ``` -------------------------------- ### create_ui_action Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Create a new UI action. ```APIDOC ## create_ui_action ### Description Create a new UI action. ### Parameters - **name** (string) - Required - **table** (string) - Required - **script** (string) - Required - **action_name** (string) - Optional - **active** (boolean) - Optional ``` -------------------------------- ### get_rest_message Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Get REST Message details, headers, and authentication. ```APIDOC ## get_rest_message ### Description Get REST Message details, headers, and authentication. ### Parameters #### Path Parameters - **sys_id** (string) - Required - The system ID of the REST message ``` -------------------------------- ### get_portal_theme Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Get portal theme CSS variables and settings. ```APIDOC ## get_portal_theme ### Description Get portal theme CSS variables and settings. ### Parameters - **sys_id** (required) ``` -------------------------------- ### Configure branding via environment variables Source: https://github.com/aartiq/nowaikit/blob/main/docs/SKILLS_AND_REPORTS.md Set persistent branding configurations for reports using environment variables. ```bash export NOWAIKIT_REPORT_COMPANY="Acme" export NOWAIKIT_REPORT_ACCENT="#2563EB" export NOWAIKIT_REPORT_LOGO="/path/to/logo.png" export NOWAIKIT_REPORT_FOOTER="Acme Confidential" nowaikit run scan-health -i demo2 -p claude-cli --format pdf -o report.pdf ``` -------------------------------- ### Register ServiceNow MCP with Basic Auth Source: https://github.com/aartiq/nowaikit/blob/main/clients/claude-code/SETUP.md Register the server using basic authentication credentials. ```bash claude mcp add servicenow \ --command "node" \ --args "/absolute/path/to/nowaikit/dist/server.js" \ --env SERVICENOW_INSTANCE_URL="https://yourinstance.service-now.com" \ --env SERVICENOW_AUTH_METHOD="basic" \ --env SERVICENOW_BASIC_USERNAME="your_username" \ --env SERVICENOW_BASIC_PASSWORD="your_password" \ --env WRITE_ENABLED="false" ``` -------------------------------- ### get_acl Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Get ACL rule details and condition scripts. ```APIDOC ## get_acl ### Description Get ACL rule details and condition scripts. ### Parameters - **sys_id** (string) - Required ``` -------------------------------- ### Configure Claude Desktop for ServiceNow Source: https://github.com/aartiq/nowaikit/blob/main/clients/claude-desktop/SETUP.md JSON configuration templates for connecting to ServiceNow using Basic or OAuth authentication methods. ```json { "mcpServers": { "nowaikit": { "command": "node", "args": ["/ABSOLUTE/PATH/TO/servicenow-mcp/dist/server.js"], "env": { "SERVICENOW_INSTANCE_URL": "https://yourinstance.service-now.com", "SERVICENOW_AUTH_METHOD": "basic", "SERVICENOW_BASIC_USERNAME": "your_username", "SERVICENOW_BASIC_PASSWORD": "your_password", "WRITE_ENABLED": "false", "MCP_TOOL_PACKAGE": "service_desk" } } } } ``` ```json { "mcpServers": { "nowaikit": { "command": "node", "args": ["/ABSOLUTE/PATH/TO/servicenow-mcp/dist/server.js"], "env": { "SERVICENOW_INSTANCE_URL": "https://yourinstance.service-now.com", "SERVICENOW_AUTH_METHOD": "oauth", "SERVICENOW_OAUTH_CLIENT_ID": "your_client_id", "SERVICENOW_OAUTH_CLIENT_SECRET": "your_client_secret", "SERVICENOW_OAUTH_USERNAME": "your_username", "SERVICENOW_OAUTH_PASSWORD": "your_password", "WRITE_ENABLED": "false" } } } } ``` -------------------------------- ### create_script_include Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Create a new script include. ```APIDOC ## create_script_include ### Description Create a new script include. ### Parameters - **name** (string) - Required - **script** (string) - Required - **api_name** (string) - Optional - **access** (string) - Optional - public or package_private ``` -------------------------------- ### service_mapping_summary Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Get Service Mapping application service summaries. ```APIDOC ## service_mapping_summary ### Description Get Service Mapping application service summaries. ### Parameters - **limit** (integer) - Optional - Max services to return ``` -------------------------------- ### GET /api/health Source: https://github.com/aartiq/nowaikit/blob/main/docs/INSTALLATION.md Retrieves the health status and instance information. ```APIDOC ## GET /api/health ### Description Returns the health status and instance information of the server. ### Method GET ### Endpoint /api/health ``` -------------------------------- ### Scheduled Job Creation Workflow Source: https://github.com/aartiq/nowaikit/blob/main/docs/REPORTING.md Demonstrates the sequence for creating, verifying, testing, and auditing a new scheduled script job. ```text 1. Create a new daily script job → create_scheduled_job name="Nightly Cleanup" script="gs.info('running');" run_type="daily" run_time="02:00:00" 2. Verify the job was created → get_scheduled_job sys_id="" 3. Trigger immediately to test → trigger_scheduled_job sys_id="" 4. Check execution history → list_job_run_history job_sys_id="" ``` -------------------------------- ### Register ServiceNow MCP with OAuth Source: https://github.com/aartiq/nowaikit/blob/main/clients/claude-code/SETUP.md Register the server using OAuth credentials, recommended for production environments. ```bash claude mcp add servicenow \ --command "node" \ --args "/absolute/path/to/nowaikit/dist/server.js" \ --env SERVICENOW_INSTANCE_URL="https://yourinstance.service-now.com" \ --env SERVICENOW_AUTH_METHOD="oauth" \ --env SERVICENOW_OAUTH_CLIENT_ID="your_client_id" \ --env SERVICENOW_OAUTH_CLIENT_SECRET="your_client_secret" \ --env SERVICENOW_OAUTH_USERNAME="your_username" \ --env SERVICENOW_OAUTH_PASSWORD="your_password" \ --env WRITE_ENABLED="false" ``` -------------------------------- ### GET /api/now/reporting Source: https://github.com/aartiq/nowaikit/blob/main/docs/REPORTING.md Searches for saved reports within the system. ```APIDOC ## GET /api/now/reporting ### Description Searches for saved reports. ### Method GET ### Endpoint /api/now/reporting ``` -------------------------------- ### Authenticate with GCP Source: https://github.com/aartiq/nowaikit/blob/main/clients/gemini/SETUP.md Configure GCP authentication for development or production environments. ```bash # Option A: User authentication (development) gcloud auth application-default login # Option B: Service account (production) export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account-key.json ``` -------------------------------- ### Configure ServiceNow MCP Server Source: https://github.com/aartiq/nowaikit/blob/main/clients/cursor/SETUP.md JSON configuration templates for Basic and OAuth authentication methods. Ensure the absolute path to the server script is provided. ```json { "mcpServers": { "nowaikit": { "command": "node", "args": ["/ABSOLUTE/PATH/TO/servicenow-mcp/dist/server.js"], "env": { "SERVICENOW_INSTANCE_URL": "https://yourinstance.service-now.com", "SERVICENOW_AUTH_METHOD": "basic", "SERVICENOW_BASIC_USERNAME": "your_username", "SERVICENOW_BASIC_PASSWORD": "your_password", "WRITE_ENABLED": "false", "MCP_TOOL_PACKAGE": "full" } } } } ``` ```json { "mcpServers": { "nowaikit": { "command": "node", "args": ["/ABSOLUTE/PATH/TO/servicenow-mcp/dist/server.js"], "env": { "SERVICENOW_INSTANCE_URL": "https://yourinstance.service-now.com", "SERVICENOW_AUTH_METHOD": "oauth", "SERVICENOW_OAUTH_CLIENT_ID": "your_client_id", "SERVICENOW_OAUTH_CLIENT_SECRET": "your_client_secret", "SERVICENOW_OAUTH_USERNAME": "your_username", "SERVICENOW_OAUTH_PASSWORD": "your_password", "WRITE_ENABLED": "false" } } } } ``` -------------------------------- ### list_instances Source: https://github.com/aartiq/nowaikit/blob/main/docs/MULTI_INSTANCE.md Retrieves a list of all configured instances and identifies the currently active instance. ```APIDOC ## list_instances ### Description Shows all configured instances and which one is currently active. ### Response - **current** (string) - The name of the currently active instance. - **instances** (array) - A list of configured instance objects containing name, url, and active status. ``` -------------------------------- ### get_script_include Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Get full script include record with script body. ```APIDOC ## get_script_include ### Description Get full script include record with script body. ### Parameters - **identifier** (string) - Required - sys_id or API name ``` -------------------------------- ### create_client_script Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Create a new client script. ```APIDOC ## create_client_script ### Description Create a new client script. ### Parameters - **name** (string) - Required - **table** (string) - Required - **type** (string) - Required - **script** (string) - Required - **condition** (string) - Optional ``` -------------------------------- ### get_catalog_item Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Get full details of a catalog item including variables. ```APIDOC ## get_catalog_item ### Description Get full details of a catalog item including variables. ### Parameters - **sys_id** (string) - Required - Catalog item sys_id ``` -------------------------------- ### cmdb_health_dashboard Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Get CMDB health metrics and stale CI counts. ```APIDOC ## cmdb_health_dashboard ### Description Get CMDB health metrics and stale CI counts. ### Parameters - None ``` -------------------------------- ### Configuring npm for CI publishing Source: https://github.com/aartiq/nowaikit/blob/main/RELEASE.md Command to set an authentication token for bypassing 2FA during automated publishing. ```bash npm config set //registry.npmjs.org/:_authToken ``` -------------------------------- ### GET /api/now/table/sys_atf_result Source: https://github.com/aartiq/nowaikit/blob/main/docs/ATF.md Retrieves results for executed ATF test suites. ```APIDOC ## GET /api/now/table/sys_atf_result ### Description Fetches the results of completed or running test suite executions. ### Method GET ### Endpoint /api/now/table/sys_atf_result ``` -------------------------------- ### create_user Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Create a new user. ```APIDOC ## create_user ### Description Create a new user. ### Parameters - **user_name** (string) - Required - **first_name** (string) - Optional - **last_name** (string) - Optional - **email** (string) - Optional - **title** (string) - Optional - **department** (string) - Optional ``` -------------------------------- ### GET /api/now/table/sys_atf_test_suite Source: https://github.com/aartiq/nowaikit/blob/main/docs/ATF.md Retrieves a list of available ATF test suites. ```APIDOC ## GET /api/now/table/sys_atf_test_suite ### Description Lists all available test suites in the system. ### Method GET ### Endpoint /api/now/table/sys_atf_test_suite ``` -------------------------------- ### Manage UI Actions Source: https://github.com/aartiq/nowaikit/blob/main/docs/SCRIPTING.md Workflow for listing, inspecting, and creating UI actions. ```text 1. List UI actions for a table → list_ui_actions table="incident" 2. Inspect an action's script → get_ui_action sys_id="" 3. Create a button action → create_ui_action name="Escalate" table="incident" action_name="escalate" script="..." ``` -------------------------------- ### GET /api/resource Source: https://github.com/aartiq/nowaikit/blob/main/clients/lovable/SETUP.md Reads a specific resource based on the provided URI. ```APIDOC ## GET /api/resource ### Description Reads a specific resource based on the provided URI. ### Method GET ### Endpoint /api/resource ### Parameters #### Query Parameters - **uri** (string) - Required - The resource URI (e.g., servicenow://my-incidents) ``` -------------------------------- ### Configure Vertex AI Environment Source: https://github.com/aartiq/nowaikit/blob/main/clients/gemini/SETUP.md Add project and location settings to the .env file for Vertex AI. ```env GCP_PROJECT_ID=your_gcp_project_id GCP_LOCATION=us-central1 # ServiceNow credentials (same as above) SERVICENOW_INSTANCE_URL=https://yourinstance.service-now.com SERVICENOW_AUTH_METHOD=basic SERVICENOW_BASIC_USERNAME=your_username SERVICENOW_BASIC_PASSWORD=your_password WRITE_ENABLED=false ``` -------------------------------- ### get_business_rule Source: https://github.com/aartiq/nowaikit/blob/main/docs/TOOLS.md Get full business rule record including script body. ```APIDOC ## get_business_rule ### Description Get full business rule record including script body. ### Parameters - **sys_id** (string) - Required - The system ID of the business rule ``` -------------------------------- ### Enable Write Operations Source: https://github.com/aartiq/nowaikit/blob/main/clients/claude-desktop/SETUP.md Configuration snippet to enable record creation and updates. ```json "WRITE_ENABLED": "true" ``` -------------------------------- ### Configure ServiceNow MCP with OAuth Source: https://github.com/aartiq/nowaikit/blob/main/clients/vscode/SETUP.md JSON configuration for OAuth Authentication in .vscode/mcp.json. ```json { "servers": { "nowaikit": { "type": "stdio", "command": "node", "args": ["/ABSOLUTE/PATH/TO/servicenow-mcp/dist/server.js"], "env": { "SERVICENOW_INSTANCE_URL": "https://yourinstance.service-now.com", "SERVICENOW_AUTH_METHOD": "oauth", "SERVICENOW_OAUTH_CLIENT_ID": "your_client_id", "SERVICENOW_OAUTH_CLIENT_SECRET": "your_client_secret", "SERVICENOW_OAUTH_USERNAME": "your_username", "SERVICENOW_OAUTH_PASSWORD": "your_password", "WRITE_ENABLED": "false" } } } } ``` -------------------------------- ### Enable Now Assist Environment Variable Source: https://github.com/aartiq/nowaikit/blob/main/docs/NOW_ASSIST.md Set this environment variable to enable Now Assist functionality. ```env NOW_ASSIST_ENABLED=true ```