snow-flow 1.4.39 â 1.4.41
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/README.md +36 -0
- package/SIMPLE_TEST_COMMANDS.txt +143 -0
- package/TEST_COMMANDS_v139.sh +126 -0
- package/dist/cli.js +42 -46
- package/dist/cli.js.map +1 -1
- package/dist/mcp/servicenow-automation-mcp.js +72 -9
- package/dist/mcp/servicenow-automation-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/servicenow-reporting-analytics-mcp.js +109 -4
- package/dist/mcp/servicenow-reporting-analytics-mcp.js.map +1 -1
- package/dist/mcp/servicenow-security-compliance-mcp.js +122 -46
- package/dist/mcp/servicenow-security-compliance-mcp.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/scripts/postinstall.js +2 -2
package/README.md
CHANGED
|
@@ -203,6 +203,42 @@ Snow-Flow provides **100+ real MCP tools** across 16 categories via **16 special
|
|
|
203
203
|
- `snow_ensure_active_update_set` - Ensure active session
|
|
204
204
|
- Plus 5+ additional update set tools
|
|
205
205
|
|
|
206
|
+
#### đ¯ **Automatic Update Set Creation**
|
|
207
|
+
|
|
208
|
+
â ī¸ **IMPORTANT: Snow-Flow automatically manages Update Sets for you!**
|
|
209
|
+
|
|
210
|
+
- **đ Automatic Creation**: When you start a session, Snow-Flow automatically creates a new Update Set
|
|
211
|
+
- **đ Session Persistence**: All changes during your session are tracked in this Update Set
|
|
212
|
+
- **đ Continuous Work**: Snow-Flow continues using the same Update Set until you explicitly switch
|
|
213
|
+
- **đž Change Tracking**: Every ServiceNow modification is automatically captured for deployment
|
|
214
|
+
|
|
215
|
+
**Example workflow:**
|
|
216
|
+
```bash
|
|
217
|
+
# Session 1: Snow-Flow creates "AUTO_2025-08-03_widget_development"
|
|
218
|
+
snow-flow swarm "Create incident dashboard widget"
|
|
219
|
+
# All changes go into this Update Set
|
|
220
|
+
|
|
221
|
+
# Same session: Want a new Update Set? Just ask!
|
|
222
|
+
# Simply tell Snow-Flow: "please create a new update set for the authentication feature"
|
|
223
|
+
# Snow-Flow will create a new Update Set and switch to it
|
|
224
|
+
|
|
225
|
+
# Session 2: Still using the last active Update Set
|
|
226
|
+
snow-flow swarm "Add authentication to the dashboard"
|
|
227
|
+
# Changes continue in the same Update Set from where you left off
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
**Key Points:**
|
|
231
|
+
- đ **Same Session Flexibility**: Within the same conversation, just ask Snow-Flow to create a new Update Set
|
|
232
|
+
- đŦ **Natural Language**: Say "create a new update set for [feature]" at any point
|
|
233
|
+
- đ **Session Memory**: Snow-Flow remembers which Update Set is active across sessions
|
|
234
|
+
- đ¯ **No New Command Needed**: No need to start a new swarm command
|
|
235
|
+
|
|
236
|
+
**Best Practices:**
|
|
237
|
+
- Let Snow-Flow manage Update Sets automatically
|
|
238
|
+
- Ask for new Update Sets when switching to different features
|
|
239
|
+
- Review your current Update Set with `snow_update_set_current`
|
|
240
|
+
- Export Update Sets before major deployments
|
|
241
|
+
|
|
206
242
|
### đ **XML Flow Generation** (5+ tools)
|
|
207
243
|
- â
**XML-first flow creation** - Bypass API limitations
|
|
208
244
|
- â
**Direct XML deployment** - Alternative deployment method
|
|
@@ -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"
|
package/dist/cli.js
CHANGED
|
@@ -517,7 +517,7 @@ async function executeWithClaude(claudeCommand, prompt, resolve) {
|
|
|
517
517
|
cliLogger.info('â
Found MCP configuration in current directory');
|
|
518
518
|
}
|
|
519
519
|
catch {
|
|
520
|
-
cliLogger.warn('â ī¸ No MCP configuration found. Run "snow-flow init
|
|
520
|
+
cliLogger.warn('â ī¸ No MCP configuration found. Run "snow-flow init" to set up MCP servers');
|
|
521
521
|
}
|
|
522
522
|
const claudeArgs = hasMcpConfig
|
|
523
523
|
? ['--mcp-config', '.mcp.json', '.', '--dangerously-skip-permissions']
|
|
@@ -2048,8 +2048,8 @@ program
|
|
|
2048
2048
|
// Initialize Snow-Flow project
|
|
2049
2049
|
program
|
|
2050
2050
|
.command('init')
|
|
2051
|
-
.description('Initialize a Snow-Flow project with
|
|
2052
|
-
.option('--sparc', '
|
|
2051
|
+
.description('Initialize a Snow-Flow project with full AI-powered environment')
|
|
2052
|
+
.option('--sparc', '[Deprecated] SPARC is now included by default', true)
|
|
2053
2053
|
.option('--skip-mcp', 'Skip MCP server activation prompt')
|
|
2054
2054
|
.option('--force', 'Overwrite existing files without prompting')
|
|
2055
2055
|
.action(async (options) => {
|
|
@@ -2069,16 +2069,14 @@ program
|
|
|
2069
2069
|
// Create .env file
|
|
2070
2070
|
console.log('đ Creating environment configuration...');
|
|
2071
2071
|
await createEnvFile(targetDir, options.force);
|
|
2072
|
-
// Create MCP configuration
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
await createReadmeFiles(targetDir, options.force);
|
|
2081
|
-
}
|
|
2072
|
+
// Create MCP configuration - always included now (SPARC is default)
|
|
2073
|
+
console.log('đ§ Setting up MCP servers for Claude Code...');
|
|
2074
|
+
await createMCPConfig(targetDir, options.force);
|
|
2075
|
+
// Copy CLAUDE.md file
|
|
2076
|
+
console.log('đ Creating documentation files...');
|
|
2077
|
+
await copyCLAUDEmd(targetDir, options.force);
|
|
2078
|
+
// Create README files
|
|
2079
|
+
await createReadmeFiles(targetDir, options.force);
|
|
2082
2080
|
console.log(chalk_1.default.green.bold('\nâ
Snow-Flow project initialized successfully!'));
|
|
2083
2081
|
console.log('\nđ Created files and directories:');
|
|
2084
2082
|
console.log(' â .claude/ - Claude Code configuration');
|
|
@@ -2086,30 +2084,28 @@ program
|
|
|
2086
2084
|
console.log(' â .snow-flow/ - Snow-Flow project data (Queen, memory, tests)');
|
|
2087
2085
|
console.log(' â memory/ - Persistent memory storage');
|
|
2088
2086
|
console.log(' â .env - ServiceNow OAuth configuration');
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
console.log('đ You can start them manually with: ' + chalk_1.default.cyan('snow-flow mcp start'));
|
|
2112
|
-
}
|
|
2087
|
+
console.log(' â .mcp.json - MCP server configuration');
|
|
2088
|
+
console.log(' â CLAUDE.md - Development documentation');
|
|
2089
|
+
console.log(' â README.md - Project documentation');
|
|
2090
|
+
if (!options.skipMcp) {
|
|
2091
|
+
// Start MCP servers automatically
|
|
2092
|
+
console.log(chalk_1.default.yellow.bold('\nđ Starting MCP servers in the background...'));
|
|
2093
|
+
try {
|
|
2094
|
+
const { MCPServerManager } = await Promise.resolve().then(() => __importStar(require('./utils/mcp-server-manager.js')));
|
|
2095
|
+
const manager = new MCPServerManager();
|
|
2096
|
+
await manager.initialize();
|
|
2097
|
+
console.log('đĄ Starting all ServiceNow MCP servers...');
|
|
2098
|
+
await manager.startAllServers();
|
|
2099
|
+
const status = manager.getServerStatus();
|
|
2100
|
+
const running = status.filter((s) => s.status === 'running').length;
|
|
2101
|
+
const total = status.length;
|
|
2102
|
+
console.log(chalk_1.default.green(`â
Started ${running}/${total} MCP servers successfully!`));
|
|
2103
|
+
console.log(chalk_1.default.blue('\nđ MCP servers are now running in the background'));
|
|
2104
|
+
console.log('đ¯ They will be available when you run swarm commands');
|
|
2105
|
+
}
|
|
2106
|
+
catch (error) {
|
|
2107
|
+
console.log(chalk_1.default.yellow('\nâ ī¸ Could not start MCP servers automatically'));
|
|
2108
|
+
console.log('đ You can start them manually with: ' + chalk_1.default.cyan('snow-flow mcp start'));
|
|
2113
2109
|
}
|
|
2114
2110
|
}
|
|
2115
2111
|
console.log(chalk_1.default.blue.bold('\nđ¯ Next steps:'));
|
|
@@ -2301,7 +2297,7 @@ Each server provides autonomous capabilities for different aspects of ServiceNow
|
|
|
2301
2297
|
npm install -g snow-flow
|
|
2302
2298
|
|
|
2303
2299
|
# Initialize Snow-Flow in your project directory
|
|
2304
|
-
snow-flow init
|
|
2300
|
+
snow-flow init
|
|
2305
2301
|
\`\`\`
|
|
2306
2302
|
|
|
2307
2303
|
#### Alternative: Install from source
|
|
@@ -2343,7 +2339,7 @@ snow-flow auth login
|
|
|
2343
2339
|
Snow-Flow now includes **automatic MCP server activation** for Claude Code! During initialization, you'll be prompted to automatically start Claude Code with all 11 MCP servers pre-loaded:
|
|
2344
2340
|
|
|
2345
2341
|
\`\`\`bash
|
|
2346
|
-
snow-flow init
|
|
2342
|
+
snow-flow init
|
|
2347
2343
|
|
|
2348
2344
|
# You'll see:
|
|
2349
2345
|
# đ Would you like to start Claude Code with MCP servers automatically? (Y/n)
|
|
@@ -2598,7 +2594,7 @@ We welcome contributions! Please see our contributing guidelines (coming soon).
|
|
|
2598
2594
|
## đ What's New in v1.1.25
|
|
2599
2595
|
|
|
2600
2596
|
### Automatic MCP Server Activation đ¯
|
|
2601
|
-
- **Interactive Prompt**: During \`snow-flow init
|
|
2597
|
+
- **Interactive Prompt**: During \`snow-flow init\`, you're now prompted to automatically start Claude Code with all MCP servers
|
|
2602
2598
|
- **Zero Manual Steps**: No more manual MCP approval in Claude Code - servers load automatically using \`claude --mcp-config\`
|
|
2603
2599
|
- **Cross-Platform Support**: Works on Mac, Linux, and Windows with platform-specific activation scripts
|
|
2604
2600
|
- **Instant Availability**: All 11 ServiceNow MCP servers are immediately available in Claude Code after initialization
|
|
@@ -2619,7 +2615,7 @@ Built with the power of Claude AI and the ServiceNow platform. Special thanks to
|
|
|
2619
2615
|
|
|
2620
2616
|
---
|
|
2621
2617
|
|
|
2622
|
-
**Ready to revolutionize your ServiceNow development?** Start with \`snow-flow init
|
|
2618
|
+
**Ready to revolutionize your ServiceNow development?** Start with \`snow-flow init\` and experience the future of ServiceNow automation! đ
|
|
2623
2619
|
`;
|
|
2624
2620
|
await fs_1.promises.writeFile(readmePath, mainReadme);
|
|
2625
2621
|
}
|
|
@@ -2918,7 +2914,7 @@ if (deployment.failed) {
|
|
|
2918
2914
|
- \`npm run typecheck\`: Run TypeScript type checking
|
|
2919
2915
|
|
|
2920
2916
|
## Snow-Flow Commands
|
|
2921
|
-
- \`snow-flow init
|
|
2917
|
+
- \`snow-flow init\`: Initialize project with MCP servers and SPARC environment and SPARC environment
|
|
2922
2918
|
- \`snow-flow auth login\`: Authenticate with ServiceNow OAuth
|
|
2923
2919
|
- \`snow-flow swarm "<objective>"\`: Start multi-agent swarm - ÊÊn command voor alles!
|
|
2924
2920
|
- \`snow-flow sparc <mode> "<task>"\`: Run specific SPARC mode
|
|
@@ -3048,7 +3044,7 @@ snow_smart_update_set({
|
|
|
3048
3044
|
\`\`\`
|
|
3049
3045
|
|
|
3050
3046
|
## đ¯ Quick Start
|
|
3051
|
-
1. \`snow-flow init
|
|
3047
|
+
1. \`snow-flow init\` - Initialize project with MCP servers and SPARC environment and SPARC environment
|
|
3052
3048
|
2. Configure ServiceNow credentials in .env file
|
|
3053
3049
|
3. \`snow-flow auth login\` - Authenticate with ServiceNow OAuth
|
|
3054
3050
|
4. \`snow-flow swarm "create a widget for incident management"\` - Everything automatic!
|
|
@@ -3098,7 +3094,7 @@ With concurrent execution and batch operations:
|
|
|
3098
3094
|
This is a minimal CLAUDE.md file. The full documentation should be available in your Snow-Flow installation.
|
|
3099
3095
|
|
|
3100
3096
|
## Quick Start
|
|
3101
|
-
1. \`snow-flow init
|
|
3097
|
+
1. \`snow-flow init\` - Initialize project with MCP servers and SPARC environment and SPARC environment
|
|
3102
3098
|
2. Configure ServiceNow credentials in .env file
|
|
3103
3099
|
3. \`snow-flow auth login\` - Authenticate with ServiceNow OAuth
|
|
3104
3100
|
4. \`snow-flow swarm "create a widget for incident management"\` - Everything automatic!
|
|
@@ -3350,7 +3346,7 @@ if (deployment.failed) {
|
|
|
3350
3346
|
- \`npm run typecheck\`: Run TypeScript type checking
|
|
3351
3347
|
|
|
3352
3348
|
### Snow-Flow Commands
|
|
3353
|
-
- \`snow-flow init
|
|
3349
|
+
- \`snow-flow init\`: Initialize project with MCP servers and SPARC environment
|
|
3354
3350
|
- \`snow-flow auth login\`: Authenticate with ServiceNow
|
|
3355
3351
|
- \`snow-flow swarm "<objective>"\`: Execute multi-agent development
|
|
3356
3352
|
- \`snow-flow mcp start\`: Start MCP servers manually
|
|
@@ -3380,7 +3376,7 @@ SNOW_CLIENT_SECRET=your_oauth_client_secret
|
|
|
3380
3376
|
â Don't deploy without testing
|
|
3381
3377
|
|
|
3382
3378
|
## đ¯ Quick Start
|
|
3383
|
-
1. \`snow-flow init
|
|
3379
|
+
1. \`snow-flow init\` - Initialize project with MCP servers and SPARC environment
|
|
3384
3380
|
2. Configure ServiceNow credentials in .env file
|
|
3385
3381
|
3. \`snow-flow auth login\` - Authenticate with ServiceNow
|
|
3386
3382
|
4. \`snow-flow swarm "create a widget for incident management"\` - Everything automatic!
|