🏔️

SNOW-FLOW

Revolutionary ServiceNow Development Through AI

Revolutionary Features

🤖

AI-Powered

Claude AI integration for intelligent code generation with ES5 compatibility.

🔄

Multi-Agent

Orchestrate specialized agents working in parallel for complex tasks.

🏔️

17 MCP Servers

Specialized servers for every ServiceNow development need.

📊

Real-Time Data

Direct connection to ServiceNow for real production insights.

Powerful Capabilities

# AI Chatbot Widget snow-flow swarm "Create an intelligent chatbot widget that helps users reset passwords, check incident status, and request catalog items with NLU support" \ --strategy development --parallel --monitor
# Process Mining & Optimization snow-flow swarm "Analyze our incident resolution process, identify bottlenecks, and create automated workflows to reduce MTTR by 40%" \ --strategy analysis --output html
# Predictive ML Model snow-flow swarm "Train an LSTM model to predict incident priorities based on description, category and historical patterns. Deploy as real-time API" \ --max-agents 8 --mode hierarchical

17 MCP Servers × 200+ Real Tools

Complete ServiceNow Automation Arsenal - Actual Tools from Snow-Flow Codebase

🚀 Deployment Server

Widget & artifact deployment with coherence validation

  • • snow_deploy
  • • snow_update
  • • snow_delete
  • • snow_validate_deployment
  • • snow_rollback_deployment
  • • snow_preview_widget
  • • snow_widget_test
  • • snow_batch_deploy

⚙️ Operations Server

Core ServiceNow operations and queries

  • • snow_query_table
  • • snow_query_incidents
  • • snow_cmdb_search
  • • snow_user_lookup
  • • snow_operational_metrics
  • • snow_knowledge_search
  • • snow_create_incident
  • • snow_update_incident
  • • + 4 more ops tools...

🤖 Automation Server (27 tools!)

Script execution & comprehensive automation

  • • snow_execute_background_script
  • • snow_execute_script_with_output
  • • snow_execute_script_sync
  • • snow_confirm_script_execution
  • • snow_create_scheduled_job
  • • snow_create_atf_test
  • • snow_execute_atf_test
  • • snow_property_manager
  • • + 19 more automation tools...

💻 Platform Dev Server

Create platform artifacts

  • • snow_create_script_include
  • • snow_create_business_rule
  • • snow_create_client_script
  • • snow_create_ui_policy
  • • snow_create_ui_action
  • • snow_create_ui_page

🔌 Integration Server

REST/SOAP & data management

  • • snow_create_rest_message
  • • snow_create_transform_map
  • • snow_create_import_set
  • • snow_test_web_service
  • • snow_configure_email

🔧 Properties Server

System property management

  • • snow_property_get
  • • snow_property_set
  • • snow_property_list
  • • snow_property_delete
  • • snow_property_bulk_update
  • • snow_property_export
  • • snow_property_import

📦 Update Set Server

Change management & deployment

  • • snow_update_set_create
  • • snow_update_set_switch
  • • snow_update_set_current
  • • snow_update_set_complete
  • • snow_update_set_export
  • • snow_ensure_active_update_set

🧠 Dev Assistant Server

Intelligent artifact search & editing

  • • snow_find_artifact
  • • snow_edit_artifact
  • • snow_get_by_sysid
  • • snow_analyze_artifact
  • • snow_comprehensive_search
  • • snow_analyze_requirements

🔒 Security Server

Security & compliance management

  • • snow_create_security_policy
  • • snow_audit_compliance
  • • snow_scan_vulnerabilities
  • • snow_assess_risk
  • • snow_review_access_control

📊 Analytics Server

Reporting & data visualization

  • • snow_create_report
  • • snow_create_dashboard
  • • snow_define_kpi
  • • snow_schedule_report
  • • snow_analyze_data_quality

🤖 ML Server

TensorFlow.js & native ML

  • • ml_train_incident_classifier
  • • ml_predict_change_risk
  • • ml_detect_anomalies
  • • ml_forecast_incidents
  • • ml_performance_analytics
  • • ml_hybrid_recommendation

🎯 Orchestration Server

Multi-agent coordination

  • • swarm_init
  • • agent_spawn
  • • task_orchestrate
  • • memory_search
  • • neural_train
  • • performance_report

📚 Knowledge Server

Knowledge & service catalog

  • • snow_create_knowledge_article
  • • snow_search_knowledge
  • • snow_create_catalog_item
  • • snow_create_catalog_variable
  • • snow_order_catalog_item
  • • snow_discover_catalogs

💬 Change & VA Server

Change management & Virtual Agent

  • • snow_create_change_request
  • • snow_schedule_cab_meeting
  • • snow_create_va_topic
  • • snow_send_va_message
  • • snow_create_pa_indicator
  • • snow_get_pa_scores

🏔️ Flow Server

Flow Designer & Workspace

  • • snow_list_flows
  • • snow_execute_flow
  • • snow_get_flow_details
  • • snow_create_workspace
  • • snow_configure_mobile_app
  • • snow_send_push_notification

🗄️ CMDB Server

CI management & events

  • • snow_create_ci
  • • snow_create_ci_relationship
  • • snow_run_discovery
  • • snow_create_hr_case
  • • snow_create_customer_case
  • • snow_create_devops_pipeline

🚀 Advanced Server

Batch operations & optimization

  • • snow_batch_api (80% API reduction)
  • • snow_get_table_relationships
  • • snow_analyze_query
  • • snow_detect_code_patterns
  • • snow_discover_process
  • • snow_generate_documentation

17 MCP Servers × 200+ REAL Tools = Complete ServiceNow Automation

Every tool listed above is extracted directly from Snow-Flow v3.4.38 codebase - 100% real implementation.

✅ Deployment (10 tools) • Operations (12 tools) • Automation (27 tools!) • Platform (9 tools) • Integration (10 tools) • Properties (12 tools) • And 11 more servers...

Quick Start

npm install -g snow-flow snow-flow init snow-flow auth login snow-flow swarm "Create incident dashboard widget"

Complete Documentation

🚀 Get Started in 3 Minutes

1. Install Snow-Flow

npm install -g snow-flow

2. Initialize Project

snow-flow init

Creates .env, .claude/, and CLAUDE.md files

3. Authenticate

snow-flow auth login

Connect to your ServiceNow instance

🎯 Your First Swarm

# Create a complete incident dashboard snow-flow swarm "Build an incident dashboard widget that shows: - Critical incidents by priority - Assignment group workload - SLA breach predictions - Auto-refresh every 30 seconds - Click-through to incident details" # Result: Complete widget deployed to ServiceNow ✅ Widget: incident_dashboard_v1 ✅ Client Script: Auto-refresh & click handlers ✅ Server Script: GlideRecord queries (ES5) ✅ CSS: Modern responsive design ✅ Portal Page: Added to Service Portal

📦 Installation Guide

Prerequisites

  • Node.js 18+ (download from nodejs.org)
  • npm 9+ (comes with Node.js)
  • ServiceNow instance with admin access
  • Claude Code desktop app

Global Installation

# Install globally via NPM npm install -g snow-flow # Verify installation snow-flow --version # Expected: 3.4.39 # Check available commands snow-flow --help

ServiceNow OAuth Setup

1. Navigate to System OAuth → Application Registry
2. Create OAuth endpoint for external clients
3. Copy Client ID & Secret to .env
4. Set redirect URL: http://localhost:3000/callback

🤖 Claude Code Setup

⚠️ CRITICAL: Must run claude login first to fix "dangerously skip permissions" errors!

Step-by-Step Setup

# 1. Login to Claude (REQUIRED!) claude login # 2. Initialize Snow-Flow project snow-flow init # 3. When prompted, select Y to auto-start Claude 🚀 Would you like to start Claude Code with MCP servers? (Y/n) # 4. If manual setup needed: claude --mcp-config .claude/claude_desktop_config.json

What Gets Configured

  • 17 MCP Servers - All ServiceNow automation tools
  • 200+ Tools - Every function documented
  • Auto-Approval - No manual permission steps
  • Error Recovery - Automatic timeout handling
  • ES5 Validation - Rhino engine compatibility
✅ Success Indicators:
• Claude Code shows 17 MCP servers
• Tools like snow_deploy available
• No permission error messages

🛠️ 200+ MCP Tools Reference

🚀 Deployment (10 tools)

snow_deploy - Create artifacts snow_update - Update existing snow_delete - Remove artifacts snow_validate_deployment snow_rollback_deployment snow_preview_widget snow_widget_test snow_batch_deploy

🤖 Automation (27 tools)

snow_execute_background_script snow_execute_script_with_output snow_execute_script_sync snow_create_scheduled_job snow_create_atf_test snow_execute_atf_test + 21 more automation tools

🧠 Machine Learning (6 tools)

ml_train_incident_classifier ml_predict_change_risk ml_detect_anomalies ml_forecast_incidents ml_performance_analytics ml_hybrid_recommendation

Most Used Tools

# Widget Deployment with Coherence Check await snow_deploy({ type: 'widget', config: { name: 'my_dashboard', title: 'My Dashboard', template: '<div>{{data.message}}</div>', script: 'data.message = "Hello World";', client_script: 'function($scope) { var c = this; }' } }); # Background Script (ES5 ONLY!) await snow_execute_script_with_output({ script: ` var gr = new GlideRecord('incident'); gr.addQuery('active', true); gr.query(); gs.info('Found: ' + gr.getRowCount()); ` });
# Query ServiceNow Tables await snow_query_table({ table: 'incident', query: 'active=true^priority=1', fields: ['number', 'short_description'], limit: 10 }); # Machine Learning Training await ml_train_incident_classifier({ dataset_size: 1000, model_type: 'lstm', epochs: 50, validation_split: 0.2, use_tensorflow: true });

💡 Real-World Examples

Complete ServiceNow Application

snow-flow swarm "Build a complete employee onboarding application with approval workflows, automated account provisioning, equipment requests, and dashboards for HR managers to track onboarding progress" ✨ Creates: Portal, Workflows, Catalog Items, Reports

Real-Time Incident Analysis

snow-flow swarm "Create a real-time incident analyzer that uses ML to detect patterns, suggests resolutions based on historical data, and auto-assigns to the right team using CMDB relationships" 🤖 Uses: TensorFlow.js, CMDB API, ML Models

More Examples

# AI Chatbot Widget snow-flow swarm "Create an intelligent chatbot widget that helps users reset passwords, check incident status, and request catalog items with NLU support"
# Process Mining snow-flow swarm "Analyze our incident resolution process, identify bottlenecks, and create automated workflows to reduce MTTR by 40%"
# Predictive ML Model snow-flow swarm "Train an LSTM model to predict incident priorities based on description, category and historical patterns. Deploy as real-time API"

🔧 Troubleshooting Guide

Common Issues

❌ Permission Errors in Claude Code

"dangerously skip permissions" error

# SOLUTION: Login first! claude login claude --mcp-config .claude/claude_desktop_config.json
❌ ES5 Syntax Errors

ServiceNow uses Rhino engine - ES6+ fails

# ❌ WRONG: Modern JavaScript const users = data.filter(u => u.active); # ✅ CORRECT: ES5 Only var users = []; for (var i = 0; i < data.length; i++) { if (data[i].active) users.push(data[i]); }

Debug Commands

# Test ServiceNow connection snow-flow auth login # Verify authentication status snow-flow auth status # Re-initialize if needed snow-flow init # Check version and help snow-flow --version snow-flow --help # Enable verbose logging export DEBUG=snow-flow:*

Quick Fixes

  • MCP not responding: Re-run snow-flow init and restart Claude Code
  • Auth failed: Run snow-flow auth login again
  • Widget deployment failed: Check ES5 syntax and field names
  • Claude permission errors: Always run claude login first

17

MCP Servers

200+

Tools

80%

API Reduction

100%

Real Data

Ready to Revolutionize ServiceNow?

Join thousands of developers building faster with Snow-Flow