snow-flow 2.0.0 → 2.0.2
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 +1452 -0
- package/.env.example +49 -6
- package/README.md +46 -13
- package/package.json +1 -1
- package/.claude.mcp-config.template +0 -149
- package/.claude.settings.template +0 -36
- package/SIMPLE_TEST_COMMANDS.txt +0 -143
- package/SNOW_FLOW_ADVANCED_FEATURES_PLAIN.txt +0 -78
- package/TEST_COMMANDS_v139.sh +0 -126
- package/activate-mcp.sh +0 -15
- package/claude-flow +0 -81
- package/claude-flow.bat +0 -18
- package/claude-flow.config.json +0 -20
- package/claude-flow.ps1 +0 -24
- package/manual-register-mcp.js +0 -134
- package/mcp-wrapper.sh +0 -12
package/.env.example
CHANGED
|
@@ -12,10 +12,53 @@ OAUTH_REDIRECT_URI=http://localhost:3000/callback
|
|
|
12
12
|
# SNOW_USERNAME=your_username
|
|
13
13
|
# SNOW_PASSWORD=your_password
|
|
14
14
|
|
|
15
|
-
#
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
NEO4J_PASSWORD=password
|
|
15
|
+
# ===========================================
|
|
16
|
+
# Snow-Flow Configuration
|
|
17
|
+
# ===========================================
|
|
19
18
|
|
|
20
|
-
#
|
|
21
|
-
|
|
19
|
+
# Enable debug logging (true/false)
|
|
20
|
+
SNOW_FLOW_DEBUG=false
|
|
21
|
+
|
|
22
|
+
# Default coordination strategy
|
|
23
|
+
SNOW_FLOW_STRATEGY=development
|
|
24
|
+
|
|
25
|
+
# Maximum number of agents
|
|
26
|
+
SNOW_FLOW_MAX_AGENTS=5
|
|
27
|
+
|
|
28
|
+
# Claude Code timeout configuration (in minutes)
|
|
29
|
+
# Set to 0 to disable timeout (infinite execution time)
|
|
30
|
+
# Default: 60 minutes
|
|
31
|
+
SNOW_FLOW_TIMEOUT_MINUTES=0
|
|
32
|
+
|
|
33
|
+
# ===========================================
|
|
34
|
+
# Deployment Timeout Configuration
|
|
35
|
+
# ===========================================
|
|
36
|
+
|
|
37
|
+
# ServiceNow API timeout for regular operations (milliseconds)
|
|
38
|
+
# Default: 60000 (60 seconds)
|
|
39
|
+
SNOW_REQUEST_TIMEOUT=60000
|
|
40
|
+
|
|
41
|
+
# ServiceNow API timeout for DEPLOYMENT operations (milliseconds)
|
|
42
|
+
# Deployments need more time for complex widgets
|
|
43
|
+
# Default: 300000 (5 minutes)
|
|
44
|
+
SNOW_DEPLOYMENT_TIMEOUT=300000
|
|
45
|
+
|
|
46
|
+
# MCP transport timeout for deployment operations (milliseconds)
|
|
47
|
+
# Should be higher than SNOW_DEPLOYMENT_TIMEOUT
|
|
48
|
+
# Default: 360000 (6 minutes)
|
|
49
|
+
MCP_DEPLOYMENT_TIMEOUT=360000
|
|
50
|
+
|
|
51
|
+
# ===========================================
|
|
52
|
+
# How to Set Up ServiceNow OAuth
|
|
53
|
+
# ===========================================
|
|
54
|
+
# 1. Log into your ServiceNow instance as admin
|
|
55
|
+
# 2. Navigate to: System OAuth > Application Registry
|
|
56
|
+
# 3. Click "New" > "Create an OAuth application"
|
|
57
|
+
# 4. Fill in:
|
|
58
|
+
# - Name: Snow-Flow Development
|
|
59
|
+
# - Client ID: (will be generated)
|
|
60
|
+
# - Client Secret: (will be generated)
|
|
61
|
+
# - Redirect URL: http://${SNOW_REDIRECT_HOST:-localhost}:${SNOW_REDIRECT_PORT:-3000}/callback
|
|
62
|
+
# - Grant Type: Authorization Code
|
|
63
|
+
# 5. Copy the Client ID and Client Secret to this file
|
|
64
|
+
# 6. Run: snow-flow auth login
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Snow-Flow: AI-Powered ServiceNow Development Platform
|
|
1
|
+
# 🏔️ Snow-Flow: AI-Powered ServiceNow Development Platform
|
|
2
2
|
|
|
3
3
|
[](https://badge.fury.io/js/snow-flow)
|
|
4
4
|
[](https://opensource.org/licenses/MIT)
|
|
@@ -61,29 +61,62 @@ Snow-Flow understands your intent and orchestrates the entire implementation.
|
|
|
61
61
|
|
|
62
62
|
## 🚀 Getting Started
|
|
63
63
|
|
|
64
|
-
### Installation
|
|
64
|
+
### 1. Installation
|
|
65
65
|
```bash
|
|
66
66
|
npm install -g snow-flow
|
|
67
67
|
```
|
|
68
68
|
|
|
69
|
-
###
|
|
69
|
+
### 2. Initialize Snow-Flow
|
|
70
70
|
```bash
|
|
71
|
-
# Initialize your project
|
|
72
71
|
snow-flow init
|
|
72
|
+
```
|
|
73
|
+
This creates:
|
|
74
|
+
- `.env` file for your credentials
|
|
75
|
+
- `.mcp.json` for Claude Code integration
|
|
76
|
+
- Project configuration files
|
|
77
|
+
|
|
78
|
+
### 3. Configure OAuth Credentials
|
|
79
|
+
Edit the generated `.env` file with your ServiceNow OAuth details:
|
|
80
|
+
```env
|
|
81
|
+
SNOW_INSTANCE=your-instance.service-now.com
|
|
82
|
+
SNOW_CLIENT_ID=your-oauth-client-id
|
|
83
|
+
SNOW_CLIENT_SECRET=your-oauth-client-secret
|
|
84
|
+
```
|
|
73
85
|
|
|
74
|
-
|
|
75
|
-
|
|
86
|
+
### 4. Authenticate
|
|
87
|
+
```bash
|
|
88
|
+
snow-flow auth login
|
|
89
|
+
```
|
|
90
|
+
This opens your browser for OAuth authentication.
|
|
76
91
|
|
|
77
|
-
|
|
78
|
-
|
|
92
|
+
### 5. Start Building!
|
|
93
|
+
```bash
|
|
94
|
+
snow-flow swarm "Create an incident management dashboard with real-time updates"
|
|
79
95
|
```
|
|
80
96
|
|
|
81
|
-
###
|
|
82
|
-
Add to your Claude Code configuration:
|
|
97
|
+
### 💡 Quick Examples
|
|
83
98
|
```bash
|
|
84
|
-
|
|
99
|
+
# Analyze your ServiceNow instance
|
|
100
|
+
snow-flow swarm "Give me a health check of my ServiceNow instance"
|
|
101
|
+
|
|
102
|
+
# Build a widget
|
|
103
|
+
snow-flow swarm "Create a widget showing open incidents by priority"
|
|
104
|
+
|
|
105
|
+
# Optimize performance
|
|
106
|
+
snow-flow swarm "Find and fix performance issues in my incident table"
|
|
85
107
|
```
|
|
86
|
-
|
|
108
|
+
|
|
109
|
+
### ⚠️ Troubleshooting
|
|
110
|
+
|
|
111
|
+
**OAuth Issues?**
|
|
112
|
+
- Ensure your OAuth client has the necessary scopes in ServiceNow
|
|
113
|
+
- Check that the redirect URI is set to `http://localhost:3000/callback`
|
|
114
|
+
- Try `snow-flow auth logout` then `snow-flow auth login` again
|
|
115
|
+
|
|
116
|
+
**MCP Connection Failed?**
|
|
117
|
+
- Run `snow-flow init --force` to regenerate configuration
|
|
118
|
+
- Restart Claude Code after configuration changes
|
|
119
|
+
- Check logs with `snow-flow logs`
|
|
87
120
|
|
|
88
121
|
## 📊 Real-World Impact
|
|
89
122
|
|
|
@@ -123,7 +156,7 @@ snow-flow coop export --format update-set
|
|
|
123
156
|
|
|
124
157
|
### **Bring Your Own LLM** 🧠
|
|
125
158
|
Choose your preferred AI backend:
|
|
126
|
-
- **OpenAI GPT
|
|
159
|
+
- **OpenAI GPT**: For maximum capability
|
|
127
160
|
- **Anthropic Claude**: For nuanced understanding
|
|
128
161
|
- **Local Models**: For complete data privacy
|
|
129
162
|
- **Custom Fine-tuned**: For organization-specific patterns
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "snow-flow",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "Snow-Flow: ServiceNow Advanced Intelligence Platform - 100+ real MCP tools with AI-powered swarm orchestration. Zero Mock Data, 100% Real API Integration. Natural language interface for ServiceNow operations.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"servers": {
|
|
3
|
-
"servicenow-deployment": {
|
|
4
|
-
"command": "node",
|
|
5
|
-
"args": [
|
|
6
|
-
"${MCP_PATH}/servicenow-deployment-mcp.js"
|
|
7
|
-
],
|
|
8
|
-
"env": {
|
|
9
|
-
"SNOW_INSTANCE": "${SNOW_INSTANCE}",
|
|
10
|
-
"SNOW_CLIENT_ID": "${SNOW_CLIENT_ID}",
|
|
11
|
-
"SNOW_CLIENT_SECRET": "${SNOW_CLIENT_SECRET}",
|
|
12
|
-
"SNOW_DEPLOYMENT_TIMEOUT": "${SNOW_DEPLOYMENT_TIMEOUT}",
|
|
13
|
-
"MCP_DEPLOYMENT_TIMEOUT": "${MCP_DEPLOYMENT_TIMEOUT}"
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
"servicenow-update-set": {
|
|
17
|
-
"command": "node",
|
|
18
|
-
"args": [
|
|
19
|
-
"${MCP_PATH}/servicenow-update-set-mcp.js"
|
|
20
|
-
],
|
|
21
|
-
"env": {
|
|
22
|
-
"SNOW_INSTANCE": "${SNOW_INSTANCE}",
|
|
23
|
-
"SNOW_CLIENT_ID": "${SNOW_CLIENT_ID}",
|
|
24
|
-
"SNOW_CLIENT_SECRET": "${SNOW_CLIENT_SECRET}"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"servicenow-intelligent": {
|
|
28
|
-
"command": "node",
|
|
29
|
-
"args": [
|
|
30
|
-
"${MCP_PATH}/servicenow-intelligent-mcp.js"
|
|
31
|
-
],
|
|
32
|
-
"env": {
|
|
33
|
-
"SNOW_INSTANCE": "${SNOW_INSTANCE}",
|
|
34
|
-
"SNOW_CLIENT_ID": "${SNOW_CLIENT_ID}",
|
|
35
|
-
"SNOW_CLIENT_SECRET": "${SNOW_CLIENT_SECRET}"
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"servicenow-memory": {
|
|
39
|
-
"command": "node",
|
|
40
|
-
"args": [
|
|
41
|
-
"${MCP_PATH}/servicenow-memory-mcp.js"
|
|
42
|
-
],
|
|
43
|
-
"env": {
|
|
44
|
-
"MEMORY_PATH": "${MEMORY_PATH}",
|
|
45
|
-
"SNOW_FLOW_HOME": "${SNOW_FLOW_HOME}"
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
"servicenow-graph-memory": {
|
|
49
|
-
"command": "node",
|
|
50
|
-
"args": [
|
|
51
|
-
"${MCP_PATH}/servicenow-graph-memory-mcp.js"
|
|
52
|
-
],
|
|
53
|
-
"env": {
|
|
54
|
-
"NEO4J_URI": "${NEO4J_URI}",
|
|
55
|
-
"NEO4J_USER": "${NEO4J_USER}",
|
|
56
|
-
"NEO4J_PASSWORD": "${NEO4J_PASSWORD}",
|
|
57
|
-
"SNOW_INSTANCE": "${SNOW_INSTANCE}",
|
|
58
|
-
"SNOW_CLIENT_ID": "${SNOW_CLIENT_ID}",
|
|
59
|
-
"SNOW_CLIENT_SECRET": "${SNOW_CLIENT_SECRET}"
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
"servicenow-operations": {
|
|
63
|
-
"command": "node",
|
|
64
|
-
"args": [
|
|
65
|
-
"${MCP_PATH}/servicenow-operations-mcp.js"
|
|
66
|
-
],
|
|
67
|
-
"env": {
|
|
68
|
-
"SNOW_INSTANCE": "${SNOW_INSTANCE}",
|
|
69
|
-
"SNOW_CLIENT_ID": "${SNOW_CLIENT_ID}",
|
|
70
|
-
"SNOW_CLIENT_SECRET": "${SNOW_CLIENT_SECRET}"
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
"servicenow-platform-development": {
|
|
74
|
-
"command": "node",
|
|
75
|
-
"args": [
|
|
76
|
-
"${MCP_PATH}/servicenow-platform-development-mcp.js"
|
|
77
|
-
],
|
|
78
|
-
"env": {
|
|
79
|
-
"SNOW_INSTANCE": "${SNOW_INSTANCE}",
|
|
80
|
-
"SNOW_CLIENT_ID": "${SNOW_CLIENT_ID}",
|
|
81
|
-
"SNOW_CLIENT_SECRET": "${SNOW_CLIENT_SECRET}"
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
"servicenow-integration": {
|
|
85
|
-
"command": "node",
|
|
86
|
-
"args": [
|
|
87
|
-
"${MCP_PATH}/servicenow-integration-mcp.js"
|
|
88
|
-
],
|
|
89
|
-
"env": {
|
|
90
|
-
"SNOW_INSTANCE": "${SNOW_INSTANCE}",
|
|
91
|
-
"SNOW_CLIENT_ID": "${SNOW_CLIENT_ID}",
|
|
92
|
-
"SNOW_CLIENT_SECRET": "${SNOW_CLIENT_SECRET}"
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
"servicenow-automation": {
|
|
96
|
-
"command": "node",
|
|
97
|
-
"args": [
|
|
98
|
-
"${MCP_PATH}/servicenow-automation-mcp.js"
|
|
99
|
-
],
|
|
100
|
-
"env": {
|
|
101
|
-
"SNOW_INSTANCE": "${SNOW_INSTANCE}",
|
|
102
|
-
"SNOW_CLIENT_ID": "${SNOW_CLIENT_ID}",
|
|
103
|
-
"SNOW_CLIENT_SECRET": "${SNOW_CLIENT_SECRET}"
|
|
104
|
-
}
|
|
105
|
-
},
|
|
106
|
-
"servicenow-security-compliance": {
|
|
107
|
-
"command": "node",
|
|
108
|
-
"args": [
|
|
109
|
-
"${MCP_PATH}/servicenow-security-compliance-mcp.js"
|
|
110
|
-
],
|
|
111
|
-
"env": {
|
|
112
|
-
"SNOW_INSTANCE": "${SNOW_INSTANCE}",
|
|
113
|
-
"SNOW_CLIENT_ID": "${SNOW_CLIENT_ID}",
|
|
114
|
-
"SNOW_CLIENT_SECRET": "${SNOW_CLIENT_SECRET}"
|
|
115
|
-
}
|
|
116
|
-
},
|
|
117
|
-
"servicenow-reporting-analytics": {
|
|
118
|
-
"command": "node",
|
|
119
|
-
"args": [
|
|
120
|
-
"${MCP_PATH}/servicenow-reporting-analytics-mcp.js"
|
|
121
|
-
],
|
|
122
|
-
"env": {
|
|
123
|
-
"SNOW_INSTANCE": "${SNOW_INSTANCE}",
|
|
124
|
-
"SNOW_CLIENT_ID": "${SNOW_CLIENT_ID}",
|
|
125
|
-
"SNOW_CLIENT_SECRET": "${SNOW_CLIENT_SECRET}"
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
"servicenow-flow-composer": {
|
|
129
|
-
"command": "node",
|
|
130
|
-
"args": [
|
|
131
|
-
"${MCP_PATH}/servicenow-flow-composer-mcp.js"
|
|
132
|
-
],
|
|
133
|
-
"env": {
|
|
134
|
-
"SNOW_INSTANCE": "${SNOW_INSTANCE}",
|
|
135
|
-
"SNOW_CLIENT_ID": "${SNOW_CLIENT_ID}",
|
|
136
|
-
"SNOW_CLIENT_SECRET": "${SNOW_CLIENT_SECRET}"
|
|
137
|
-
}
|
|
138
|
-
},
|
|
139
|
-
"snow-flow": {
|
|
140
|
-
"command": "node",
|
|
141
|
-
"args": [
|
|
142
|
-
"${MCP_PATH}/snow-flow-mcp.js"
|
|
143
|
-
],
|
|
144
|
-
"env": {
|
|
145
|
-
"SNOW_FLOW_ENV": "${SNOW_FLOW_ENV}"
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"enabledMcpjsonServers": [
|
|
3
|
-
"servicenow-deployment",
|
|
4
|
-
"servicenow-flow-composer",
|
|
5
|
-
"servicenow-update-set",
|
|
6
|
-
"servicenow-intelligent",
|
|
7
|
-
"servicenow-graph-memory",
|
|
8
|
-
"servicenow-operations",
|
|
9
|
-
"servicenow-platform-development",
|
|
10
|
-
"servicenow-integration",
|
|
11
|
-
"servicenow-automation",
|
|
12
|
-
"servicenow-security-compliance",
|
|
13
|
-
"servicenow-reporting-analytics",
|
|
14
|
-
"snow-flow"
|
|
15
|
-
],
|
|
16
|
-
"permissions": {
|
|
17
|
-
"allow": [
|
|
18
|
-
"Bash(*)",
|
|
19
|
-
"Read(*)",
|
|
20
|
-
"Write(*)",
|
|
21
|
-
"Edit(*)",
|
|
22
|
-
"MultiEdit(*)",
|
|
23
|
-
"Glob(*)",
|
|
24
|
-
"Grep(*)",
|
|
25
|
-
"LS(*)",
|
|
26
|
-
"TodoWrite",
|
|
27
|
-
"Task(*)",
|
|
28
|
-
"mcp__servicenow-*",
|
|
29
|
-
"mcp__snow-flow__*"
|
|
30
|
-
]
|
|
31
|
-
},
|
|
32
|
-
"env": {
|
|
33
|
-
"BASH_DEFAULT_TIMEOUT_MS": "0",
|
|
34
|
-
"BASH_MAX_TIMEOUT_MS": "0"
|
|
35
|
-
}
|
|
36
|
-
}
|
package/SIMPLE_TEST_COMMANDS.txt
DELETED
|
@@ -1,143 +0,0 @@
|
|
|
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
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
Snow-Flow Advanced Features Implementation Request
|
|
2
|
-
|
|
3
|
-
PROJECT GOAL:
|
|
4
|
-
Enhance Snow-Flow with 14 new MCP tools that leverage AI capabilities to provide deep ServiceNow insights, automated documentation, and process mining features that would take humans days but AI can do in seconds.
|
|
5
|
-
|
|
6
|
-
FEATURE 1: Smart Batch API Operations
|
|
7
|
-
Create snow_batch_api tool that executes multiple ServiceNow operations in a single transaction. Should handle queries, updates, inserts, and deletes across different tables. Return organized results with execution time. Goal is 80 percent reduction in API calls.
|
|
8
|
-
|
|
9
|
-
FEATURE 2: Table Relationship Mapping
|
|
10
|
-
Create snow_get_table_relationships tool that maps all dependencies for a given table. Show what tables it extends, references to other tables, and what references it. Include common query patterns. Maximum depth parameter to control traversal.
|
|
11
|
-
|
|
12
|
-
FEATURE 3: Query Performance Analyzer
|
|
13
|
-
Create snow_analyze_query tool that predicts query performance before execution. Identify missing indexes, suggest optimizations, and provide risk scores. Should work with complex encoded queries and return actionable improvements.
|
|
14
|
-
|
|
15
|
-
FEATURE 4: Field Usage Intelligence
|
|
16
|
-
Create snow_analyze_field_usage tool that discovers which fields are actually used in queries, views, reports, and business rules. Identify safe-to-deprecate fields and critical dependencies. Help clean technical debt safely.
|
|
17
|
-
|
|
18
|
-
FEATURE 5: Migration Helper
|
|
19
|
-
Create snow_create_migration_plan tool for moving data between tables. Auto-map fields with confidence scores, identify value mismatches, and generate migration scripts. Focus on custom to out-of-box table migrations.
|
|
20
|
-
|
|
21
|
-
FEATURE 6: Deep Table Analysis with AI
|
|
22
|
-
Create snow_analyze_table_deep tool that analyzes thousands of records to find patterns humans miss. Discover correlations like Monday incidents take longer to resolve or that certain assignment groups never resolve tickets. Find anomalies and optimization opportunities.
|
|
23
|
-
|
|
24
|
-
FEATURE 7: Code Pattern Detector
|
|
25
|
-
Create snow_detect_code_patterns tool that finds all variations of code patterns across business rules, client scripts, and script includes. For example, find all 234 different ways developers look up users, identify performance issues, and suggest unified approaches.
|
|
26
|
-
|
|
27
|
-
FEATURE 8: Predictive Impact Analysis
|
|
28
|
-
Create snow_predict_change_impact tool that predicts cascading effects before making changes. If adding a mandatory field to task table, predict how many forms break, which integrations fail, and what performance impact occurs. Include hidden impacts like mobile app crashes.
|
|
29
|
-
|
|
30
|
-
FEATURE 9: Auto Documentation Generator
|
|
31
|
-
Create snow_generate_documentation tool that reads tables, relationships, code, and usage patterns to generate complete technical documentation. Include mermaid diagrams, common query examples, performance tips, and pitfalls. AI writes better docs than most developers.
|
|
32
|
-
|
|
33
|
-
FEATURE 10: Intelligent Refactoring
|
|
34
|
-
Create snow_refactor_code tool that modernizes legacy ServiceNow code. Identify deprecated APIs, add error handling, convert synchronous to async operations, and follow best practices. Include migration guide showing what else needs updating.
|
|
35
|
-
|
|
36
|
-
FEATURE 11: Process Mining Engine
|
|
37
|
-
Create snow_discover_process tool that analyzes audit logs and state transitions to discover how processes really work versus documentation. Find patterns like ping-pong between teams, zombie tickets, and skip assignment flows. Identify bottlenecks and automation opportunities.
|
|
38
|
-
|
|
39
|
-
FEATURE 12: Workflow Reality Analyzer
|
|
40
|
-
Create snow_analyze_workflow_execution tool specifically for Flow Designer and Workflow Editor flows. Analyze thousands of executions to find where flows deviate from design, common failure points, and optimization opportunities.
|
|
41
|
-
|
|
42
|
-
FEATURE 13: Cross Table Process Discovery
|
|
43
|
-
Create snow_discover_cross_table_process tool that follows processes across multiple tables. For example, track a request from sc_request through req_item, task, asset, to incident. Find hidden patterns and compliance issues.
|
|
44
|
-
|
|
45
|
-
FEATURE 14: Real Time Process Monitoring
|
|
46
|
-
Create snow_monitor_process tool that watches processes in real-time and alerts on deviations, bottlenecks, or SLA risks. Detect when tickets bounce too many times or follow anti-patterns.
|
|
47
|
-
|
|
48
|
-
IMPLEMENTATION REQUIREMENTS:
|
|
49
|
-
- All tools should integrate with existing Snow-Flow MCP architecture
|
|
50
|
-
- Cache results in Snow-Flow memory system for performance
|
|
51
|
-
- Tools should work with ServiceNow instances via REST API
|
|
52
|
-
- Respect all ACLs and security constraints
|
|
53
|
-
- Implement rate limiting to avoid instance impact
|
|
54
|
-
- Each tool should complete analysis in under 30 seconds
|
|
55
|
-
- Results should be actionable, not just informational
|
|
56
|
-
|
|
57
|
-
SUCCESS METRICS:
|
|
58
|
-
- Batch API reduces calls by 80 percent
|
|
59
|
-
- Query analyzer catches 90 percent of slow queries
|
|
60
|
-
- Process mining finds at least 5 optimization opportunities per process
|
|
61
|
-
- Documentation generator creates docs 10x faster than manual
|
|
62
|
-
- Pattern detector finds 95 percent of code variations
|
|
63
|
-
|
|
64
|
-
TECHNICAL APPROACH:
|
|
65
|
-
- Use existing ServiceNow MCP server infrastructure
|
|
66
|
-
- Leverage Snow-Flow memory for caching and coordination
|
|
67
|
-
- Implement progressive loading for large datasets
|
|
68
|
-
- Use TypeScript for all new code
|
|
69
|
-
- Follow Snow-Flow coding standards
|
|
70
|
-
- Add comprehensive error handling
|
|
71
|
-
- Include unit tests for each tool
|
|
72
|
-
|
|
73
|
-
PRIORITY ORDER:
|
|
74
|
-
1. First implement features 1-5 (practical daily tools)
|
|
75
|
-
2. Then implement features 6-10 (AI-powered analysis)
|
|
76
|
-
3. Finally implement features 11-14 (process mining)
|
|
77
|
-
|
|
78
|
-
This gives developers immediate value while building toward advanced process mining capabilities that will revolutionize how people understand their ServiceNow instances.
|