ServiceNow Dev MCP
Allows interacting with Jira to create, read, update, delete issues, comments, subtasks, components, versions, manage users and groups, and migrate data to ServiceNow.
Allows interacting with Salesforce to create, read, update, delete sObject records, manage users and public groups/queues, and migrate data to ServiceNow.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ServiceNow Dev MCP Create a business rule that sets priority to Critical when category is Security"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ServiceNow Dev MCP
AI-powered ServiceNow developer toolkit for Claude Code — 116 tools covering script generation, code review, portal & catalog development, notifications, user & group management, CRUD operations, dictionary overrides, data migration, bidirectional integrations, ATF testing, performance analysis, technical documentation, and issue diagnosis.
What is this?
ServiceNow Dev MCP is a Model Context Protocol server that connects Claude Code directly to your ServiceNow, Jira, and Salesforce instances. Instead of switching between tabs, writing boilerplate from scratch, or Googling best practices, you just describe what you need and Claude handles it end-to-end.
"Create a Business Rule that sets priority to Critical when the category is Security"
"Clone the sc-cat-item widget and add a real-time search bar"
"Review this Script Include for performance issues"
"Create a user John Smith with role itil and add him to the Network Operations group"
"Make the business_service field mandatory on incident but not on task"
"Generate full technical documentation for my HR application"
"My widget shows a blank white box — help me diagnose it"
"Create a high-priority Jira ticket and link it to incident INC0012345"
"Migrate all Jira issues from project KAN to the incident table in ServiceNow"Related MCP server: ServiceNow MCP Server
Capabilities
Category | What it does |
Script Generation | Business Rules, Script Includes, Client Scripts, UI Actions, Scripted REST APIs, Scheduled Jobs, Fix Scripts, Widgets — best practices built in |
Code Review | 20-rule static analyser — anti-patterns, performance, security, null-safety. Score 0–10 with per-issue fix guidance |
Service Portal | Analyze portals, find / clone / create / update widgets, scaffold new portals with CSS-variable themes |
Service Catalog | Catalog items with typed variables, client scripts, UI policies; clone existing items; categories; record producers |
Notifications | Email notifications with HTML templates, push notifications, email scripts, notification analysis |
User & Group Management | Create users/groups, assign roles, manage membership — ServiceNow, Jira, and Salesforce |
CRUD Operations | Full Create / Read / Update / Delete on any table/object across all three platforms |
Dictionary Overrides | Create, inspect, and delete field overrides on child tables with correct |
Table Explorer | Schema discovery — fields, BRs, Client Scripts, ACLs, relationships, parent hierarchy |
ATF Testing | Generate Automated Test Framework suites for BRs, SIs, REST APIs, forms, tables |
Performance Analysis | Slow script detection, missing index suggestions, BR audits, error pattern analysis |
Technical Docs | Full project documentation generated from live SN data; feature one-pagers |
Issue Diagnosis | 60+ catalogued issues with step-by-step diagnosis, copy-paste fixes, prevention tips |
Data Migration | Migrate Jira / Salesforce data into any ServiceNow table with full artifact generation |
Bidirectional Integration | Design and implement SN↔Jira, SN↔Salesforce integrations with BRs, Scripted REST, Apex |
Tool count: 116
Tool | What it does |
| Generate any SN artifact with best practices |
| Code review — 20 rules, score 0–10, fix guidance |
| Browse all 20 review rules by category |
| Full schema: fields, BRs, Client Scripts, ACLs, relationships, hierarchy |
| Search tables by keyword |
| All ACL rules for a table |
| ATF test suites for BRs, SIs, REST APIs, forms, tables |
| Slow scripts, index gaps, error patterns, BR audit |
| Search system logs by keyword / source / level |
| Create and run Fix Script records (dry_run safe) |
| Markdown API docs for SIs, BRs, tables, REST APIs, applications |
| Full app scaffold: table + BRs + SI + UI Actions + ACLs + ATF + docs |
| Instance health score with actionable findings |
| Explain SN APIs (GlideRecord, GlideAggregate, RESTMessageV2, etc.) |
| Analyze a complete Service Portal |
| Search widgets by name, ID, or keyword |
| Clone a widget with modifications |
| Generate a complete widget from a requirement |
| PATCH specific widget sections |
| Scaffold a new portal with theme and pages |
| Catalog item with variables, client scripts, UI policies |
| Clone a live catalog item from SN |
| Create a catalog category |
| Fetch catalog item and variables |
| Email notification with responsive HTML template |
| Audit and find issues in existing notifications |
| Push notification for Now Mobile |
| Dynamic email script (sys_script_email) |
| Full project technical doc from live SN data |
| Feature one-pager for sprint / change docs |
| Diagnose any SN issue from a symptom description |
| Step-by-step guided fix for a known issue |
| Browse 60+ catalogued issues by category |
| Get choice list values for any field |
| Add a new value to a choice list |
Tool | Platform | What it does |
| ServiceNow | Create sys_user — roles + groups in one call, manager resolution, auto username |
| ServiceNow | Create sys_user_group — duplicate check, members, roles, parent group |
| ServiceNow | Add / remove / list group members |
| ServiceNow | Assign or revoke roles on users or groups |
| ServiceNow | Full user profile with roles and group memberships |
| ServiceNow | Group detail with member list and assigned roles |
| ServiceNow | Browse sys_user_role with keyword filter |
| Jira | Create group and add initial members |
| Jira | Add / remove / list Jira group members |
| Salesforce | Create User with all required system fields |
| Salesforce | Create Public Groups / Queues, manage members |
Tool | Platform | What it does |
| ServiceNow | Create any record in any table |
| ServiceNow | Read by sys_id or encoded query |
| ServiceNow | PATCH a record — only changed fields |
| ServiceNow | Delete with confirm=true safety gate |
| Jira | Create issues, comments, subtasks, components, versions |
| Jira | Read issues, JQL search, projects, users, boards, sprints, transitions |
| Jira | Update fields, transition status, edit comments |
| Jira | Delete issues or comments with confirm gate |
| Salesforce | Create any sObject record |
| Salesforce | Read by Id, SOQL query, or object describe |
| Salesforce | PATCH a record — only changed fields |
| Salesforce | Delete with confirm gate (recoverable via Recycle Bin) |
Tool | What it does |
| Create or update a field override on a child table. Correctly sets both the value and the required |
| List all active overrides on a table or field — shows which flags are set and their effective values |
| Delete an override, reverting the field to parent table defaults. Requires confirm=true. |
Tool | What it does |
| Show credential/connection status |
| Set per-session credentials (web Claude Code) |
| Test connectivity to SN / Jira / Salesforce |
| Scan SN for existing artifacts, return gap analysis |
| Pull source + target schemas, auto-suggest mappings |
| Jira hierarchy analysis, user mapping, migration sequence |
| Create staging table, transform map, field maps (idempotent) |
| Push sample records, field-level data quality report |
| Full migration in dependency order with parallel batches |
| Map source users to SN users |
| Pre-flight validation |
| Preview a transform rule on sample data |
| Convert Jira ADF / Salesforce HTML to SN HTML |
| Dependency-ordered migration sequence |
| Start an audit trail for a migration |
| Migration audit statistics |
| Field-level comparison: source vs SN |
| Compare staging vs target (PASS/PARTIAL/FAIL) |
| Full migration test report |
| Query any SN table |
| Audit an existing transform map |
| Structured data for sign-off documents |
| Delete migrated records (with confirmation) |
| Delete all migration setup artifacts |
| List Salesforce flows |
| Parse Salesforce flow structure |
| Build equivalent SN Flow Designer flow |
Tool | What it does |
| Design a full bidirectional integration plan (SN↔Jira, SN↔SF, SF↔Jira) |
| Business Rules, Scripted REST APIs, correlation/retry tables |
| Jira webhooks and automation rules |
| Salesforce Apex triggers, Named Credentials, REST callout classes |
| Check sync health and error counts |
| Retry records in the dead-letter table |
| End-to-end integration test |
| Pause all syncs (maintenance mode) |
| Resume syncs after maintenance |
| Update field mappings in a live integration |
Quick start
1. Clone and install
git clone https://github.com/pinnintisagarSB/ServiceNow-Dev-MCP.git
cd ServiceNow-Dev-MCP
npm install2. Configure credentials
cp .env.example .envEdit .env:
# ServiceNow (required for all tools)
SN_INSTANCE_URL=https://yourinstance.service-now.com
SN_USERNAME=admin
SN_PASSWORD=yourpassword
SN_SCOPE_PREFIX=u
# Jira (required for Jira tools)
JIRA_BASE_URL=https://yourcompany.atlassian.net
JIRA_EMAIL=your_email@example.com
JIRA_API_TOKEN=your_api_token
# Salesforce (required for Salesforce tools)
SF_LOGIN_URL=https://login.salesforce.com
SF_CLIENT_ID=your_consumer_key
SF_CLIENT_SECRET=your_consumer_secret
SF_USERNAME=your_sf_username@example.com
SF_PASSWORD=your_sf_password
SF_SECURITY_TOKEN=your_security_token3. Register with Claude Code
claude mcp add sn-dev-mcp node "$(pwd)/src/mcp-server.js"Verify:
claude mcp list
# sn-dev-mcp: node /path/to/... ✔ Connected4. Restart Claude Code
Close and reopen Claude Code. All 116 tools are now available. Type /mcp to confirm.
Example prompts
Script development
Generate a Business Rule on incident that creates a Jira ticket when priority changes to 1
Review this Script Include for performance and security issues — [paste code]
Clone the "sc-cat-item" widget and rename it "My Catalog Item"
Create a catalog item for a Laptop Request with employee name (mandatory),
model (dropdown), justification (text), and manager approval (yes/no)
Create an email notification for when an incident is assigned —
send to the assigned user and their managerUser & group management
Create user Jane Smith, email jane@company.com, title "Senior Analyst",
role itil, add to groups "Service Desk" and "Change Approvers"
Create a group "Network Operations APAC" managed by john.doe,
add members [alice, bob, carol], assign role itil
What roles and groups does david.jones have?
Add sarah.connor to the "Problem Management" group
Remove the admin role from temp.contractor@company.comCRUD across platforms
Create a high-priority incident in ServiceNow for the network outage in Building 3
Find all open Jira tickets assigned to john@company.com in project OPS
Update Salesforce Case 500ABC — set Status to Escalated, Priority to Critical
Create a Jira comment on KAN-55: "Picked up, will update by EOD"
Move Jira ticket KAN-55 to Done statusDictionary overrides
Make the business_service field mandatory on incident but not on task
Rename the caller_id label to "Requested By" on sc_request
Hide the parent field on hr_case
Show me all dictionary overrides on the change_request tableData migration
Migrate all Jira issues from project KAN to the incident table
Run a test migration of 5 records first and show me the field quality report
Design a bidirectional integration between ServiceNow incidents and Jira issuesDebugging & docs
My widget shows a blank white box when it loads — diagnose the issue
The email notification for incidents isn't being received — what could be wrong?
Generate full technical documentation for our IT Asset application
(tables: u_asset, u_asset_request)Architecture
src/
├── mcp-server.js # 116 MCP tools — single entry point
├── connectors/
│ ├── servicenow.js # SN Table API, Import Set API, bulk ops
│ ├── salesforce.js # SF REST + Tooling API + Bulk API 2.0
│ └── jira.js # Jira REST API v3 — full CRUD
├── developer/
│ ├── script-builder.js # Generate BR, SI, CS, UI Action, REST, Job, Widget
│ ├── code-reviewer.js # 20-rule static analyser
│ ├── table-explorer.js # Schema: fields, BRs, ACLs, relationships
│ ├── test-generator.js # ATF test suite generator
│ ├── perf-analyzer.js # Slow scripts, indexes, error patterns
│ ├── doc-generator.js # Markdown API docs per artifact
│ ├── portal-builder.js # SP widget / portal builder
│ ├── catalog-builder.js # Catalog items, variables, categories
│ ├── notification-builder.js # Email & push notifications
│ ├── tech-doc-writer.js # Full project docs from live SN data
│ └── issue-guide.js # 60+ issue catalogue with guided fixes
├── migration/
│ ├── schema.js # Schema discovery + mapping suggestions
│ ├── staging.js # Artifact builder (idempotent)
│ ├── runner.js # Migration runner with topo sort + ETA
│ ├── batch.js # Parallel batch runner + dedup
│ ├── dependency.js # User/hierarchy analysis
│ ├── validator.js # Field-level data quality report
│ ├── transform-engine.js # 15+ transform types
│ ├── reconciler.js # 3-layer reconciliation (PASS/PARTIAL/FAIL)
│ ├── audit.js # NDJSON audit trail
│ ├── user-mapping.js # Source → SN user mapping
│ ├── pre-migration-checks.js # Pre-flight validation
│ └── cleanup.js # Delete records and artifacts
├── integration/
│ ├── designer.js # Integration plan designer
│ ├── sn-artifacts.js # SN BRs, Scripted REST, correlation tables
│ ├── jira-artifacts.js # Jira webhooks + automation rules
│ └── sf-artifacts.js # Salesforce Apex triggers, callout classes
├── flows/
│ ├── retriever.js # Salesforce flow parser
│ └── jira-automation.js # Jira automation retriever
└── utils/
├── logger.js # Structured logging
├── rich-text.js # ADF → HTML, SF HTML → SN HTML
└── sn-auth.js # Basic auth + SDK OAuthRunning modes
Local CLI (default)
node src/mcp-server.jsHTTP/SSE (web Claude Code or remote deployment)
MCP_MODE=http MCP_PORT=3000 node src/mcp-server.jsUpdate .mcp.json with your deployed URL:
{
"mcpServers": {
"sn-dev-mcp": {
"type": "http",
"url": "https://your-server.example.com/sse"
}
}
}In HTTP mode, use configure_credentials to set per-session credentials — never logged or persisted.
Permissions required
Capability | Minimum role |
Read any table |
|
Scripts, BRs, widgets, notifications |
|
Catalog items |
|
User / group management |
|
Data migration (staging tables, transform maps) |
|
ATF tests |
|
Background scripts |
|
Requirements
Node.js 18+
Claude Code (CLI, desktop app, web, or IDE extension)
ServiceNow developer or sub-production instance (PDI recommended)
Jira Cloud API token (for Jira tools)
Salesforce Connected App credentials (for Salesforce tools)
Tool growth
The MCP is designed to grow with every use case. New tools are added by:
Adding a method to an existing module in
src/developer/orsrc/integration/Registering a
server.tool()insrc/mcp-server.jsPushing — no build step required
Version | Tools | Key additions |
1.0 | 27 | Data migration (Jira → SN, SF → SN) |
1.5 | 55 | Bidirectional integrations, reconciliation, audit |
2.0 | 90 | Developer toolkit: scripts, review, portal, catalog, notifications, docs, issue guide |
2.1 | 105 | Full CRUD (SN + Jira + SF), dictionary overrides |
2.2 | 116 | User & group management across all 3 platforms |
Available Tools
125 toolsanalyze_dependenciesA
Phase 3: Analyse migration dependencies before building artifacts.
For Jira: - Scans all referenced users (assignee/reporter), checks if they exist in ServiceNow - Identifies issue type hierarchy (Epic/Story → Task/Bug → Subtask) - Proposes a sequenced migration plan (Tier 1 = parents first, Tier 2 = children, etc.)
For Salesforce: - Counts records per object - Detects parent/child object relationships (e.g. Account → Contact, Account → Case) - Checks record owners (OwnerId) against ServiceNow sys_user - Warns if a parent object is not included in the migration scope - Proposes migration order (parent objects first, child objects after)
Always call this after discover_schema and before build_artifacts. If users are missing, ask the user whether to auto-create them in SN.
Inputs: platform (required), project_keys (required), auto_create_users.
analyze_flowA
Phase F3: Fetch and parse a Salesforce flow's full metadata. Returns structured breakdown of trigger, variables, and elements. After calling, present the analysis to the user and ask the clarifying questions required for Checkpoint F1. Only call build_flow after user confirms the understanding is correct.
Inputs: flow_api_name (required), sn_table (required).
analyze_for_testingA
Deep-analyze a ServiceNow artifact to understand what needs to be tested.
Two input modes:
A) Provide code directly (paste script content or user uploads a file)
B) Provide artifact_type + artifact_name (or sys_id) to fetch live from SN
Returns:
Artifact type detected
Complexity score and risk areas
Methods, tables, and conditions detected
Coverage areas with estimated test case count
Recommendation (thorough / smoke / etc.)
Always call this FIRST before create_test_plan.
Inputs: code, artifact_type, artifact_name, sys_id.
analyze_jira_automationA
Fetches and analyses a specific Jira Automation rule and produces a migration plan for ServiceNow. Returns: trigger type, conditions, actions, what can be automated vs manual. After calling this, present the plan and ask the user to confirm before building.
Inputs: rule_id (required), sn_table (required).
analyze_migration_for_testingA
Analyze a migration setup to identify risks and plan expert test coverage.
Inspects:
Staging table accessibility and write permissions
Target table accessibility
Active transform map between staging and target
All mapped SN target fields exist
Correlation/deduplication field presence
Source data quality (null rates, long text) from sample records
Transform rule coverage
Risk scoring: HIGH (blockers) / MEDIUM / LOW
Returns a full analysis with recommended test coverage areas and estimated test count.
Always call this FIRST before create_migration_test_plan.
Inputs: platform (required), source_object (required), staging_table (required), target_table (required), +3 more.
analyze_notificationsA
Analyze all active email notifications for a ServiceNow table.
Checks for:
Notifications with no condition or event (fires on every record)
Notifications with no recipients (goes nowhere)
Notifications with weight = 0 (potential conflicts)
Missing subjects
Returns a notification inventory plus issues and recommendations.
Inputs: table (required).
analyze_performanceA
Analyse ServiceNow instance performance. Supported modes:
slow_scripts — Find slow Business Rules and scripts from syslog (last N minutes) scheduled_jobs — Audit scheduled job durations suggest_indexes — Suggest DB indexes for a table based on BR query patterns error_patterns — Cluster recent system log errors by pattern audit_business_rules — Full BR performance audit for a table (no conditions, sync REST, etc.)
Inputs: mode (required), table, minutes_back, threshold_ms, +2 more.
analyze_portalA
Analyze a complete Service Portal — pages, widgets, theme, widget usage counts.
Provide the portal's URL suffix (e.g. "sp" for the default portal) or its sys_id.
Returns:
Portal metadata (title, theme, homepage)
All pages (title, ID, public/private, roles)
Widgets available on the instance
Widget usage counts across pages
Theme details (CSS variables)
Summary statistics
Use this before starting portal development to understand what already exists.
Inputs: portal_id (required).
analyze_transform_mapA
Inspect an existing ServiceNow transform map and report:
Field maps (direct vs field map scripts)
Standalone transform scripts (and whether they have field_name set)
Issues: orphan scripts, missing field_name, scripts that should be field map scripts
Suggestions to improve the transform map following best practices Use this to audit a transform map after build_artifacts or to review a manually built one.
Inputs: transform_map_sys_id (required).
build_artifactsA
Phase 4: Create all migration artifacts in ServiceNow: staging table + columns, transform map, field maps, transform scripts, data source, REST message. Only call this after Checkpoint 1 (schema) AND Checkpoint 2 (mappings) are both approved by the user. After this completes, show the artifact summary and ask the user to verify in ServiceNow (Checkpoint 3).
Inputs: platform (required), object_name (required), sn_table (required), mappings (required).
build_jira_automationA
Builds the ServiceNow Flow Designer artifacts for a Jira Automation rule. Creates the flow record, trigger, condition blocks, and action steps. Steps that cannot be automated are skipped — the manual build guide explains what to do. Only call this after analyze_jira_automation and user confirmation.
Inputs: rule_id (required), sn_table (required), flow_scope, field_mappings.
check_migration_stateA
Inspect ServiceNow to see what migration artifacts already exist for a given source→target combination. Call this at the very start of any migration session (before build_artifacts) to avoid re-creating things. Returns a gap analysis: what exists, what's missing, and what needs to be added. Works for ANY source platform and ANY ServiceNow target table.
Inputs: platform (required), object_name (required), sn_table (required), staging_table.
cleanup_artifactsA
Remove all migration artifacts that were created in ServiceNow during the setup phase. This deletes (in safe order): 1. Field maps (sys_transform_entry) 2. Transform scripts (sys_transform_script) 3. Transform map (sys_transform_map) 4. Staging table columns (sys_dictionary) 5. Staging table (sys_db_object) 6. Data source (sys_data_source) 7. REST message (sys_rest_message)
Use this when you want a completely clean slate — for example after a failed migration setup, or when the customer wants to restart with different field mappings.
IMPORTANT: Always discover first (confirmed=false) to show the user exactly what will be deleted. Only delete after they explicitly confirm with "Yes, delete them" or similar.
Inputs: platform (required), object_name (required), staging_table (required), target_table (required), +1 more.
cleanup_migrationA
Remove records that were created during a migration — both from the staging table and from the target table (e.g. incidents).
Use this if: - The test migration created records you want to delete before the real run - A migration went wrong and you want to start fresh - The client asked you to roll back
IMPORTANT: Always ask the user for explicit permission before calling this tool. Show them exactly how many records will be deleted and from which tables. Only proceed after they confirm with "Yes, delete them" or similar.
Inputs: staging_table (required), target_table (required), confirmed (required), project_keys, +1 more.
cleanup_old_import_setsA
Deletes completed sys_import_set_run records older than the given number of days. Run periodically to keep the instance healthy.
Inputs: days_old.
clone_catalog_itemA
Clone an existing Service Catalog item — fetches live data from ServiceNow and returns a deploy-ready copy.
Copies:
Catalog item fields (name, description, category, price, workflow, etc.)
All variables (name, type, mandatory, default, order)
You can override any field via modifications.
Inputs: source (required), new_name (required), modifications.
clone_widgetA
Clone an existing Service Portal widget with a new name and optional modifications.
Fetches all 4 widget sections (template, CSS, client script, server script) plus option schema from the source widget, then produces a ready-to-deploy payload for the cloned version with your modifications applied.
Modifications you can apply at clone time: template, css, client_script, server_script, option_schema, demo_data, description
Returns: POST-ready payload for sp_widget table + provenance comment in each section.
Inputs: source_id (required), new_name (required), new_id, modifications.
complete_update_setA
Mark a ServiceNow Update Set as complete when migration setup is finished. A completed update set can be exported as an XML file and deployed to other ServiceNow instances (test, UAT, production) via System Update Sets → Retrieved Update Sets. Call this after build_artifacts is done and the user has verified everything looks correct.
Inputs: update_set_sys_id (required).
configure_credentialsA
Set credentials for this session when running in web Claude Code or any context where a .env file is not present on the server.
WHEN TO CALL THIS:
Web Claude Code (claude.ai/code): the server is deployed remotely and has no access to the user's .env. Call this once at the start of the session.
CLI: only needed if the user wants to override their .env for this session.
SECURITY: credentials are held in memory for this session only and are never logged, stored to disk, or returned in any tool response. They are cleared when the session ends.
Only provide credentials for the platforms you actually need. After calling this, call get_config to confirm the platforms are now configured, then call connect to verify the live connections.
Inputs: servicenow, jira, salesforce.
connectA
Test live connections to one or all platforms using credentials already stored in .env. Call this after get_config to verify connections are working. Do NOT ask the user for any credentials before calling this — they are already configured. Returns connection status and instance URLs.
Inputs: platform.
connect_jiraA
Connect to a Jira Cloud instance in one step.
WHEN TO CALL: At the start of any session that needs Jira access, or when get_config shows jira.configured = false.
HOW TO ASK THE USER: "To connect to your Jira instance I need three things: 1. Your Atlassian URL (e.g. https://yourcompany.atlassian.net) 2. Your Atlassian account email 3. A Jira API token — generate one at: https://id.atlassian.com/manage-profile/security/api-tokens These are held in memory for this session only — never stored or logged."
After calling this tool, confirm the connection and proceed with the user's request.
Inputs: base_url (required), email (required), api_token (required).
connect_salesforceA
Connect to a Salesforce org in one step.
WHEN TO CALL: At the start of any session that needs Salesforce access, or when get_config shows salesforce.configured = false.
HOW TO ASK THE USER: "To connect to Salesforce I need: 1. Connected App consumer key (client ID) 2. Connected App consumer secret (client secret) 3. Your Salesforce username 4. Your Salesforce password 5. Your security token (optional — only needed if your IP is not allowlisted) 6. Login URL — use https://test.salesforce.com for sandboxes, otherwise leave default
To get a Connected App:
Salesforce Setup → App Manager → New Connected App
Enable OAuth, add 'api' and 'refresh_token' scopes
These are held in memory for this session only — never stored or logged."After calling this tool, confirm the connection and proceed with the user's request.
Inputs: client_id (required), client_secret (required), username (required), password (required), +2 more.
connect_servicenowA
Connect to a ServiceNow instance in one step.
WHEN TO CALL: At the start of any session that needs ServiceNow access, or when get_config shows servicenow.configured = false.
HOW TO ASK THE USER: "To connect to your ServiceNow instance I need three things: 1. Your instance URL (e.g. https://yourcompany.service-now.com) 2. Your username 3. Your password These are held in memory for this session only — never stored or logged."
After calling this tool, tell the user whether the connection succeeded and which instance you connected to. Then proceed with their request.
Inputs: instance_url (required), username (required), password (required).
convert_rich_textA
Convert rich text from source platforms to ServiceNow-compatible HTML. Supports Jira ADF (JSON document format), Salesforce HTML, and plain text. Use hint="auto" to auto-detect. Returns converted HTML safe for SN fields.
Inputs: values (required), hint.
create_catalog_categoryB
Create a Service Catalog category (sc_category). Returns deploy-ready payload.
Inputs: title (required), description, parent, roles.
create_catalog_itemA
Generate a complete Service Catalog item definition with variables, client scripts, and UI policies.
Variable types supported: single_line, multi_line, multiple_choice, yes_no, reference, date, date_time, checkbox, select_box, numeric, email, url, phone, masked, file_attachment, container_start, container_end, label
Returns:
Catalog item payload (deploy to sc_cat_item)
Variable payloads (deploy to item_option_new)
Client script payloads (deploy to catalog_script_client)
UI policy payloads (deploy to catalog_ui_policy)
Deployment order and best-practice checklist
Inputs: name (required), short_description (required), description, category, +6 more.
create_choiceA
Add a new choice value to a field's choice list in ServiceNow.
Returns deploy-ready payload for the sys_choice table. Common use: adding custom states, priorities, categories, or types.
Inputs: table (required), field (required), value (required), label (required), +3 more.
create_dictionary_overrideA
Create or update a ServiceNow Dictionary Override on a child table.
Dictionary overrides let you change how an inherited field behaves in a child table WITHOUT modifying the parent table's dictionary entry. This is the correct SN best practice for table extensions (e.g. incident extends task).
IMPORTANT: Each override requires BOTH a value AND its matching override_X=true flag. This tool sets them correctly — doing it manually often silently fails.
Supported overrides (specify any combination): mandatory — Make the field required in the child table (true/false) default_value — Set a different default value for the child table column_label — Rename the field label in the child table only read_only — Make the field read-only in the child table (true/false) display — Show or hide the field in the child table (true/false) calculation — Override a calculated field formula (script string) choice — Override the choice list (use create_choice to add child-table choices, then set this) dependent — Override the dependent field name
Examples: Make "business_service" mandatory on incident (but not on task): table="incident" field="business_service" overrides={mandatory: true}
Set a different default priority on change_request than task: table="change_request" field="priority" overrides={default_value: "3"}
Rename "caller_id" label to "Requested By" on sc_request: table="sc_request" field="caller_id" overrides={column_label: "Requested By"}
Hide a parent field on a specific child table: table="hr_case" field="parent" overrides={display: false}
Inputs: table (required), field (required), overrides (required), dry_run.
create_email_scriptA
Generate a ServiceNow Email Script (sys_script_email) for dynamic notification logic.
Email Scripts are used when a notification needs:
Dynamic recipients (e.g. add manager as CC)
Conditional subject lines
Dynamic body content based on record state
Loop-prevention logic
Returns deploy-ready payload with best-practice template.
Inputs: name (required), description, logic.
create_jira_integration_artifactsA
Create Jira-side artifacts for a bidirectional integration:
Registers a Jira webhook (calls the inbound endpoint when issues change)
Generates a Jira Automation rule JSON (ready to import in Jira UI)
Returns step-by-step instructions for importing the automation rule
The automation rule includes loop-prevention via issue labels. Requires the integration plan from design_integration.
Inputs: plan (required), inbound_url, webhook_secret.
create_migration_test_planA
Generate a full expert migration test plan for user approval before executing.
Covers all 8 testing phases:
Pre-Migration Checks — table access, transform map active, ACLs, schema, correlation field, no duplicate IDs
Source Data Quality — fill rates, null-heavy fields, long text truncation
Transform Rules — value map completeness, null handling, date format conversion
Sample Migration — end-to-end 1-record test, field accuracy spot-check, record count, zero import errors
Edge Cases — special characters, duplicate source IDs, null reference fields
Rollback Safety — clean delete by correlation field, no cascade side effects
Performance — staging query speed, throughput estimate and runtime projection
Post-Validation — zero error rows, correlation field populated, random spot-check
Each test case includes a ready-to-run ServiceNow Fix Script. Present the plan to the user for approval, then call run_approved_tests.
Inputs: analysis (required), field_mappings, transform_rules, sample_records, +3 more.
create_notificationB
Create a ServiceNow email notification with an HTML template, recipients, and conditions.
Recipients can be specified as:
field: a field on the record (e.g. "caller_id.email")
group: an assignment group sys_id
role: a role name (all users with that role)
user: a specific user sys_id
The tool generates:
Notification record payload (sysevent_email_action)
Responsive HTML email template with ServiceNow field tokens
Plain text fallback
Best practice checklist
Inputs: name (required), table (required), subject (required), event, +8 more.
create_portalA
Scaffold a new Service Portal with theme, default pages, and best-practice CSS variables.
Generates:
Portal record (url_suffix, title)
Theme with full CSS variable set (brand colors, typography, spacing, borders)
Default pages: Home, Login, Profile, Catalog + any custom pages
Deploy order and instructions
Returns all payloads in correct deployment order.
Inputs: name (required), url_suffix, description, pages.
create_push_notificationA
Create a ServiceNow push notification for the Now Mobile app.
Returns deploy-ready payload for sys_push_message table. Supports ${field} tokens in title and body — same as email notifications.
Inputs: name (required), table (required), title (required), body (required), +2 more.
create_sf_integration_artifactsA
Generate all Salesforce-side code and configuration for a bidirectional integration:
Named Credential XML (paste into Metadata API or create in Setup UI)
Apex Queueable callout class (async HTTP call to the partner platform)
Apex Trigger (fires on insert/update, enqueues the callout class)
Inbound Apex REST class (receives sync calls from the partner platform)
Step-by-step deployment instructions
Note: Apex code is GENERATED and returned as strings — the user must deploy it via Developer Console, VS Code + SFDX, or Metadata API. Requires the integration plan from design_integration.
Inputs: plan (required), target_url.
create_sn_integration_artifactsA
Create all ServiceNow-side artifacts for a bidirectional integration:
Correlation table (cross-platform ID tracking)
Retry/error table (dead-letter queue for failed syncs)
Sync-in-progress flag field (loop prevention)
sys_properties entry (field mapping config)
Outbound REST Message + HTTP method (for SN→external calls)
Business Rule (fires on record change, calls outbound REST)
Scripted REST API + POST operation (inbound endpoint for external→SN)
UI Action "Sync Now" button
Client Script (shows sync status on form)
Requires the integration plan from design_integration.
Inputs: plan (required), target_url, target_api_key.
create_test_planA
Generate a detailed expert test plan from an analysis result.
This is the APPROVAL STEP — present the full plan to the user before running anything.
The plan includes:
CRITICAL tests (security, null safety, primary function)
MAJOR tests (branch coverage, data integrity, performance)
MINOR tests (edge cases, minor validations)
Ready-to-run ServiceNow Fix Scripts for each test case
Estimated runtime
After presenting the plan, ask the user: "Approve all and run? Or select specific test IDs?"
Then call run_approved_tests.
Inputs: analysis (required), priority.
create_update_setA
Create a ServiceNow Update Set before starting any migration setup. An Update Set captures all configuration changes (staging tables, transform maps, field maps, scripts, etc.) into a named package that can be reviewed, exported, and deployed to other ServiceNow instances (e.g. from dev → test → production).
IMPORTANT: Always ask the user for a name before calling this tool. A good name includes the source platform, project/object, and date — e.g.: "Jira KAN Migration - June 2026" "Salesforce Account Migration - v1"
Call this after connect() and before build_artifacts() so all artifacts created during setup are captured in the update set.
Also use list_update_sets to show existing in-progress update sets in case the user wants to reuse one instead of creating a new one.
Inputs: name (required), description.
create_widgetA
Generate a complete, production-ready Service Portal widget from a requirement description.
Generates all 4 sections with best practices baked in:
HTML template: panel layout, loading/error states, AngularJS binding
CSS: theme-variable-based styling (no hardcoded colors)
Client script: c.data pattern, c.server.update(), spUtil feedback
Server script: try/catch, input dispatcher, GlideRecord with limit
Option schema: title + limit + any custom options
Returns deploy-ready payload + best practices + deploy instructions.
Inputs: name (required), id, description, data_source, +3 more.
delete_dictionary_overrideA
Delete a dictionary override, restoring the child table field to its parent table defaults.
SAFETY: Requires confirm=true. Deleting an override immediately restores parent behaviour — e.g. if the override made the field mandatory, it will become optional again after deletion.
Find the sys_id first with get_dictionary_overrides.
Inputs: table (required), field (required), confirm (required).
design_integrationA
Analyse a user's bidirectional integration requirement and produce a complete, structured integration plan. Supports all platform combinations: servicenow ↔ jira | servicenow ↔ salesforce | jira ↔ salesforce
The plan specifies every artifact that must be created on each platform:
Correlation table (cross-platform ID mapping)
Retry/error table (dead-letter queue)
Business Rules, Scripted REST APIs, Outbound REST Messages (ServiceNow)
Apex Trigger, Queueable class, Named Credential (Salesforce)
Webhook, Automation rule (Jira)
Best-practice checklist (loop prevention, auth, idempotency, etc.)
Call this FIRST before any create_integration_* tool. Pass the result to the other tools to actually create the artifacts.
Inputs: platform_a (required), platform_b (required), table_a (required), table_b (required), +5 more.
diagnose_issueA
Diagnose a ServiceNow issue from a symptom description and get a guided step-by-step fix.
Covers 60+ known issues across: business_rule, client_script, scripted_rest, portal_widget, catalog, notification, performance, security, atf, deployment, general
Examples: "Business Rule not firing on update" "Widget shows blank white box" "Email notification not being received" "Catalog item not visible in portal" "Infinite loop in BR" "GlideAjax callback not called"
Returns: root causes, diagnosis steps, copy-paste fix code, prevention tips, and suggested MCP tools to use.
Inputs: symptom (required), category.
disable_integrationA
Pause a bidirectional integration by deactivating the Business Rule (outbound) and the Scripted REST API (inbound) without deleting them. Use this for maintenance windows, debugging, or bulk imports where you don't want sync to fire. Call enable_integration to resume.
Inputs: prefix (required).
discover_schemaA
Phase 2: Discover ALL source fields and ServiceNow target fields side by side. Returns complete field lists (every source field is included — none are skipped), auto-suggested staging table definition, and field mapping proposals.
WORKFLOW:
If sn_table is not known yet, call suggest_target_table first and confirm with the user.
After calling this, STOP and present all fields + mappings to the user for Checkpoint 1 review.
For UNMAPPED fields (sn_target=null): highlight them and ask the user to either map them to an existing SN field or confirm they should land only in staging.
Show the upsert key (coalesce) fields so the user understands duplicate prevention.
Ask: (1) Are all source fields present? (2) Any mapping corrections? (3) Approve to continue?
Only call build_artifacts after explicit user approval.
IMPORTANT — target table changes: If the user changes the sn_table AFTER this has been called, call discover_schema AGAIN from scratch. Discard all prior suggested_mappings — target fields will be completely different.
GENERIC: platform can be any string — salesforce, jira, or any registered custom connector.
Inputs: platform (required), object_name (required), sn_table (required).
enable_integrationA
Resume a paused bidirectional integration by re-activating the Business Rule, Scripted REST API, and retry scheduled job.
Inputs: prefix (required).
explain_apiA
Explain a ServiceNow API, class, or method with examples and best practices.
Topics you can ask about: GlideRecord, GlideAggregate, GlideScopedEvaluator, GlideSystem (gs), RESTMessageV2, GlideAjax, GlideDateTime, GlideUser, GlideFlow, ServiceNow Table API (REST), Scripted REST API pattern, Business Rule lifecycle, Script Include class pattern, Client Script event types, ATF step types
Inputs: topic (required).
explore_tableA
Full schema discovery for a ServiceNow table.
Returns:
Table metadata (parent, scope, numbering, ACL flags)
All fields (name, label, type, reference, mandatory, read-only)
Active Business Rules (when, events, conditions)
Active Client Scripts (type, field)
ACL rules (operation, type, roles)
Incoming relationships (which tables reference this one)
Table hierarchy (parent chain up to Task or base)
Summary counts
Use this before writing a BR or Client Script to understand the full context.
Inputs: table (required), field_limit.
fetch_sn_recordsB
Query any ServiceNow table — useful for checking staging table results, verifying migrations, or fetching incidents.
Inputs: table (required), query, fields, limit, +1 more.
find_sys_logsB
Search ServiceNow system logs (syslog table) by keyword, source, or level. Useful for debugging Business Rules, integrations, and scheduled jobs.
Inputs: keyword, source, level, limit.
find_tableA
Search for ServiceNow tables by keyword (name or label). Returns up to 25 matches.
Inputs: keyword (required).
find_widgetA
Search for Service Portal widgets by name, ID, or keyword. Returns up to 20 matches with sys_ids.
Inputs: keyword (required), limit.
generate_atf_testsA
Generate ATF (Automated Test Framework) test cases for ServiceNow artifacts.
Supported test targets: business_rule — positive, negative, and field-change trigger tests script_include — unit tests per method (happy path + null/invalid input) scripted_rest — auth, validation, and custom scenario tests form — Client Script / UI Policy field behaviour tests table — mandatory field, uniqueness, and basic CRUD smoke tests
Returns ATF test suite JSON with steps ready to import + deploy instructions.
Inputs: target_type (required), name (required), table, trigger_conditions, +10 more.
generate_docsA
Generate Markdown documentation for ServiceNow artifacts.
Supported doc targets: script_include — Full API reference with method signatures and usage examples business_rule — Metadata, risk analysis, script preview table — Field catalogue, BR list, ACL list, relationships scripted_rest — Endpoint reference, parameters, error codes application — Full component inventory
Returns Markdown text ready to paste into Confluence, GitHub, or a wiki.
Inputs: doc_type (required), name (required), table, script, +10 more.
generate_feature_docA
Generate a quick one-page technical spec for a specific feature or change.
Covers affected tables, Business Rules, Script Includes, notifications, and test plan. Use this for sprint documentation, change requests, or PR descriptions.
Inputs: feature_name (required), description, tables, business_rules, +3 more.
generate_migration_guideA
Generates a clear, numbered step-by-step guide for manually building a Salesforce or Jira flow/automation inside ServiceNow Workflow Studio.
Does NOT touch ServiceNow via API — it only produces a human guide. Call this after analyze_flow or analyze_jira_automation.
The guide covers every click: where to go, what to name things, which trigger to choose, how to add each step and fill in its fields.
Inputs: source_platform (required), flow_analysis (required), sn_table (required), field_mappings, +1 more.
generate_project_docC
Generate comprehensive technical documentation for a ServiceNow application by pulling live data from the instance.
Produces a full Markdown document with:
Executive overview and architecture diagram
Data model (fields, mandatory markers, reference links)
Business logic (BRs, Script Includes with method listing)
UI layer (Client Scripts, UI Actions by table)
Integration points (Scripted REST APIs)
Automation (Scheduled Jobs, Notifications)
Security (ACLs per table, scope isolation)
Operations guide (monitoring, maintenance, common issue matrix)
Change log template
The document is ready to paste into Confluence, GitHub Wiki, or any Markdown renderer.
Inputs: app_name (required), tables (required), scope, author, +1 more.
generate_scriptA
Generate a complete, production-ready ServiceNow script with industry best practices baked in.
Supported types: business_rule — Server-side BR with guard, try/catch, async option script_include — Prototype-class SI with JSDoc and error envelope client_script — onChange/onLoad/onSubmit/onCellEdit with safe patterns ui_action — Server or client UI Action with redirect/confirm flow scripted_rest — Full Scripted REST API with auth, logging, error envelope scheduled_job — Scheduled job with timing, batch counting, error logging fix_script — One-time data fix with dry-run support and audit log widget — Service Portal widget stub (template + server + client)
Returns ready-to-deploy script code plus best-practice checklist and deploy field values.
Inputs: type (required), name (required), table, description, +18 more.
get_audit_statsA
Return current audit trail statistics for the active migration session. Shows counts of created, updated, skipped, and errored records, plus average time per record.
Inputs: no named parameters.
get_catalog_itemA
Fetch a catalog item and its variables from ServiceNow for inspection or cloning.
Inputs: name_or_sys_id (required).
get_configA
Returns which platforms are configured and ready to use. Call this at the very start of every session BEFORE asking the user for anything.
Credentials come from one of two places (checked in this order): 1. Session memory — set via configure_credentials (used in web Claude Code) 2. .env file on the server (used in CLI / personal deployment)
If a platform shows configured=false AND the server has no .env: → Call configure_credentials first, then re-call get_config. If a platform shows configured=false AND a .env exists: → The .env is missing that platform's values. Tell the user which vars are needed.
Never ask the user for credentials unless get_config reports a platform is not configured.
Inputs: no named parameters.
get_dictionary_overridesA
List all dictionary overrides on a table, or find overrides for a specific field.
Use this to audit what a child table has customised vs its parent, or to check whether an override already exists before creating one.
Examples: table="incident" — all overrides on incident table="incident" field="priority" — override for one specific field field="mandatory" override_type="mandatory" — find all tables overriding mandatory
Inputs: table, field, override_type.
get_field_choicesB
Get all choice list values for a field on a ServiceNow table (e.g. state, priority, category).
Inputs: table (required), field (required).
get_integration_statusA
Check the health of a running bidirectional integration by querying:
Correlation table: how many records are linked
Retry/error table: how many failed syncs are pending
Recent sync activity (last N records synced)
Use this to monitor the integration after it goes live.
Inputs: prefix (required), last_n_errors.
get_issue_guideA
Get the full guided fix for a specific known issue by its ID (e.g. "BR001", "CS002", "SP001").
Use list_common_issues first to find the ID of the issue you want.
Inputs: issue_id (required).
get_report_dataA
Collects all data needed to produce a customer-facing field mapping sign-off report. Returns structured content (source schema, SN schema, approved mappings, staging definition, artifact sys_ids, migration stats if available) ready for Claude to render as a Word document. Call this after discover_schema and optionally after build_artifacts / run_full_migration. Claude should then use the docx skill to produce a .docx file from the returned data.
Inputs: platform (required), object_name (required), sn_table (required), mappings (required), +4 more.
get_table_aclsA
Get all ACL rules for a ServiceNow table, including field-level ACLs.
Inputs: table (required).
get_test_reportA
Re-generate a structured test report from raw results — useful when a user ran Fix Scripts manually in SN and wants to record the outcomes.
Takes a list of manual results (test case ID + status + notes) and combines them with the original plan to produce a final pass/fail report with score, verdict, and recommendations.
Use this when:
Some or all tests were MANUAL_REQUIRED
User has run the Fix Scripts in SN and wants to record outcomes
You want a clean summary of mixed auto + manual results
Inputs: plan (required), results (required).
health_check_instanceA
Run a comprehensive health check on the connected ServiceNow instance.
Checks:
Instance connectivity and response time
Recent error count in syslog
Scheduled jobs with no recent success
Tables with no indexes on commonly-queried fields
Business Rules with no conditions (fires on every record)
Failed integration sync records
System properties health
Returns an overall health score and prioritised action list.
Inputs: no named parameters.
jira_createA
Create any Jira resource. Set resource_type to choose what to create.
resource_type options: issue — Create an issue/ticket (most common) comment — Add a comment to an issue subtask — Create a sub-task under a parent issue component — Add a component to a project version — Create a version/release in a project label — Labels are set on issues, not created separately
Issue example: resource_type="issue" project_key="KAN" issue_type="Task" summary="Set up monitoring for prod servers" description="Install Datadog agent on all prod nodes" priority="High" assignee="jsmith" labels=["ops","monitoring"]
Comment example: resource_type="comment" issue_key="KAN-42" body="Picked up — will update by EOD"
Inputs: resource_type (required), project_key, issue_type, summary, +11 more.
jira_create_groupA
Create a Jira group and optionally add members to it.
Jira groups control project permissions, notification schemes, and filter sharing. Note: User creation in Jira Cloud is managed through Atlassian Admin (admin.atlassian.com) — the API can create groups and manage membership, but cannot create net-new users directly.
Inputs: group_name (required), members.
jira_deleteA
Delete a Jira resource.
SAFETY: You must pass confirm=true — deletions in Jira are permanent.
resource_type options: issue — Delete an issue (and all its comments, attachments, sub-tasks) comment — Delete a specific comment from an issue
Examples: resource_type="issue" issue_key="KAN-42" confirm=true resource_type="comment" issue_key="KAN-42" comment_id="10234" confirm=true
Inputs: resource_type (required), issue_key (required), confirm (required), comment_id.
jira_manage_group_membersB
Add or remove users from a Jira group, or list current members.
action: add | remove | list
Inputs: group_name (required), action (required), account_ids.
jira_readA
Read Jira issues, projects, users, or boards.
resource_type options: issue — Get one issue by key (e.g. "KAN-42") search — JQL search across all projects project — Get project metadata user — Find a user by email or display name board — List boards in a project sprint — List sprints on a board transitions — Get available transitions for an issue (for status changes) comments — Get comments on an issue
Examples: resource_type="issue" issue_key="KAN-42" resource_type="search" jql="project=KAN AND status='In Progress' AND assignee=currentUser()" limit=20 resource_type="user" query="john.smith@company.com"
Inputs: resource_type (required), issue_key, jql, project_key, +4 more.
jira_updateA
Update a Jira issue or transition it to a new status.
update_type options: fields — Update issue fields (summary, description, priority, assignee, labels, etc.) transition — Move issue to a new status (uses transition ID from jira_read transitions) comment — Edit an existing comment
Fields update example: issue_key="KAN-42" update_type="fields" fields={summary:"Updated title", priority:{name:"High"}, assignee:{accountId:"abc123"}}
Transition example: issue_key="KAN-42" update_type="transition" transition_id="31" (Get transition IDs first with: jira_read resource_type="transitions" issue_key="KAN-42")
Inputs: issue_key (required), update_type (required), fields, transition_id, +2 more.
list_common_issuesA
List all known ServiceNow issues in the guide, optionally filtered by category.
Categories: business_rule, client_script, scripted_rest, portal_widget, catalog, notification, performance, security, atf, deployment, general
Returns grouped issue IDs and titles. Use get_issue_guide(id) to get the full fix.
Inputs: category.
list_jira_automationsA
Lists all Jira Automation rules visible to the authenticated user. Call this when the user wants to migrate Jira automations to ServiceNow Flow Designer. Returns a summary of each rule: name, trigger type, number of conditions/actions, enabled state. After calling this, show the list and ask which automation(s) the user wants to migrate.
Inputs: project_key.
list_review_rulesA
List all code review rules with descriptions and fix guidance. Useful for understanding what review_script checks.
Inputs: category.
list_sf_flowsA
List all active Salesforce flows with their types. Use this to show the user what flows are available before asking which to migrate. Screen Flows are flagged as manual-only.
Inputs: no named parameters.
list_update_setsA
List all in-progress Update Sets in ServiceNow. Use this before creating a new one — the user may want to reuse an existing update set instead of creating a new one, especially if they are continuing a previous migration session.
Inputs: no named parameters.
map_usersA
Load all ServiceNow users and groups into memory, then resolve a list of source-platform users (Jira / Salesforce) to ServiceNow sys_user sys_ids. Returns a match report with matched/unmatched lists and the fallback user used. Call this before running a migration that has assignee / owner / reporter fields.
Inputs: source_users (required), fallback_user_email, fallback_group_name.
migrate_attachmentsA
Copies attachments from source records to their corresponding ServiceNow target records. Matches via correlation_id (jira: or salesforce:).
Inputs: platform (required), source_ids (required), sn_table (required).
migrate_commentsB
Copies source comments into the ServiceNow target record's comments or work_notes journal. Each comment is appended with its original author and timestamp.
Inputs: platform (required), source_ids (required), sn_table (required), journal_field.
migration_test_reportA
Generate a complete end-to-end migration test report covering all three layers:
Source (Jira/SF) → Staging Table → Target Table (ServiceNow)Combines the existing validate tool (fill-rate check) with deep reconciliation to produce a single pass/fail report with actionable fix guidance.
Use this after a test migration of 5–50 records before running the full migration. Returns a human-readable verdict + specific fields/records that need fixing.
Inputs: platform (required), source_records (required), staging_table (required), target_table (required), +5 more.
monitor_import_set_progressA
Polls the active import set runs in ServiceNow until they all complete (or 5 minutes elapse). Use after kicking off a bulk migration to watch live progress.
Inputs: max_wait_seconds.
pre_migration_checkA
Run all pre-migration validation checks against the target ServiceNow table before importing any data. Checks: (1) picklist/choice values, (2) reference integrity, (3) required field coverage, (4) business rule conflicts. Returns a pass/fail report with blocking issues and warnings. Always call this before run_migration.
Inputs: sn_table (required), field_mappings (required), sample_records (required), reference_fields.
preview_queryA
Preview how many records will be migrated before committing to a full run. Returns the total record count and a sample (up to 5 records) matching the query. ALWAYS call this before run_test_migration or run_full_migration when the user wants to filter or scope the migration — e.g. "only migrate closed tickets" or "just the records from 2024". This prevents accidentally migrating too many records.
For Jira: filter is JQL (e.g. "status = Done AND created >= 2024-01-01") For Salesforce: filter is a SOQL WHERE clause (e.g. "Status = 'Closed' AND CreatedDate >= 2024-01-01T00:00:00Z")
Inputs: platform (required), object_name (required), filter, fields.
preview_transformA
Shows what target fields will be set when a staging row is transformed — no record is persisted. Useful for validating the transform map after build_artifacts.
Inputs: staging_table (required), staging_sys_id (required), transform_map_sys_id (required).
reconcile_migrationA
Deep comparison between source records and ServiceNow target records to verify the migration was successful. Goes far beyond fill-rate checks:
COUNT CHECK — source count vs SN count (detects missing or duplicate records)
RECORD MATCHING — correlates each source record to its SN counterpart using a correlation field (e.g. u_jira_key, u_sf_id)
FIELD-LEVEL DIFF — for every matched pair, compares each mapped field value Expected vs Actual, with transform-awareness (so a Jira "In Progress" → SN state "2" is not flagged as a mismatch)
VERDICT — PASS / PARTIAL / FAIL with specific reasons
Returns: verdict, per-record diffs, per-field accuracy %, missing/extra records. Use after a test migration or a full migration to confirm data integrity.
Inputs: source_records (required), sn_table (required), field_mappings (required), correlation_field (required), +6 more.
reconcile_stagingA
Compare the ServiceNow STAGING table against the TARGET table to verify that the transform map correctly moved all records from staging into the real table.
This is the staging → target leg of the three-layer quality check: Source → [staging] → Target
Fetches the most recent N staging records, looks up their corresponding target records via sys_target_sys_id, then compares every mapped field value.
Returns: per-record diffs, per-field accuracy, missing target records.
Inputs: staging_table (required), target_table (required), field_mappings (required), sample_size, +2 more.
retry_failed_syncsA
Retry all failed sync attempts from the integration error/retry table. For each failed record, re-fires the Business Rule by touching the source record. Pass dry_run=true to see what would be retried without actually doing it.
Inputs: prefix (required), source_table, dry_run, limit.
review_scriptB
Static analysis code review for a ServiceNow script.
Checks for:
Critical: eval(), hardcoded credentials, SQL/SOQL injection risk, unvalidated input
Anti-patterns: GlideRecord in loops, no setLimit, hardcoded sys_ids, gr.get in loops
Performance: full table scans, getRowCount, sync REST in BR, GlideAggregate opportunities
Null safety: missing gs.nil(), JSON.parse(null) risk, unchecked gr.get() return
Best practices: gs.print vs gs.info, no error handling on REST, bulk updates without setWorkflow
Returns a score (0-10), verdict, and per-issue fix guidance.
Inputs: script (required), type.
rollback_migrationA
Deletes target records that were created by a migration, identified by correlation_id prefix (e.g. "jira:" or "salesforce:"). Two-phase: first call with confirm=false to see the count, then confirm=true to delete.
Inputs: sn_table (required), correlation_prefix (required), confirm.
run_approved_testsA
Execute the approved test cases on ServiceNow and return a detailed results report.
IMPORTANT: Only call this after the user has reviewed and approved the test plan.
Execution method:
Creates a Fix Script record in ServiceNow for each test case
Attempts to execute it via the SN API
If the run endpoint is unavailable, marks as MANUAL_REQUIRED and provides the Fix Script name to find in SN
Returns PASS / FAIL / MANUAL_REQUIRED / ERROR per test case
Full result report with score%, verdict, and remediation steps
After execution:
CRITICAL FAIL → surface immediately, do not suggest deploy
MANUAL_REQUIRED → list the Fix Script names and guide user to run them in SN
ALL PASS → confirm artifact is ready for UAT/deploy
Inputs: plan (required), approved, approved_ids, extra_cases.
run_background_scriptA
Execute a server-side script in ServiceNow using the Background Scripts table (sys_script_fix).
IMPORTANT: Creates a Fix Script record and marks it for execution. The script runs as admin. Only use for safe, tested scripts. Always dry_run first to preview the record that will be created.
Inputs: name (required), script (required), dry_run.
run_delta_syncA
Runs a migration of records that have changed since the last delta sync (uses a stored watermark in ServiceNow). First run migrates everything and stores the current time as the watermark.
Inputs: platform (required), object_or_project (required), sn_table (required), staging_table (required), +1 more.
run_full_migrationA
Phase 6: Migrate ALL records from source to ServiceNow. For Jira: automatically migrates in dependency order (Tier 1 parents first, then children). For Salesforce: paginated bulk migration. Only call after explicit user approval at Checkpoint 4. Stops immediately on any error and reports what happened.
Inputs: platform (required), object_name (required), staging_table (required), mappings (required), +1 more.
run_test_migrationA
Trial run: sends a small sample of records (default 5) through the full migration pipeline and produces a detailed data quality report.
The report checks three layers: 1. Source (Jira/Salesforce) — what values exist in the original data 2. Staging table — what landed in the ServiceNow staging table 3. Target table — what ended up in the final ServiceNow record (e.g. Incident)
For each mapped field it shows the fill rate (% of records with a value) and flags any field that is blank in staging (source → staging data loss) or blank in the target (staging → target mapping failure).
Only call this after build_artifacts. Only call run_full_migration after the user reviews this report and explicitly says "Approved".
Inputs: platform (required), object_name (required), staging_table (required), target_table (required), +3 more.
scaffold_applicationB
Generate a complete application scaffold for a new ServiceNow application.
Creates a recommended file/artifact structure with:
Main application table (u_)
Number prefix and auto-numbering
Core Business Rules (set number, state management)
Script Include for business logic
UI Action for state transitions
ACL rules (read/write/delete)
ATF test suite
Documentation
Returns all scripts ready to create in ServiceNow.
Inputs: app_name (required), prefix (required), description, fields, +1 more.
sf_createA
Create a record in any Salesforce object (Account, Case, Contact, Lead, Opportunity, or any custom object).
Examples: object="Case" fields={Subject:"Server outage", Status:"New", Priority:"High", Origin:"Web"} object="Account" fields={Name:"Acme Corp", Industry:"Technology", BillingCity:"San Francisco"} object="Contact" fields={FirstName:"Jane", LastName:"Smith", Email:"jane@acme.com", AccountId:"001..."} object="Lead" fields={FirstName:"Bob", LastName:"Jones", Company:"StartupCo", Status:"Open - Not Contacted"}
Returns the Id of the created record.
Inputs: object (required), fields (required).
sf_create_userA
Create a Salesforce user.
Required fields: Username (must be unique and email-format), LastName, Email, Alias, ProfileId, TimeZoneSidKey, LocaleSidKey, EmailEncodingKey, LanguageLocaleKey.
Get ProfileId first: sf_read read_type="query" soql="SELECT Id, Name FROM Profile WHERE Name='Standard User' LIMIT 5"
Inputs: username (required), last_name (required), email (required), alias (required), +11 more.
sf_deleteA
Delete a Salesforce record by Id.
SAFETY: You must pass confirm=true — Salesforce deletes go to the Recycle Bin (recoverable for 15 days), but this still removes the live record immediately.
Examples: object="Case" id="500..." confirm=true object="Lead" id="00Q..." confirm=true
Pass confirm=false (default) to preview what would be deleted first.
Inputs: object (required), id (required), confirm (required).
sf_manage_groupB
Create a Salesforce Public Group or Queue, and manage its members.
Salesforce groups/queues are used for:
Record ownership (Queues own cases, leads, etc.)
Sharing rules (share records with a group)
List view visibility
action: create — Create a new Public Group create_queue — Create a Queue (assign supported objects) add_members — Add users or groups to an existing group list_members — List members of a group list_groups — Find groups by name
Inputs: action (required), name, developer_name, group_id, +3 more.
sf_readA
Read Salesforce records.
read_type options: by_id — Fetch a single record by Salesforce Id query — SOQL SELECT query (most flexible) describe — Object schema (fields, types, picklist values)
Examples: read_type="by_id" object="Case" id="500..." fields="Id,CaseNumber,Subject,Status,Priority" read_type="query" soql="SELECT Id, Subject, Status FROM Case WHERE Status = 'New' LIMIT 20" read_type="describe" object="Case" read_type="query" soql="SELECT Id, Name, Industry FROM Account WHERE BillingState = 'CA' LIMIT 50"
Inputs: read_type (required), object, id, fields, +2 more.
sf_updateA
Update a Salesforce record by Id (PATCH — only provided fields are changed).
Examples: object="Case" id="500..." fields={Status:"In Progress", Priority:"Critical"} object="Account" id="001..." fields={AnnualRevenue:5000000, NumberOfEmployees:250} object="Contact" id="003..." fields={Title:"VP Engineering", MobilePhone:"+1-555-0100"}
Returns {updated: true} on success.
Inputs: object (required), id (required), fields (required).
sn_assign_rolesA
Assign or revoke roles on a ServiceNow user or group.
target_type: user — Roles go on the individual user (sys_user_has_role) group — Roles go on the group; all members inherit them (sys_group_has_role)
action: assign — Grant the role(s) revoke — Remove the role(s) list — Show current roles
Examples: target_type="user" target="john.doe" action="assign" roles=["itil","catalog"] target_type="group" target="Network Ops" action="assign" roles=["itil","sn_incident_write"] target_type="user" target="jane.smith" action="list"
Inputs: target_type (required), target (required), action (required), roles.
sn_createA
Create a record in any ServiceNow table via the Table API.
Examples: table="incident" fields={short_description:"Server down", priority:"1", category:"hardware"} table="sc_task" fields={short_description:"Provision laptop", assigned_to:"john.doe"} table="sys_user" fields={user_name:"jsmith", first_name:"John", last_name:"Smith", email:"j@co.com"} table="u_my_custom_table" fields={u_field:"value"}
Returns the created record including its sys_id.
Inputs: table (required), fields (required), return_fields.
sn_create_groupA
Create a ServiceNow group (sys_user_group) and optionally assign members, roles, and a manager.
Groups in ServiceNow are used for:
Assignment groups on incidents, changes, tasks
Approval groups on workflows and catalog items
Notification recipient groups
ACL role-based access
Returns the group sys_id plus member and role assignment results.
Inputs: name (required), description, manager, email, +6 more.
sn_create_userA
Create a ServiceNow user (sys_user) with all standard fields, optional roles, and optional group membership.
Handles the fields that developers most commonly miss or set incorrectly:
Generates a valid user_name if not provided
Sets active=true by default
Optionally assigns roles directly on the user record
Optionally adds the user to one or more groups in one call
Returns the new user's sys_id plus links to role and group records created.
Inputs: first_name (required), last_name (required), email (required), user_name, +15 more.
sn_deleteA
Delete a ServiceNow record by sys_id.
SAFETY: You must pass confirm=true explicitly — this cannot be undone.
Examples: table="incident" sys_id="abc123" confirm=true table="u_staging_jira_kan" sys_id="xyz456" confirm=true
To preview what will be deleted without actually deleting, pass confirm=false (default).
Inputs: table (required), sys_id (required), confirm (required).
sn_get_groupA
Look up a ServiceNow group with full details — members, roles, and manager.
Inputs: identifier (required), include_members, include_roles.
sn_get_userA
Look up a ServiceNow user and return their profile, roles, and group memberships.
Accepts username, email address, name (first/last), or sys_id.
Inputs: identifier (required).
sn_list_rolesA
List available ServiceNow roles, optionally filtered by keyword. Useful before calling sn_assign_roles to confirm the exact role name.
Inputs: keyword, limit.
sn_manage_group_membersA
Add or remove members from a ServiceNow group, or list current members.
action options: add — Add one or more users to a group remove — Remove one or more users from a group list — List all current members of a group
Inputs: group (required), action (required), members.
sn_readA
Read one or many records from any ServiceNow table.
Provide sys_id to fetch a single record by ID
Provide query (encoded query string) to search multiple records
Leave both blank to get the first N records
Examples: table="incident" sys_id="abc123..." table="incident" query="active=true^priority=1^assigned_to=javascript:gs.getUserID()" limit=10 table="sys_user" query="active=true^email=john@company.com" table="sc_cat_item" query="active=true^nameLIKElaptop" fields="name,short_description,price"
Inputs: table (required), sys_id, query, fields, +2 more.
sn_updateA
Update a ServiceNow record by sys_id (PATCH — only the fields you provide are changed).
Examples: table="incident" sys_id="abc123" fields={state:"6", close_notes:"Resolved by restart"} table="sys_user" sys_id="xyz456" fields={title:"Senior Engineer", department:"Engineering"} table="sc_task" sys_id="def789" fields={assigned_to:"jane.doe", state:"2"}
Returns the updated record.
Inputs: table (required), sys_id (required), fields (required), return_fields.
start_audit_sessionA
Open an audit trail log file for this migration session. All subsequent migrations will be recorded with before/after field values, timing, and error details. Call this once at the start of any production migration.
Inputs: output_path, session_id.
suggest_target_tableA
Call this BEFORE discover_schema when the user has not told you which ServiceNow table to migrate into. It queries the live SN instance for all tables and ranks them by similarity to the source object name. Returns a ranked list of suggestions + a custom-table fallback. Present the top suggestion(s) to the user and ask them to confirm or choose a different one. NEVER guess or hardcode a table name — always call this first if the target is unknown.
Inputs: platform (required), object_name (required).
test_code_fileA
One-shot shortcut: user provides code (or file content), get back a full expert test plan immediately.
Combines analyze_for_testing + create_test_plan in one call. The plan is still presented for approval before running — call run_approved_tests to execute.
Use this when:
User says "test this code" and pastes a script
User uploads a .js file and asks to test it
User provides a Script Include, Business Rule, or REST script directly
Inputs: code (required), artifact_name, artifact_type, priority.
test_integrationA
Send a single test payload through the bidirectional integration end-to-end and verify it arrives correctly on the other side.
For SN→external: touches a specific SN record (sets a harmless field) to fire the Business Rule, then polls the correlation table to confirm the external record was created/updated.
For external→SN: POSTs a test payload directly to the SN Scripted REST API inbound endpoint and verifies the SN record was updated.
Returns: pass/fail verdict, response from both sides, correlation record state.
Inputs: prefix (required), direction (required), sn_record_sys_id, test_payload, +1 more.
topological_sortA
Sort a list of entity types / record IDs in dependency order (parents before children). Useful for relationship-aware migration — e.g. migrate Epics before Stories before Sub-tasks. Provide nodes (IDs) and edges ([parentId, childId] pairs). Returns the sorted order.
Inputs: nodes (required), edges (required).
transform_previewA
Apply field transformation rules to a sample set of source records and return the transformed output. Use this to verify date formats, boolean normalization, status mapping, and custom transforms BEFORE running the full migration. Supports built-in presets: jira_status, jira_priority, sf_status, sf_priority.
Inputs: source_records (required), rules (required).
update_field_mappingsA
Update the field mapping configuration for an existing integration without recreating any artifacts. The mapping is stored in a sys_property record — this tool updates that property and returns the new active mapping.
Use when adding new fields to sync, removing fields, or correcting a mapping mistake. Changes take effect immediately on the next sync event.
Inputs: prefix (required), field_mappings (required), merge.
update_widgetA
Build a PATCH payload to update specific sections of an existing widget.
Provide the widget sys_id and only the sections you want to change. Returns a PATCH payload ready to send to /api/now/table/sp_widget/{sys_id}.
Updatable sections: template, css, client_script, server_script, option_schema, demo_data
Inputs: widget_sys_id (required), sections (required).
validate_target_aclA
Verifies the ServiceNow integration user can read, create, update, and delete records on the target table. Call this BEFORE build_artifacts to catch permission problems early.
Inputs: sn_table (required).
verify_migration_countsA
Verify that record counts match across all three layers of a migration: Source (Jira / Salesforce) → Staging table → Target table
Checks: - How many records exist in the source - How many rows landed in the staging table - How many records were created in the target table - Whether staging count matches source (no records lost in transit) - Whether target count matches staging (no records lost in transform) - Whether there are MORE records in staging or target than in source (duplicates)
Use this after a full migration to confirm data integrity. Also useful after a test migration to see how many records were actually moved.
Inputs: platform (required), object_name (required), staging_table (required), target_table (required), +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 125 tools
Each tool targets a specific resource and action, with clear phase prefixes (e.g., analyze_, build_, create_). Even within dense areas like migration, tools like discover_schema, build_artifacts, and run_full_migration are distinct. The platform prefixes (jira_, sf_, sn_) further separate concerns.
Tool names follow a consistent verb_noun pattern in snake_case. Platform-specific tools are uniformly prefixed (jira_, sf_, sn_). Variations like test_code_file or map_users still adhere to the same structure. No mixing of camelCase or inconsistent verb forms.
At 125 tools, the set is very large. While it covers a broad scope across multiple platforms (Jira, Salesforce, ServiceNow) and many functional areas (migration, testing, integration, code generation), the sheer number may overwhelm agents and increase selection complexity. Slight trimming or grouping could improve usability.
The tool surface is remarkably comprehensive, covering migration lifecycle, testing, integration, code review, and administration. Minor gaps exist: e.g., no direct tool for updating catalog items (only clone), and deletion tools are limited (e.g., no generic delete for most entities). Overall, core workflows are well-supported.
Maintenance
Related MCP Connectors
Read and write NetSuite and run SuiteQL from Claude or ChatGPT. Write tools flagged for approval.
Live SEO workflow tools for Claude Code, Codex, and AI agents.
Claude-powered AI tools: research, write, code, analyze, translate, debate, pitch, score, and more.
Read and write Sage Intacct from Claude or ChatGPT. Write tools are flagged for approval.
Related MCP Servers
- AlicenseBqualityNot gradedmaintenanceEnables Claude to interact with ServiceNow instances through the ServiceNow API. Supports comprehensive ServiceNow operations including incident management, service catalog management, change requests, user management, and workflow automation through natural language.82MIT
- AlicenseCqualityDmaintenanceEnables Claude to interact with ServiceNow instances through comprehensive API integration. Supports incident management, service catalog operations, change requests, knowledge base management, user administration, and agile project management with multiple authentication methods.82MIT
- AlicenseNot gradedqualityNot gradedmaintenanceEnables Claude to interact with ServiceNow instances for incident management, service catalog operations, change requests, knowledge base management, user administration, and agile project workflows through various authentication methods.MIT
- AlicenseCqualityDmaintenanceEnables Claude to interact with ServiceNow instances to manage incidents, service catalogs, workflows, and knowledge bases through the ServiceNow API. It supports comprehensive operations including record querying, script execution, and user management using various authentication methods.66MIT