snow-flow 1.4.38 → 1.4.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-flow/metrics/system-metrics.json +204 -0
- package/CLAUDE.md +0 -8
- package/README.md +2 -10
- package/SIMPLE_TEST_COMMANDS.txt +143 -0
- package/TEST_COMMANDS_v139.sh +126 -0
- package/dist/mcp/servicenow-automation-mcp.js +35 -6
- package/dist/mcp/servicenow-automation-mcp.js.map +1 -1
- package/dist/mcp/servicenow-deployment-mcp.js +0 -34
- package/dist/mcp/servicenow-deployment-mcp.js.map +1 -1
- package/dist/mcp/servicenow-integration-mcp.js +33 -7
- package/dist/mcp/servicenow-integration-mcp.js.map +1 -1
- package/dist/mcp/servicenow-operations-mcp.js +18 -6
- package/dist/mcp/servicenow-operations-mcp.js.map +1 -1
- package/dist/mcp/snow-flow-mcp.js +66 -129
- package/dist/mcp/snow-flow-mcp.js.map +1 -1
- package/dist/mcp/start-all-mcp-servers.js +0 -4
- package/dist/mcp/start-all-mcp-servers.js.map +1 -1
- package/dist/version.d.ts +2 -1
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +9 -1
- package/dist/version.js.map +1 -1
- package/package.json +1 -1
|
@@ -23602,5 +23602,209 @@
|
|
|
23602
23602
|
"cpuLoad": 0.411376953125,
|
|
23603
23603
|
"platform": "darwin",
|
|
23604
23604
|
"uptime": 474500
|
|
23605
|
+
},
|
|
23606
|
+
{
|
|
23607
|
+
"timestamp": 1754209748398,
|
|
23608
|
+
"memoryTotal": 17179869184,
|
|
23609
|
+
"memoryUsed": 17067474944,
|
|
23610
|
+
"memoryFree": 112394240,
|
|
23611
|
+
"memoryUsagePercent": 99.34577941894531,
|
|
23612
|
+
"memoryEfficiency": 0.6542205810546875,
|
|
23613
|
+
"cpuCount": 8,
|
|
23614
|
+
"cpuLoad": 0.307861328125,
|
|
23615
|
+
"platform": "darwin",
|
|
23616
|
+
"uptime": 474530
|
|
23617
|
+
},
|
|
23618
|
+
{
|
|
23619
|
+
"timestamp": 1754209778398,
|
|
23620
|
+
"memoryTotal": 17179869184,
|
|
23621
|
+
"memoryUsed": 17061707776,
|
|
23622
|
+
"memoryFree": 118161408,
|
|
23623
|
+
"memoryUsagePercent": 99.31221008300781,
|
|
23624
|
+
"memoryEfficiency": 0.6877899169921875,
|
|
23625
|
+
"cpuCount": 8,
|
|
23626
|
+
"cpuLoad": 0.2183837890625,
|
|
23627
|
+
"platform": "darwin",
|
|
23628
|
+
"uptime": 474560
|
|
23629
|
+
},
|
|
23630
|
+
{
|
|
23631
|
+
"timestamp": 1754209808398,
|
|
23632
|
+
"memoryTotal": 17179869184,
|
|
23633
|
+
"memoryUsed": 17067278336,
|
|
23634
|
+
"memoryFree": 112590848,
|
|
23635
|
+
"memoryUsagePercent": 99.34463500976562,
|
|
23636
|
+
"memoryEfficiency": 0.655364990234375,
|
|
23637
|
+
"cpuCount": 8,
|
|
23638
|
+
"cpuLoad": 0.18560791015625,
|
|
23639
|
+
"platform": "darwin",
|
|
23640
|
+
"uptime": 474590
|
|
23641
|
+
},
|
|
23642
|
+
{
|
|
23643
|
+
"timestamp": 1754209838398,
|
|
23644
|
+
"memoryTotal": 17179869184,
|
|
23645
|
+
"memoryUsed": 17068818432,
|
|
23646
|
+
"memoryFree": 111050752,
|
|
23647
|
+
"memoryUsagePercent": 99.35359954833984,
|
|
23648
|
+
"memoryEfficiency": 0.6464004516601562,
|
|
23649
|
+
"cpuCount": 8,
|
|
23650
|
+
"cpuLoad": 0.18017578125,
|
|
23651
|
+
"platform": "darwin",
|
|
23652
|
+
"uptime": 474620
|
|
23653
|
+
},
|
|
23654
|
+
{
|
|
23655
|
+
"timestamp": 1754209868399,
|
|
23656
|
+
"memoryTotal": 17179869184,
|
|
23657
|
+
"memoryUsed": 17084710912,
|
|
23658
|
+
"memoryFree": 95158272,
|
|
23659
|
+
"memoryUsagePercent": 99.44610595703125,
|
|
23660
|
+
"memoryEfficiency": 0.55389404296875,
|
|
23661
|
+
"cpuCount": 8,
|
|
23662
|
+
"cpuLoad": 0.15826416015625,
|
|
23663
|
+
"platform": "darwin",
|
|
23664
|
+
"uptime": 474650
|
|
23665
|
+
},
|
|
23666
|
+
{
|
|
23667
|
+
"timestamp": 1754209898400,
|
|
23668
|
+
"memoryTotal": 17179869184,
|
|
23669
|
+
"memoryUsed": 17103192064,
|
|
23670
|
+
"memoryFree": 76677120,
|
|
23671
|
+
"memoryUsagePercent": 99.55368041992188,
|
|
23672
|
+
"memoryEfficiency": 0.446319580078125,
|
|
23673
|
+
"cpuCount": 8,
|
|
23674
|
+
"cpuLoad": 0.171142578125,
|
|
23675
|
+
"platform": "darwin",
|
|
23676
|
+
"uptime": 474680
|
|
23677
|
+
},
|
|
23678
|
+
{
|
|
23679
|
+
"timestamp": 1754209928400,
|
|
23680
|
+
"memoryTotal": 17179869184,
|
|
23681
|
+
"memoryUsed": 16839950336,
|
|
23682
|
+
"memoryFree": 339918848,
|
|
23683
|
+
"memoryUsagePercent": 98.02141189575195,
|
|
23684
|
+
"memoryEfficiency": 1.9785881042480469,
|
|
23685
|
+
"cpuCount": 8,
|
|
23686
|
+
"cpuLoad": 0.28240966796875,
|
|
23687
|
+
"platform": "darwin",
|
|
23688
|
+
"uptime": 474710
|
|
23689
|
+
},
|
|
23690
|
+
{
|
|
23691
|
+
"timestamp": 1754209958400,
|
|
23692
|
+
"memoryTotal": 17179869184,
|
|
23693
|
+
"memoryUsed": 17055711232,
|
|
23694
|
+
"memoryFree": 124157952,
|
|
23695
|
+
"memoryUsagePercent": 99.27730560302734,
|
|
23696
|
+
"memoryEfficiency": 0.7226943969726562,
|
|
23697
|
+
"cpuCount": 8,
|
|
23698
|
+
"cpuLoad": 0.28009033203125,
|
|
23699
|
+
"platform": "darwin",
|
|
23700
|
+
"uptime": 474740
|
|
23701
|
+
},
|
|
23702
|
+
{
|
|
23703
|
+
"timestamp": 1754209988400,
|
|
23704
|
+
"memoryTotal": 17179869184,
|
|
23705
|
+
"memoryUsed": 17097703424,
|
|
23706
|
+
"memoryFree": 82165760,
|
|
23707
|
+
"memoryUsagePercent": 99.52173233032227,
|
|
23708
|
+
"memoryEfficiency": 0.4782676696777344,
|
|
23709
|
+
"cpuCount": 8,
|
|
23710
|
+
"cpuLoad": 0.32342529296875,
|
|
23711
|
+
"platform": "darwin",
|
|
23712
|
+
"uptime": 474770
|
|
23713
|
+
},
|
|
23714
|
+
{
|
|
23715
|
+
"timestamp": 1754210018400,
|
|
23716
|
+
"memoryTotal": 17179869184,
|
|
23717
|
+
"memoryUsed": 16949379072,
|
|
23718
|
+
"memoryFree": 230490112,
|
|
23719
|
+
"memoryUsagePercent": 98.65837097167969,
|
|
23720
|
+
"memoryEfficiency": 1.3416290283203125,
|
|
23721
|
+
"cpuCount": 8,
|
|
23722
|
+
"cpuLoad": 0.25518798828125,
|
|
23723
|
+
"platform": "darwin",
|
|
23724
|
+
"uptime": 474800
|
|
23725
|
+
},
|
|
23726
|
+
{
|
|
23727
|
+
"timestamp": 1754210048399,
|
|
23728
|
+
"memoryTotal": 17179869184,
|
|
23729
|
+
"memoryUsed": 16959832064,
|
|
23730
|
+
"memoryFree": 220037120,
|
|
23731
|
+
"memoryUsagePercent": 98.7192153930664,
|
|
23732
|
+
"memoryEfficiency": 1.2807846069335938,
|
|
23733
|
+
"cpuCount": 8,
|
|
23734
|
+
"cpuLoad": 0.34539794921875,
|
|
23735
|
+
"platform": "darwin",
|
|
23736
|
+
"uptime": 474830
|
|
23737
|
+
},
|
|
23738
|
+
{
|
|
23739
|
+
"timestamp": 1754210078399,
|
|
23740
|
+
"memoryTotal": 17179869184,
|
|
23741
|
+
"memoryUsed": 16997253120,
|
|
23742
|
+
"memoryFree": 182616064,
|
|
23743
|
+
"memoryUsagePercent": 98.9370346069336,
|
|
23744
|
+
"memoryEfficiency": 1.0629653930664062,
|
|
23745
|
+
"cpuCount": 8,
|
|
23746
|
+
"cpuLoad": 0.4178466796875,
|
|
23747
|
+
"platform": "darwin",
|
|
23748
|
+
"uptime": 474860
|
|
23749
|
+
},
|
|
23750
|
+
{
|
|
23751
|
+
"timestamp": 1754210108400,
|
|
23752
|
+
"memoryTotal": 17179869184,
|
|
23753
|
+
"memoryUsed": 17046405120,
|
|
23754
|
+
"memoryFree": 133464064,
|
|
23755
|
+
"memoryUsagePercent": 99.22313690185547,
|
|
23756
|
+
"memoryEfficiency": 0.7768630981445312,
|
|
23757
|
+
"cpuCount": 8,
|
|
23758
|
+
"cpuLoad": 0.34326171875,
|
|
23759
|
+
"platform": "darwin",
|
|
23760
|
+
"uptime": 474890
|
|
23761
|
+
},
|
|
23762
|
+
{
|
|
23763
|
+
"timestamp": 1754210138400,
|
|
23764
|
+
"memoryTotal": 17179869184,
|
|
23765
|
+
"memoryUsed": 17042358272,
|
|
23766
|
+
"memoryFree": 137510912,
|
|
23767
|
+
"memoryUsagePercent": 99.19958114624023,
|
|
23768
|
+
"memoryEfficiency": 0.8004188537597656,
|
|
23769
|
+
"cpuCount": 8,
|
|
23770
|
+
"cpuLoad": 0.25634765625,
|
|
23771
|
+
"platform": "darwin",
|
|
23772
|
+
"uptime": 474920
|
|
23773
|
+
},
|
|
23774
|
+
{
|
|
23775
|
+
"timestamp": 1754210168401,
|
|
23776
|
+
"memoryTotal": 17179869184,
|
|
23777
|
+
"memoryUsed": 17093885952,
|
|
23778
|
+
"memoryFree": 85983232,
|
|
23779
|
+
"memoryUsagePercent": 99.49951171875,
|
|
23780
|
+
"memoryEfficiency": 0.50048828125,
|
|
23781
|
+
"cpuCount": 8,
|
|
23782
|
+
"cpuLoad": 0.2216796875,
|
|
23783
|
+
"platform": "darwin",
|
|
23784
|
+
"uptime": 474950
|
|
23785
|
+
},
|
|
23786
|
+
{
|
|
23787
|
+
"timestamp": 1754210198401,
|
|
23788
|
+
"memoryTotal": 17179869184,
|
|
23789
|
+
"memoryUsed": 17122410496,
|
|
23790
|
+
"memoryFree": 57458688,
|
|
23791
|
+
"memoryUsagePercent": 99.66554641723633,
|
|
23792
|
+
"memoryEfficiency": 0.3344535827636719,
|
|
23793
|
+
"cpuCount": 8,
|
|
23794
|
+
"cpuLoad": 0.1900634765625,
|
|
23795
|
+
"platform": "darwin",
|
|
23796
|
+
"uptime": 474980
|
|
23797
|
+
},
|
|
23798
|
+
{
|
|
23799
|
+
"timestamp": 1754210228402,
|
|
23800
|
+
"memoryTotal": 17179869184,
|
|
23801
|
+
"memoryUsed": 16803676160,
|
|
23802
|
+
"memoryFree": 376193024,
|
|
23803
|
+
"memoryUsagePercent": 97.81026840209961,
|
|
23804
|
+
"memoryEfficiency": 2.1897315979003906,
|
|
23805
|
+
"cpuCount": 8,
|
|
23806
|
+
"cpuLoad": 0.16973876953125,
|
|
23807
|
+
"platform": "darwin",
|
|
23808
|
+
"uptime": 475010
|
|
23605
23809
|
}
|
|
23606
23810
|
]
|
package/CLAUDE.md
CHANGED
|
@@ -280,14 +280,6 @@ Snow-Flow provides comprehensive ServiceNow intelligence through 16 specialized
|
|
|
280
280
|
- `memory_search` - Search memory with pattern matching
|
|
281
281
|
- `performance_report` - Generate performance reports with metrics
|
|
282
282
|
|
|
283
|
-
### 🧠 **Graph Memory & Dependency Analysis** (7 tools)
|
|
284
|
-
- `snow_graph_index_artifact` - Index artifacts in Neo4j with relationship mapping
|
|
285
|
-
- `snow_graph_find_related` - Find ALL connections & dependencies of any script/artifact
|
|
286
|
-
- `snow_graph_analyze_impact` - AI-powered impact analysis before making changes
|
|
287
|
-
- `snow_graph_suggest_artifacts` - Intelligent artifact suggestions based on patterns
|
|
288
|
-
- `snow_graph_pattern_analysis` - Advanced pattern recognition across all code
|
|
289
|
-
- `snow_graph_visualize` - Generate visual dependency graphs (Cypher/Mermaid)
|
|
290
|
-
- `snow_graph_export_knowledge` - Export learned patterns and relationships
|
|
291
283
|
|
|
292
284
|
### 🔄 **Process Mining & Workflow Analysis** (4 tools)
|
|
293
285
|
- `snow_discover_process` - Real process mining from ServiceNow audit logs
|
package/README.md
CHANGED
|
@@ -104,14 +104,6 @@ Snow-Flow provides **100+ real MCP tools** across 16 categories via **16 special
|
|
|
104
104
|
- ✅ `memory_search` - Search memory with pattern matching
|
|
105
105
|
- ✅ `performance_report` - Generate performance reports with metrics
|
|
106
106
|
|
|
107
|
-
### 🧠 **Graph Memory & Dependency Analysis** (7 tools - KILLER FEATURES!)
|
|
108
|
-
- ✅ `snow_graph_index_artifact` - Index artifacts in Neo4j with full relationship mapping
|
|
109
|
-
- ✅ `snow_graph_find_related` - **Find ALL connections & dependencies of any script/artifact**
|
|
110
|
-
- ✅ `snow_graph_analyze_impact` - AI-powered impact analysis before making changes
|
|
111
|
-
- ✅ `snow_graph_suggest_artifacts` - Intelligent artifact suggestions based on patterns
|
|
112
|
-
- ✅ `snow_graph_pattern_analysis` - Advanced pattern recognition across all code
|
|
113
|
-
- ✅ `snow_graph_visualize` - Generate visual dependency graphs (Cypher/Mermaid)
|
|
114
|
-
- ✅ `snow_graph_export_knowledge` - Export learned patterns and relationships
|
|
115
107
|
|
|
116
108
|
### 🔄 **Process Mining & Workflow Analysis** (4 tools - REVOLUTIONARY!)
|
|
117
109
|
- ✅ `snow_discover_process` - **Real process mining from ServiceNow audit logs**
|
|
@@ -222,7 +214,7 @@ Snow-Flow provides **100+ real MCP tools** across 16 categories via **16 special
|
|
|
222
214
|
- **✅ Working Tools**: 85+ tools (85% success rate)
|
|
223
215
|
- **⚠️ Limited Tools**: 10 tools (permission/config issues)
|
|
224
216
|
- **🔧 Available Tools**: 100+ total across 16 categories
|
|
225
|
-
- **🚀 Advanced Features**:
|
|
217
|
+
- **🚀 Advanced Features**: Native Memory System, Process Mining, AI Analytics
|
|
226
218
|
- **🏗️ Architecture**: 16 specialized MCP servers for comprehensive coverage
|
|
227
219
|
|
|
228
220
|
### 🎯 **Natural Language Examples**
|
|
@@ -246,7 +238,7 @@ snow-flow swarm "Predict impact if I modify the Priority field in incident table
|
|
|
246
238
|
|
|
247
239
|
# 📊 VISUAL DEPENDENCY MAPPING
|
|
248
240
|
snow-flow swarm "Create visual dependency graph for all my custom scripts"
|
|
249
|
-
# Result:
|
|
241
|
+
# Result: Intelligent memory patterns, workflow optimizations
|
|
250
242
|
|
|
251
243
|
# 🔍 PATTERN DETECTION
|
|
252
244
|
snow-flow swarm "Find security anti-patterns across all my ServiceNow scripts"
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
SNOW-FLOW v1.4.39 TEST COMMANDS - PLAIN TEXT
|
|
2
|
+
|
|
3
|
+
Copy each command individually and paste into Claude Code terminal.
|
|
4
|
+
|
|
5
|
+
=== Snow-Flow Native AI Swarm Orchestration (14 tools) ===
|
|
6
|
+
|
|
7
|
+
mcp__snow-flow__swarm_init --topology hierarchical --maxAgents 5
|
|
8
|
+
mcp__snow-flow__agent_spawn --type researcher --name Research_Agent
|
|
9
|
+
mcp__snow-flow__task_orchestrate --task Analyze_ServiceNow_best_practices
|
|
10
|
+
mcp__snow-flow__swarm_status
|
|
11
|
+
mcp__snow-flow__memory_usage --action store --key test_result --value success
|
|
12
|
+
mcp__snow-flow__memory_search --pattern test --limit 10
|
|
13
|
+
mcp__snow-flow__neural_train --pattern_type optimization --training_data sample_data
|
|
14
|
+
mcp__snow-flow__neural_patterns --action analyze
|
|
15
|
+
mcp__snow-flow__performance_report --format summary
|
|
16
|
+
mcp__snow-flow__neural_status --modelId default-model
|
|
17
|
+
mcp__snow-flow__token_usage --operation all --timeframe 24h
|
|
18
|
+
mcp__snow-flow__memory_usage --action retrieve --key test_result
|
|
19
|
+
mcp__snow-flow__memory_usage --action list --namespace default
|
|
20
|
+
mcp__snow-flow__memory_usage --action delete --key test_result
|
|
21
|
+
|
|
22
|
+
=== Update Set Management (9 tools) ===
|
|
23
|
+
|
|
24
|
+
mcp__servicenow-update-set__snow_update_set_create --name TEST-139_v1.4.39_Testing --description Testing_all_tools
|
|
25
|
+
mcp__servicenow-update-set__snow_update_set_current
|
|
26
|
+
mcp__servicenow-update-set__snow_update_set_list --limit 5
|
|
27
|
+
mcp__servicenow-update-set__snow_update_set_add_artifact --type widget --sys_id test123 --name Test_Widget
|
|
28
|
+
mcp__servicenow-update-set__snow_update_set_preview
|
|
29
|
+
mcp__servicenow-update-set__snow_update_set_complete --notes Testing_completed
|
|
30
|
+
mcp__servicenow-update-set__snow_update_set_export --output_path update_set_export.xml
|
|
31
|
+
mcp__servicenow-update-set__snow_ensure_active_update_set --context testing_v1.4.39
|
|
32
|
+
mcp__servicenow-deployment__snow_smart_update_set --detect_context true
|
|
33
|
+
|
|
34
|
+
=== Deployment Tools (10 tools) ===
|
|
35
|
+
|
|
36
|
+
mcp__servicenow-deployment__snow_auth_diagnostics
|
|
37
|
+
mcp__servicenow-deployment__snow_deployment_status --limit 5
|
|
38
|
+
mcp__servicenow-deployment__snow_validate_deployment --type widget --artifact {}
|
|
39
|
+
mcp__servicenow-deployment__snow_export_artifact --type widget --sys_id test123
|
|
40
|
+
mcp__servicenow-deployment__snow_validate_sysid --sys_id test123 --table sp_widget
|
|
41
|
+
mcp__servicenow-deployment__snow_deployment_debug
|
|
42
|
+
mcp__servicenow-deployment__snow_preview_widget --template Test
|
|
43
|
+
mcp__servicenow-deployment__snow_widget_test --sys_id test123
|
|
44
|
+
mcp__servicenow-deployment__snow_deploy --type widget --instruction Create_test_widget
|
|
45
|
+
mcp__servicenow-deployment__snow_create_solution_package --name Test_Package --artifacts []
|
|
46
|
+
|
|
47
|
+
=== ServiceNow Operations (20 tools) ===
|
|
48
|
+
|
|
49
|
+
mcp__servicenow-operations__snow_query_incidents --query priority=1 --limit 5
|
|
50
|
+
mcp__servicenow-operations__snow_analyze_incident --incident_id INC0000001
|
|
51
|
+
mcp__servicenow-operations__snow_query_requests --query active=true --limit 5
|
|
52
|
+
mcp__servicenow-operations__snow_query_problems --query active=true --limit 5
|
|
53
|
+
mcp__servicenow-operations__snow_cmdb_search --query server --ci_type server
|
|
54
|
+
mcp__servicenow-operations__snow_user_lookup --identifier admin
|
|
55
|
+
mcp__servicenow-operations__snow_operational_metrics --timeframe week
|
|
56
|
+
mcp__servicenow-operations__snow_pattern__analysis --analysis_type incident_patterns
|
|
57
|
+
mcp__servicenow-operations__snow_knowledge_search --query network_issues
|
|
58
|
+
mcp__servicenow-operations__snow_predictive__analysis --prediction_type incident_volume
|
|
59
|
+
mcp__servicenow-operations__snow_catalog_item_manager --action list
|
|
60
|
+
mcp__servicenow-operations__snow_catalog_item_search --query iPhone
|
|
61
|
+
mcp__servicenow-operations__snow_cleanup_test_artifacts --dry_run true
|
|
62
|
+
mcp__servicenow-operations__snow_create_user_group --name Test_Group_v139
|
|
63
|
+
mcp__servicenow-operations__snow_create_user --user_name test.user.v139 --first_name Test --last_name User --email test@example.com
|
|
64
|
+
mcp__servicenow-operations__snow_assign_user_to_group --user test.user.v139 --group Test_Group_v139
|
|
65
|
+
mcp__servicenow-operations__snow_list_group_members --group Test_Group_v139
|
|
66
|
+
mcp__servicenow-operations__snow_auto_resolve_incident --incident_id INC0000001 --dry_run true
|
|
67
|
+
mcp__servicenow-operations__snow_remove_user_from_group --user test.user.v139 --group Test_Group_v139
|
|
68
|
+
mcp__servicenow-operations__snow_catalog_item_manager --action create --name Test_Item_v139
|
|
69
|
+
|
|
70
|
+
=== Platform Development (9 tools) ===
|
|
71
|
+
|
|
72
|
+
mcp__servicenow-platform-development__snow_discover_platform_tables --category all
|
|
73
|
+
mcp__servicenow-platform-development__snow_discover_table_fields --tableName incident
|
|
74
|
+
mcp__servicenow-platform-development__snow_table_schema_discovery --tableName incident
|
|
75
|
+
mcp__servicenow-platform-development__snow_create_ui_page --name test_page_v139 --title Test_Page --html Test
|
|
76
|
+
mcp__servicenow-platform-development__snow_create_script_include --name TestUtils139 --script var_TestUtils139_equals_Class.create()
|
|
77
|
+
mcp__servicenow-platform-development__snow_create_business_rule --name Test_Rule_v139 --tableName incident --script test_comment --when before
|
|
78
|
+
mcp__servicenow-platform-development__snow_create_client_script --name Test_Client_v139 --tableName incident --script test_comment --type onLoad
|
|
79
|
+
mcp__servicenow-platform-development__snow_create_ui_policy --name Test_Policy_v139 --tableName incident --condition priority=1
|
|
80
|
+
mcp__servicenow-platform-development__snow_create_ui_action --name Test_Action_v139 --tableName incident --script test_comment
|
|
81
|
+
|
|
82
|
+
=== Integration (10 tools) ===
|
|
83
|
+
|
|
84
|
+
mcp__servicenow-integration__snow_discover_integration_endpoints --type all
|
|
85
|
+
mcp__servicenow-integration__snow_discover_data_sources
|
|
86
|
+
mcp__servicenow-integration__snow_create_rest_message --name Test_REST_v139 --endpoint https://api.example.com
|
|
87
|
+
mcp__servicenow-integration__snow_create_rest_method --restMessageName Test_REST_v139 --methodName GET --httpMethod GET
|
|
88
|
+
mcp__servicenow-integration__snow_create_transform_map --name Test_Transform_v139 --sourceTable import_set --targetTable incident
|
|
89
|
+
mcp__servicenow-integration__snow_create_field_map --transformMapName Test_Transform_v139 --sourceField priority --targetField priority
|
|
90
|
+
mcp__servicenow-integration__snow_create_import_set --name test_import_v139 --label Test_Import
|
|
91
|
+
mcp__servicenow-integration__snow_create_web_service --name Test_WS_v139 --wsdlUrl https://example.com/wsdl
|
|
92
|
+
mcp__servicenow-integration__snow_create_email_config --name Test_Email_v139 --serverType SMTP --serverName smtp.example.com
|
|
93
|
+
mcp__servicenow-integration__snow_test_integration --endpointName Test_REST_v139
|
|
94
|
+
|
|
95
|
+
=== Reporting & Analytics (11 tools) ===
|
|
96
|
+
|
|
97
|
+
mcp__servicenow-reporting-analytics__snow_discover_reporting_tables
|
|
98
|
+
mcp__servicenow-reporting-analytics__snow_discover_report_fields --table incident
|
|
99
|
+
mcp__servicenow-reporting-analytics__snow_analyze_data_quality --table incident
|
|
100
|
+
mcp__servicenow-reporting-analytics__snow_create_report --name Test_Report_v139 --table incident --fields number,priority
|
|
101
|
+
mcp__servicenow-reporting-analytics__snow_create_dashboard --name Test_Dashboard_v139 --widgets []
|
|
102
|
+
mcp__servicenow-reporting-analytics__snow_create_kpi --name Test_KPI_v139 --table incident --metric count --aggregation count
|
|
103
|
+
mcp__servicenow-reporting-analytics__snow_create_data_visualization --name Test_Viz_v139 --type bar --dataSource incident
|
|
104
|
+
mcp__servicenow-reporting-analytics__snow_create_performance_analytics --name Test_Analytics_v139 --dataSource incident --metrics count
|
|
105
|
+
mcp__servicenow-reporting-analytics__snow_create_scheduled_report --reportName Test_Report_v139 --schedule daily --recipients test@example.com
|
|
106
|
+
mcp__servicenow-reporting-analytics__snow_generate_insights --table incident
|
|
107
|
+
mcp__servicenow-reporting-analytics__snow_export_report_data --reportName Test_Report_v139 --format CSV
|
|
108
|
+
|
|
109
|
+
=== Automation (10 tools) ===
|
|
110
|
+
|
|
111
|
+
mcp__servicenow-automation__snow_discover_schedules
|
|
112
|
+
mcp__servicenow-automation__snow_discover_events
|
|
113
|
+
mcp__servicenow-automation__snow_discover_automation_jobs
|
|
114
|
+
mcp__servicenow-automation__snow_create_scheduled_job --name Test_Job_v139 --script gs.log_test --schedule daily
|
|
115
|
+
mcp__servicenow-automation__snow_create_notification --name Test_Notif_v139 --table incident --when inserted --recipients admin --subject Test --message Test
|
|
116
|
+
mcp__servicenow-automation__snow_create_event_rule --name Test_Event_v139 --eventName incident.insert --script test_comment
|
|
117
|
+
mcp__servicenow-automation__snow_create_sla_definition --name Test_SLA_v139 --table incident --condition priority=1 --duration 1_hour
|
|
118
|
+
mcp__servicenow-automation__snow_create_escalation_rule --name Test_Escalation_v139 --table incident --condition priority=1 --escalationTime 60 --escalationScript test_comment
|
|
119
|
+
mcp__servicenow-automation__snow_create_workflow_activity --name Test_Activity_v139 --workflowName Test_Workflow --activityType approval
|
|
120
|
+
mcp__servicenow-automation__snow_test_scheduled_job --jobName Test_Job_v139
|
|
121
|
+
|
|
122
|
+
=== Security & Compliance (10 tools) ===
|
|
123
|
+
|
|
124
|
+
mcp__servicenow-security-compliance__snow_discover_security_frameworks
|
|
125
|
+
mcp__servicenow-security-compliance__snow_discover_security_policies
|
|
126
|
+
mcp__servicenow-security-compliance__snow_create_security_policy --name Test_Policy_v139 --type access --rules []
|
|
127
|
+
mcp__servicenow-security-compliance__snow_create_compliance_rule --name Test_Compliance_v139 --framework SOX --requirement Test --validation true
|
|
128
|
+
mcp__servicenow-security-compliance__snow_create_audit_rule --name Test_Audit_v139 --table incident --events create,update
|
|
129
|
+
mcp__servicenow-security-compliance__snow_create_access_control --name Test_ACL_v139 --table incident --operation read
|
|
130
|
+
mcp__servicenow-security-compliance__snow_create_data_policy --name Test_Data_v139 --table incident --fields priority --classification internal
|
|
131
|
+
mcp__servicenow-security-compliance__snow_create_vulnerability_scan --name Test_Scan_v139 --scope application
|
|
132
|
+
mcp__servicenow-security-compliance__snow_run_compliance_scan --framework SOX
|
|
133
|
+
mcp__servicenow-security-compliance__snow_security_risk_assessment --scope instance
|
|
134
|
+
|
|
135
|
+
TOTAL: 103 commands across 8 categories
|
|
136
|
+
Expected success rate: ~87% (90/103 tools working)
|
|
137
|
+
|
|
138
|
+
INSTRUCTIONS:
|
|
139
|
+
1. Copy each command line individually
|
|
140
|
+
2. Paste into Claude Code terminal
|
|
141
|
+
3. Press Enter to run
|
|
142
|
+
4. Wait for result before running next command
|
|
143
|
+
5. Report which commands fail with error details
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
# Snow-Flow v1.4.39 Test Commands - Shell-Ready Format
|
|
3
|
+
# Run each command individually or source this file
|
|
4
|
+
|
|
5
|
+
echo "🐝 Testing Snow-Flow Native AI Swarm Orchestration (14 tools)"
|
|
6
|
+
mcp__snow-flow__swarm_init --topology hierarchical --maxAgents 5
|
|
7
|
+
mcp__snow-flow__agent_spawn --type researcher --name "Research Agent"
|
|
8
|
+
mcp__snow-flow__task_orchestrate --task "Analyze ServiceNow best practices"
|
|
9
|
+
mcp__snow-flow__swarm_status
|
|
10
|
+
mcp__snow-flow__memory_usage --action store --key test_result --value success
|
|
11
|
+
mcp__snow-flow__memory_search --pattern test --limit 10
|
|
12
|
+
mcp__snow-flow__neural_train --pattern_type optimization --training_data "sample data"
|
|
13
|
+
mcp__snow-flow__neural_patterns --action analyze
|
|
14
|
+
mcp__snow-flow__performance_report --format summary
|
|
15
|
+
mcp__snow-flow__neural_status --modelId default-model
|
|
16
|
+
mcp__snow-flow__token_usage --operation all --timeframe 24h
|
|
17
|
+
mcp__snow-flow__memory_usage --action retrieve --key test_result
|
|
18
|
+
mcp__snow-flow__memory_usage --action list --namespace default
|
|
19
|
+
mcp__snow-flow__memory_usage --action delete --key test_result
|
|
20
|
+
|
|
21
|
+
echo "🔄 Testing Update Set Management (9 tools)"
|
|
22
|
+
mcp__servicenow-update-set__snow_update_set_create --name "TEST-139: v1.4.39 Testing" --description "Testing all tools"
|
|
23
|
+
mcp__servicenow-update-set__snow_update_set_current
|
|
24
|
+
mcp__servicenow-update-set__snow_update_set_list --limit 5
|
|
25
|
+
mcp__servicenow-update-set__snow_update_set_add_artifact --type widget --sys_id test123 --name "Test Widget"
|
|
26
|
+
mcp__servicenow-update-set__snow_update_set_preview
|
|
27
|
+
mcp__servicenow-update-set__snow_update_set_complete --notes "Testing completed"
|
|
28
|
+
mcp__servicenow-update-set__snow_update_set_export --output_path "./update_set_export.xml"
|
|
29
|
+
mcp__servicenow-update-set__snow_ensure_active_update_set --context "testing v1.4.39"
|
|
30
|
+
mcp__servicenow-deployment__snow_smart_update_set --detect_context true
|
|
31
|
+
|
|
32
|
+
echo "🚀 Testing Deployment Tools (10 tools)"
|
|
33
|
+
mcp__servicenow-deployment__snow_auth_diagnostics
|
|
34
|
+
mcp__servicenow-deployment__snow_deployment_status --limit 5
|
|
35
|
+
mcp__servicenow-deployment__snow_validate_deployment --type widget --artifact {}
|
|
36
|
+
mcp__servicenow-deployment__snow_export_artifact --type widget --sys_id test123
|
|
37
|
+
mcp__servicenow-deployment__snow_validate_sysid --sys_id test123 --table sp_widget
|
|
38
|
+
mcp__servicenow-deployment__snow_deployment_debug
|
|
39
|
+
mcp__servicenow-deployment__snow_preview_widget --template "<div>Test</div>"
|
|
40
|
+
mcp__servicenow-deployment__snow_widget_test --sys_id test123
|
|
41
|
+
mcp__servicenow-deployment__snow_deploy --type widget --instruction "Create test widget"
|
|
42
|
+
mcp__servicenow-deployment__snow_create_solution_package --name "Test Package" --artifacts []
|
|
43
|
+
|
|
44
|
+
echo "📊 Testing ServiceNow Operations (20 tools)"
|
|
45
|
+
mcp__servicenow-operations__snow_query_incidents --query "priority=1" --limit 5
|
|
46
|
+
mcp__servicenow-operations__snow_analyze_incident --incident_id INC0000001
|
|
47
|
+
mcp__servicenow-operations__snow_query_requests --query "active=true" --limit 5
|
|
48
|
+
mcp__servicenow-operations__snow_query_problems --query "active=true" --limit 5
|
|
49
|
+
mcp__servicenow-operations__snow_cmdb_search --query server --ci_type server
|
|
50
|
+
mcp__servicenow-operations__snow_user_lookup --identifier admin
|
|
51
|
+
mcp__servicenow-operations__snow_operational_metrics --timeframe week
|
|
52
|
+
mcp__servicenow-operations__snow_pattern__analysis --analysis_type incident_patterns
|
|
53
|
+
mcp__servicenow-operations__snow_knowledge_search --query "network issues"
|
|
54
|
+
mcp__servicenow-operations__snow_predictive__analysis --prediction_type incident_volume
|
|
55
|
+
mcp__servicenow-operations__snow_catalog_item_manager --action list
|
|
56
|
+
mcp__servicenow-operations__snow_catalog_item_search --query iPhone
|
|
57
|
+
mcp__servicenow-operations__snow_cleanup_test_artifacts --dry_run true
|
|
58
|
+
mcp__servicenow-operations__snow_create_user_group --name "Test Group v139"
|
|
59
|
+
mcp__servicenow-operations__snow_create_user --user_name test.user.v139 --first_name Test --last_name User --email test@example.com
|
|
60
|
+
mcp__servicenow-operations__snow_assign_user_to_group --user test.user.v139 --group "Test Group v139"
|
|
61
|
+
mcp__servicenow-operations__snow_list_group_members --group "Test Group v139"
|
|
62
|
+
mcp__servicenow-operations__snow_auto_resolve_incident --incident_id INC0000001 --dry_run true
|
|
63
|
+
mcp__servicenow-operations__snow_remove_user_from_group --user test.user.v139 --group "Test Group v139"
|
|
64
|
+
mcp__servicenow-operations__snow_catalog_item_manager --action create --name "Test Item v139"
|
|
65
|
+
|
|
66
|
+
echo "🔧 Testing Platform Development (9 tools)"
|
|
67
|
+
mcp__servicenow-platform-development__snow_discover_platform_tables --category all
|
|
68
|
+
mcp__servicenow-platform-development__snow_discover_table_fields --tableName incident
|
|
69
|
+
mcp__servicenow-platform-development__snow_table_schema_discovery --tableName incident
|
|
70
|
+
mcp__servicenow-platform-development__snow_create_ui_page --name test_page_v139 --title "Test Page" --html "<h1>Test</h1>"
|
|
71
|
+
mcp__servicenow-platform-development__snow_create_script_include --name TestUtils139 --script "var TestUtils139 = Class.create();"
|
|
72
|
+
mcp__servicenow-platform-development__snow_create_business_rule --name "Test Rule v139" --tableName incident --script "// test" --when before
|
|
73
|
+
mcp__servicenow-platform-development__snow_create_client_script --name "Test Client v139" --tableName incident --script "// test" --type onLoad
|
|
74
|
+
mcp__servicenow-platform-development__snow_create_ui_policy --name "Test Policy v139" --tableName incident --condition "priority=1"
|
|
75
|
+
mcp__servicenow-platform-development__snow_create_ui_action --name "Test Action v139" --tableName incident --script "// test"
|
|
76
|
+
|
|
77
|
+
echo "🔗 Testing Integration (10 tools)"
|
|
78
|
+
mcp__servicenow-integration__snow_discover_integration_endpoints --type all
|
|
79
|
+
mcp__servicenow-integration__snow_discover_data_sources
|
|
80
|
+
mcp__servicenow-integration__snow_create_rest_message --name "Test REST v139" --endpoint "https://api.example.com"
|
|
81
|
+
mcp__servicenow-integration__snow_create_rest_method --restMessageName "Test REST v139" --methodName GET --httpMethod GET
|
|
82
|
+
mcp__servicenow-integration__snow_create_transform_map --name "Test Transform v139" --sourceTable import_set --targetTable incident
|
|
83
|
+
mcp__servicenow-integration__snow_create_field_map --transformMapName "Test Transform v139" --sourceField priority --targetField priority
|
|
84
|
+
mcp__servicenow-integration__snow_create_import_set --name test_import_v139 --label "Test Import"
|
|
85
|
+
mcp__servicenow-integration__snow_create_web_service --name "Test WS v139" --wsdlUrl "https://example.com/wsdl"
|
|
86
|
+
mcp__servicenow-integration__snow_create_email_config --name "Test Email v139" --serverType SMTP --serverName smtp.example.com
|
|
87
|
+
mcp__servicenow-integration__snow_test_integration --endpointName "Test REST v139"
|
|
88
|
+
|
|
89
|
+
echo "📈 Testing Reporting & Analytics (11 tools)"
|
|
90
|
+
mcp__servicenow-reporting-analytics__snow_discover_reporting_tables
|
|
91
|
+
mcp__servicenow-reporting-analytics__snow_discover_report_fields --table incident
|
|
92
|
+
mcp__servicenow-reporting-analytics__snow_analyze_data_quality --table incident
|
|
93
|
+
mcp__servicenow-reporting-analytics__snow_create_report --name "Test Report v139" --table incident --fields '["number", "priority"]'
|
|
94
|
+
mcp__servicenow-reporting-analytics__snow_create_dashboard --name "Test Dashboard v139" --widgets []
|
|
95
|
+
mcp__servicenow-reporting-analytics__snow_create_kpi --name "Test KPI v139" --table incident --metric count --aggregation count
|
|
96
|
+
mcp__servicenow-reporting-analytics__snow_create_data_visualization --name "Test Viz v139" --type bar --dataSource incident
|
|
97
|
+
mcp__servicenow-reporting-analytics__snow_create_performance_analytics --name "Test Analytics v139" --dataSource incident --metrics '["count"]'
|
|
98
|
+
mcp__servicenow-reporting-analytics__snow_create_scheduled_report --reportName "Test Report v139" --schedule daily --recipients '["test@example.com"]'
|
|
99
|
+
mcp__servicenow-reporting-analytics__snow_generate_insights --table incident
|
|
100
|
+
mcp__servicenow-reporting-analytics__snow_export_report_data --reportName "Test Report v139" --format CSV
|
|
101
|
+
|
|
102
|
+
echo "⚙️ Testing Automation (10 tools)"
|
|
103
|
+
mcp__servicenow-automation__snow_discover_schedules
|
|
104
|
+
mcp__servicenow-automation__snow_discover_events
|
|
105
|
+
mcp__servicenow-automation__snow_discover_automation_jobs
|
|
106
|
+
mcp__servicenow-automation__snow_create_scheduled_job --name "Test Job v139" --script "gs.log('test');" --schedule daily
|
|
107
|
+
mcp__servicenow-automation__snow_create_notification --name "Test Notif v139" --table incident --when inserted --recipients admin --subject Test --message Test
|
|
108
|
+
mcp__servicenow-automation__snow_create_event_rule --name "Test Event v139" --eventName incident.insert --script "// test"
|
|
109
|
+
mcp__servicenow-automation__snow_create_sla_definition --name "Test SLA v139" --table incident --condition "priority=1" --duration "1 hour"
|
|
110
|
+
mcp__servicenow-automation__snow_create_escalation_rule --name "Test Escalation v139" --table incident --condition "priority=1" --escalationTime 60 --escalationScript "// test"
|
|
111
|
+
mcp__servicenow-automation__snow_create_workflow_activity --name "Test Activity v139" --workflowName "Test Workflow" --activityType approval
|
|
112
|
+
mcp__servicenow-automation__snow_test_scheduled_job --jobName "Test Job v139"
|
|
113
|
+
|
|
114
|
+
echo "🛡️ Testing Security & Compliance (10 tools)"
|
|
115
|
+
mcp__servicenow-security-compliance__snow_discover_security_frameworks
|
|
116
|
+
mcp__servicenow-security-compliance__snow_discover_security_policies
|
|
117
|
+
mcp__servicenow-security-compliance__snow_create_security_policy --name "Test Policy v139" --type access --rules []
|
|
118
|
+
mcp__servicenow-security-compliance__snow_create_compliance_rule --name "Test Compliance v139" --framework SOX --requirement Test --validation true
|
|
119
|
+
mcp__servicenow-security-compliance__snow_create_audit_rule --name "Test Audit v139" --table incident --events '["create", "update"]'
|
|
120
|
+
mcp__servicenow-security-compliance__snow_create_access_control --name "Test ACL v139" --table incident --operation read
|
|
121
|
+
mcp__servicenow-security-compliance__snow_create_data_policy --name "Test Data v139" --table incident --fields '["priority"]' --classification internal
|
|
122
|
+
mcp__servicenow-security-compliance__snow_create_vulnerability_scan --name "Test Scan v139" --scope application
|
|
123
|
+
mcp__servicenow-security-compliance__snow_run_compliance_scan --framework SOX
|
|
124
|
+
mcp__servicenow-security-compliance__snow_security_risk_assessment --scope instance
|
|
125
|
+
|
|
126
|
+
echo "✅ Test commands ready! Total: 103 tools"
|
|
@@ -265,14 +265,31 @@ class ServiceNowAutomationMCP {
|
|
|
265
265
|
const eventRuleData = {
|
|
266
266
|
name: args.name,
|
|
267
267
|
event_name: args.eventName,
|
|
268
|
-
|
|
268
|
+
filter: args.condition || '',
|
|
269
269
|
script: args.script,
|
|
270
270
|
description: args.description || '',
|
|
271
271
|
active: args.active !== false,
|
|
272
|
-
order: args.order || 100
|
|
272
|
+
order: args.order || 100,
|
|
273
|
+
// Required fields for sysevent_register table
|
|
274
|
+
table: 'incident', // Default table, can be overridden
|
|
275
|
+
sys_class_name: 'sysevent_script_action'
|
|
273
276
|
};
|
|
274
277
|
const updateSetResult = await this.client.ensureUpdateSet();
|
|
275
|
-
|
|
278
|
+
// Try sysevent_register first, then sysevent_script_action as fallback
|
|
279
|
+
let response = await this.client.createRecord('sysevent_register', eventRuleData);
|
|
280
|
+
if (!response.success) {
|
|
281
|
+
this.logger.warn('Failed to create in sysevent_register, trying sysevent_script_action...');
|
|
282
|
+
// Remove table-specific fields for script action
|
|
283
|
+
const scriptActionData = {
|
|
284
|
+
name: args.name,
|
|
285
|
+
event_name: args.eventName,
|
|
286
|
+
script: args.script,
|
|
287
|
+
active: args.active !== false,
|
|
288
|
+
order: args.order || 100,
|
|
289
|
+
description: args.description || ''
|
|
290
|
+
};
|
|
291
|
+
response = await this.client.createRecord('sysevent_script_action', scriptActionData);
|
|
292
|
+
}
|
|
276
293
|
if (!response.success) {
|
|
277
294
|
throw new Error(`Failed to create Event Rule: ${response.error}`);
|
|
278
295
|
}
|
|
@@ -380,13 +397,25 @@ class ServiceNowAutomationMCP {
|
|
|
380
397
|
table: tableInfo.name,
|
|
381
398
|
condition: args.condition,
|
|
382
399
|
escalation_time: args.escalationTime,
|
|
383
|
-
|
|
400
|
+
script: args.escalationScript, // Changed from escalation_script to script
|
|
384
401
|
active: args.active !== false,
|
|
385
402
|
order: args.order || 100,
|
|
386
|
-
description: args.description || ''
|
|
403
|
+
description: args.description || '',
|
|
404
|
+
// Additional required fields for escalation rules
|
|
405
|
+
type: 'script', // Escalation type
|
|
406
|
+
sys_class_name: 'escalation_rule'
|
|
387
407
|
};
|
|
388
408
|
const updateSetResult = await this.client.ensureUpdateSet();
|
|
389
|
-
|
|
409
|
+
// Try different table names that might exist for escalation rules
|
|
410
|
+
let response = await this.client.createRecord('sys_escalation', escalationData);
|
|
411
|
+
if (!response.success) {
|
|
412
|
+
this.logger.warn('Failed to create in sys_escalation, trying escalation_set...');
|
|
413
|
+
response = await this.client.createRecord('escalation_set', escalationData);
|
|
414
|
+
}
|
|
415
|
+
if (!response.success) {
|
|
416
|
+
this.logger.warn('Failed to create in escalation_set, trying original escalation_rule...');
|
|
417
|
+
response = await this.client.createRecord('escalation_rule', escalationData);
|
|
418
|
+
}
|
|
390
419
|
if (!response.success) {
|
|
391
420
|
throw new Error(`Failed to create Escalation Rule: ${response.error}`);
|
|
392
421
|
}
|