snow-flow 1.4.12 → 1.4.14
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.settings.template +1 -2
- package/.mcp.json.template +7 -0
- package/CLAUDE.md +1 -1
- package/README.md +24 -4
- package/dist/mcp/snow-flow-mcp.d.ts +6 -0
- package/dist/mcp/snow-flow-mcp.d.ts.map +1 -0
- package/dist/mcp/snow-flow-mcp.js +880 -0
- package/dist/mcp/snow-flow-mcp.js.map +1 -0
- package/dist/version.d.ts +6 -1
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +276 -240
- package/dist/version.js.map +1 -1
- package/package.json +1 -1
package/.mcp.json.template
CHANGED
|
@@ -101,6 +101,13 @@
|
|
|
101
101
|
"SNOW_CLIENT_ID": "{{SNOW_CLIENT_ID}}",
|
|
102
102
|
"SNOW_CLIENT_SECRET": "{{SNOW_CLIENT_SECRET}}"
|
|
103
103
|
}
|
|
104
|
+
},
|
|
105
|
+
"snow-flow": {
|
|
106
|
+
"command": "node",
|
|
107
|
+
"args": ["{{PROJECT_ROOT}}/dist/mcp/snow-flow-mcp.js"],
|
|
108
|
+
"env": {
|
|
109
|
+
"SNOW_FLOW_ENV": "{{SNOW_FLOW_ENV}}"
|
|
110
|
+
}
|
|
104
111
|
}
|
|
105
112
|
}
|
|
106
113
|
}
|
package/CLAUDE.md
CHANGED
|
@@ -859,7 +859,7 @@ Message 6: Write "package.json"
|
|
|
859
859
|
|
|
860
860
|
```bash
|
|
861
861
|
# Add Snow Flow MCP server to Claude Code using stdio
|
|
862
|
-
claude mcp add snow-flow npx snow-flow
|
|
862
|
+
claude mcp add snow-flow npx snow-flow mcp start
|
|
863
863
|
```
|
|
864
864
|
|
|
865
865
|
### 2. Use MCP Tools for Coordination in Claude Code
|
package/README.md
CHANGED
|
@@ -320,14 +320,34 @@ SNOW_ENABLE_CACHING=true
|
|
|
320
320
|
```
|
|
321
321
|
|
|
322
322
|
### **MCP Server Integration**
|
|
323
|
-
```bash
|
|
324
|
-
# Start as MCP server for Claude Code integration
|
|
325
|
-
snow-flow mcp start --port 3000
|
|
326
323
|
|
|
327
|
-
|
|
324
|
+
Snow-Flow includes two types of MCP servers:
|
|
325
|
+
|
|
326
|
+
#### **1. ServiceNow MCP Tools (14 Advanced Features)**
|
|
327
|
+
These are automatically installed when you run `snow-flow init`:
|
|
328
|
+
- Deployment, Operations, Intelligence, Security, Analytics, and more
|
|
329
|
+
- Each server provides specialized ServiceNow functionality
|
|
330
|
+
|
|
331
|
+
#### **2. Snow-Flow Coordination Server**
|
|
332
|
+
For multi-agent orchestration and swarm coordination:
|
|
333
|
+
|
|
334
|
+
```bash
|
|
335
|
+
# Add Snow-Flow coordination server to Claude Code (recommended)
|
|
328
336
|
claude mcp add snow-flow npx snow-flow mcp start
|
|
337
|
+
|
|
338
|
+
# The coordination server provides:
|
|
339
|
+
# - swarm_init: Initialize agent swarms
|
|
340
|
+
# - agent_spawn: Create specialized agents
|
|
341
|
+
# - task_orchestrate: Coordinate complex workflows
|
|
342
|
+
# - memory_usage: Persistent memory across sessions
|
|
343
|
+
# - neural_train: AI pattern learning
|
|
344
|
+
# - performance_report: Real-time metrics
|
|
329
345
|
```
|
|
330
346
|
|
|
347
|
+
All MCP tools work through Claude Code using the `mcp__` prefix:
|
|
348
|
+
- ServiceNow tools: `mcp__servicenow-*`
|
|
349
|
+
- Coordination tools: `mcp__snow-flow__*`
|
|
350
|
+
|
|
331
351
|
### **Programmatic Usage**
|
|
332
352
|
```typescript
|
|
333
353
|
import { ServiceNowAdvancedFeaturesMCP } from 'snow-flow';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"snow-flow-mcp.d.ts","sourceRoot":"","sources":["../../src/mcp/snow-flow-mcp.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|