claude-flow 2.5.0-alpha.141 → 2.7.0-alpha

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.
Files changed (149) hide show
  1. package/.claude/agents/reasoning/README.md +171 -0
  2. package/.claude/agents/reasoning/agent.md +816 -0
  3. package/.claude/agents/reasoning/example-reasoning-agent-template.md +362 -0
  4. package/.claude/agents/reasoning/goal-planner.md +73 -0
  5. package/.claude/commands/coordination/README.md +9 -0
  6. package/.claude/commands/memory/README.md +9 -0
  7. package/.claude/settings.json +3 -3
  8. package/.claude/sparc-modes.json +108 -0
  9. package/README.md +1 -6
  10. package/bin/claude-flow +1 -1
  11. package/dist/src/cli/command-registry.js +70 -6
  12. package/dist/src/cli/command-registry.js.map +1 -1
  13. package/dist/src/cli/help-formatter.js +0 -3
  14. package/dist/src/cli/help-formatter.js.map +1 -1
  15. package/dist/src/cli/help-text.js +53 -5
  16. package/dist/src/cli/help-text.js.map +1 -1
  17. package/dist/src/cli/simple-cli.js +182 -172
  18. package/dist/src/cli/simple-cli.js.map +1 -1
  19. package/dist/src/cli/simple-commands/agent-booster.js +415 -0
  20. package/dist/src/cli/simple-commands/agent-booster.js.map +1 -0
  21. package/dist/src/cli/simple-commands/agent.js +856 -13
  22. package/dist/src/cli/simple-commands/agent.js.map +1 -1
  23. package/dist/src/cli/simple-commands/env-template.js +180 -0
  24. package/dist/src/cli/simple-commands/env-template.js.map +1 -0
  25. package/dist/src/cli/simple-commands/init/help.js +23 -0
  26. package/dist/src/cli/simple-commands/init/help.js.map +1 -1
  27. package/dist/src/cli/simple-commands/init/index.js +63 -0
  28. package/dist/src/cli/simple-commands/init/index.js.map +1 -1
  29. package/dist/src/cli/simple-commands/memory.js +307 -16
  30. package/dist/src/cli/simple-commands/memory.js.map +1 -1
  31. package/dist/src/cli/simple-commands/proxy.js +304 -0
  32. package/dist/src/cli/simple-commands/proxy.js.map +1 -0
  33. package/dist/src/cli/simple-commands/sparc.js +16 -19
  34. package/dist/src/cli/simple-commands/sparc.js.map +1 -1
  35. package/dist/src/cli/validation-helper.js.map +1 -1
  36. package/dist/src/core/version.js +1 -1
  37. package/dist/src/execution/agent-executor.js +181 -0
  38. package/dist/src/execution/agent-executor.js.map +1 -0
  39. package/dist/src/execution/index.js +12 -0
  40. package/dist/src/execution/index.js.map +1 -0
  41. package/dist/src/execution/provider-manager.js +110 -0
  42. package/dist/src/execution/provider-manager.js.map +1 -0
  43. package/dist/src/hooks/redaction-hook.js +89 -0
  44. package/dist/src/hooks/redaction-hook.js.map +1 -0
  45. package/dist/src/memory/swarm-memory.js +340 -421
  46. package/dist/src/memory/swarm-memory.js.map +1 -1
  47. package/dist/src/utils/key-redactor.js +108 -0
  48. package/dist/src/utils/key-redactor.js.map +1 -0
  49. package/dist/src/utils/metrics-reader.js +37 -39
  50. package/dist/src/utils/metrics-reader.js.map +1 -1
  51. package/docs/AGENT-BOOSTER-INTEGRATION.md +407 -0
  52. package/docs/AGENTIC-FLOW-INTEGRATION-GUIDE.md +753 -0
  53. package/docs/AGENTIC_FLOW_EXECUTION_FIX_REPORT.md +474 -0
  54. package/docs/AGENTIC_FLOW_INTEGRATION_STATUS.md +143 -0
  55. package/docs/AGENTIC_FLOW_MVP_COMPLETE.md +367 -0
  56. package/docs/AGENTIC_FLOW_SECURITY_TEST_REPORT.md +369 -0
  57. package/docs/COMMAND-VERIFICATION-REPORT.md +441 -0
  58. package/docs/COMMIT_SUMMARY.md +247 -0
  59. package/docs/DEEP_REVIEW_COMPREHENSIVE_REPORT.md +922 -0
  60. package/docs/DOCKER-VALIDATION-REPORT.md +281 -0
  61. package/docs/ENV-SETUP-GUIDE.md +270 -0
  62. package/docs/FINAL_PRE_PUBLISH_VALIDATION.md +823 -0
  63. package/docs/FINAL_VALIDATION_REPORT.md +165 -0
  64. package/docs/HOOKS-V2-MODIFICATION.md +146 -0
  65. package/docs/INDEX.md +568 -0
  66. package/docs/INTEGRATION_COMPLETE.md +414 -0
  67. package/docs/MEMORY_REDACTION_TEST_REPORT.md +300 -0
  68. package/docs/PERFORMANCE-SYSTEMS-STATUS.md +340 -0
  69. package/docs/PRE_RELEASE_FIXES_REPORT.md +435 -0
  70. package/docs/README.md +35 -0
  71. package/docs/REASONING-AGENTS.md +482 -0
  72. package/docs/REASONINGBANK-AGENT-CREATION-GUIDE.md +813 -0
  73. package/docs/REASONINGBANK-ANALYSIS-COMPLETE.md +479 -0
  74. package/docs/REASONINGBANK-BENCHMARK-RESULTS.md +166 -0
  75. package/docs/REASONINGBANK-BENCHMARK.md +396 -0
  76. package/docs/REASONINGBANK-CLI-INTEGRATION.md +455 -0
  77. package/docs/REASONINGBANK-CORE-INTEGRATION.md +658 -0
  78. package/docs/REASONINGBANK-COST-OPTIMIZATION.md +329 -0
  79. package/docs/REASONINGBANK-DEMO.md +419 -0
  80. package/docs/REASONINGBANK-INTEGRATION-COMPLETE.md +249 -0
  81. package/docs/REASONINGBANK-VALIDATION.md +532 -0
  82. package/docs/REASONINGBANK_ARCHITECTURE.md +475 -0
  83. package/docs/REASONINGBANK_INTEGRATION_COMPLETE.md +558 -0
  84. package/docs/REASONINGBANK_INTEGRATION_PLAN.md +1188 -0
  85. package/docs/REGRESSION-ANALYSIS-REPORT.md +500 -0
  86. package/docs/RELEASE_v2.6.0-alpha.2.md +658 -0
  87. package/docs/api/API_DOCUMENTATION.md +721 -0
  88. package/docs/architecture/ARCHITECTURE.md +1690 -0
  89. package/docs/ci-cd/README.md +368 -0
  90. package/docs/development/DEPLOYMENT.md +2348 -0
  91. package/docs/development/DEVELOPMENT_WORKFLOW.md +1333 -0
  92. package/docs/development/build-analysis-report.md +252 -0
  93. package/docs/development/pair-optimization.md +156 -0
  94. package/docs/development/token-tracking-status.md +103 -0
  95. package/docs/development/training-pipeline-demo.md +163 -0
  96. package/docs/development/training-pipeline-real-only.md +196 -0
  97. package/docs/epic-sdk-integration.md +1269 -0
  98. package/docs/experimental/RIEMANN_HYPOTHESIS_PROOF.md +124 -0
  99. package/docs/experimental/computational_verification.py +436 -0
  100. package/docs/experimental/novel_approaches.md +560 -0
  101. package/docs/experimental/riemann_hypothesis_analysis.md +263 -0
  102. package/docs/experimental/riemann_proof_attempt.md +124 -0
  103. package/docs/experimental/riemann_synthesis.md +277 -0
  104. package/docs/experimental/verification_results.json +12 -0
  105. package/docs/experimental/visualization_insights.md +720 -0
  106. package/docs/guides/USER_GUIDE.md +1138 -0
  107. package/docs/guides/token-tracking-guide.md +291 -0
  108. package/docs/reference/AGENTS.md +1011 -0
  109. package/docs/reference/MCP_TOOLS.md +2188 -0
  110. package/docs/reference/SPARC.md +717 -0
  111. package/docs/reference/SWARM.md +2000 -0
  112. package/docs/sdk/CLAUDE-CODE-SDK-DEEP-ANALYSIS.md +649 -0
  113. package/docs/sdk/CLAUDE-FLOW-SDK-INTEGRATION-ANALYSIS.md +242 -0
  114. package/docs/sdk/INTEGRATION-ROADMAP.md +420 -0
  115. package/docs/sdk/MCP-TOOLS-UPDATE.md +270 -0
  116. package/docs/sdk/SDK-ADVANCED-FEATURES-INTEGRATION.md +723 -0
  117. package/docs/sdk/SDK-ALL-FEATURES-INTEGRATION-MATRIX.md +612 -0
  118. package/docs/sdk/SDK-INTEGRATION-COMPLETE.md +358 -0
  119. package/docs/sdk/SDK-INTEGRATION-PHASES-V2.5.md +750 -0
  120. package/docs/sdk/SDK-LEVERAGE-REAL-FEATURES.md +676 -0
  121. package/docs/sdk/SDK-VALIDATION-RESULTS.md +400 -0
  122. package/docs/sdk/epic-sdk-integration.md +1269 -0
  123. package/docs/setup/remote-setup.md +93 -0
  124. package/docs/validation/final-validation-summary.md +220 -0
  125. package/docs/validation/verification-integration.md +190 -0
  126. package/docs/validation/verification-validation.md +349 -0
  127. package/docs/wiki/background-commands.md +1213 -0
  128. package/docs/wiki/session-persistence.md +342 -0
  129. package/docs/wiki/stream-chain-command.md +537 -0
  130. package/package.json +4 -2
  131. package/src/cli/command-registry.js +70 -5
  132. package/src/cli/help-text.js +26 -5
  133. package/src/cli/simple-cli.ts +18 -7
  134. package/src/cli/simple-commands/agent-booster.js +515 -0
  135. package/src/cli/simple-commands/agent.js +1001 -12
  136. package/src/cli/simple-commands/agent.ts +137 -0
  137. package/src/cli/simple-commands/config.ts +127 -0
  138. package/src/cli/simple-commands/env-template.js +190 -0
  139. package/src/cli/simple-commands/init/help.js +23 -0
  140. package/src/cli/simple-commands/init/index.js +84 -6
  141. package/src/cli/simple-commands/memory.js +363 -16
  142. package/src/cli/simple-commands/proxy.js +384 -0
  143. package/src/cli/simple-commands/sparc.js +16 -19
  144. package/src/execution/agent-executor.ts +306 -0
  145. package/src/execution/index.ts +19 -0
  146. package/src/execution/provider-manager.ts +187 -0
  147. package/src/hooks/redaction-hook.ts +115 -0
  148. package/src/utils/key-redactor.js +178 -0
  149. package/src/utils/key-redactor.ts +184 -0
@@ -0,0 +1,2188 @@
1
+ # Claude Flow MCP Tools Reference
2
+
3
+ This document provides a comprehensive reference for all 112 MCP (Model Context Protocol) tools available in the Claude Flow ecosystem.
4
+
5
+ ## Overview
6
+
7
+ Claude Flow integrates with two MCP tool providers:
8
+ - **claude-flow tools**: 87 tools for core functionality
9
+ - **ruv-swarm tools**: 25 tools for advanced swarm intelligence
10
+
11
+ All tools follow the naming convention: `mcp__provider__tool_name`
12
+
13
+ ---
14
+
15
+ ## Claude Flow Tools (87 tools)
16
+
17
+ The claude-flow tools are organized into 8 categories providing comprehensive development, coordination, and system management capabilities.
18
+
19
+ ### Swarm Coordination (12 tools)
20
+
21
+ These tools manage swarm initialization, agent spawning, and coordination tasks.
22
+
23
+ #### `mcp__claude-flow__swarm_init`
24
+ **Function**: Initialize a new swarm with specified topology and configuration
25
+ **Parameters**:
26
+ - `topology` (string): Swarm topology type - "hierarchical", "mesh", "distributed", "centralized"
27
+ - `maxAgents` (number): Maximum number of agents in the swarm (default: 8)
28
+ - `strategy` (string): Coordination strategy - "auto", "manual", "adaptive"
29
+ - `swarmId` (string, optional): Custom swarm identifier
30
+
31
+ **Usage Example**:
32
+ ```json
33
+ {
34
+ "topology": "hierarchical",
35
+ "maxAgents": 12,
36
+ "strategy": "auto",
37
+ "swarmId": "project-alpha"
38
+ }
39
+ ```
40
+
41
+ #### `mcp__claude-flow__agent_spawn`
42
+ **Function**: Create and spawn new agents with specific roles and capabilities
43
+ **Parameters**:
44
+ - `type` (string): Agent type - "coder", "researcher", "tester", "coordinator", "architect"
45
+ - `name` (string, optional): Custom agent name
46
+ - `swarmId` (string): Target swarm identifier
47
+ - `capabilities` (array, optional): Specific capabilities to enable
48
+
49
+ **Usage Example**:
50
+ ```json
51
+ {
52
+ "type": "coder",
53
+ "name": "BackendSpecialist",
54
+ "swarmId": "project-alpha",
55
+ "capabilities": ["nodejs", "database", "api-design"]
56
+ }
57
+ ```
58
+
59
+ #### `mcp__claude-flow__task_orchestrate`
60
+ **Function**: Coordinate task distribution and execution across agents
61
+ **Parameters**:
62
+ - `task` (string): Task description
63
+ - `strategy` (string): Execution strategy - "parallel", "sequential", "adaptive"
64
+ - `priority` (number): Task priority (1-10)
65
+ - `swarmId` (string): Target swarm identifier
66
+
67
+ **Usage Example**:
68
+ ```json
69
+ {
70
+ "task": "Implement user authentication system",
71
+ "strategy": "parallel",
72
+ "priority": 8,
73
+ "swarmId": "project-alpha"
74
+ }
75
+ ```
76
+
77
+ #### `mcp__claude-flow__swarm_status`
78
+ **Function**: Get comprehensive status of all swarms and their components
79
+ **Parameters**:
80
+ - `swarmId` (string, optional): Specific swarm to query
81
+ - `includeMetrics` (boolean): Include performance metrics
82
+
83
+ **Usage Example**:
84
+ ```json
85
+ {
86
+ "swarmId": "project-alpha",
87
+ "includeMetrics": true
88
+ }
89
+ ```
90
+
91
+ #### `mcp__claude-flow__agent_list`
92
+ **Function**: List all agents with their current status and assignments
93
+ **Parameters**:
94
+ - `status` (string, optional): Filter by status - "active", "idle", "offline"
95
+ - `type` (string, optional): Filter by agent type
96
+ - `swarmId` (string, optional): Filter by swarm
97
+
98
+ **Usage Example**:
99
+ ```json
100
+ {
101
+ "status": "active",
102
+ "swarmId": "project-alpha"
103
+ }
104
+ ```
105
+
106
+ #### `mcp__claude-flow__agent_metrics`
107
+ **Function**: Retrieve detailed performance metrics for agents
108
+ **Parameters**:
109
+ - `agentId` (string, optional): Specific agent ID
110
+ - `timeframe` (string): Time period - "1h", "24h", "7d", "30d"
111
+ - `metrics` (array): Specific metrics to include
112
+
113
+ **Usage Example**:
114
+ ```json
115
+ {
116
+ "timeframe": "24h",
117
+ "metrics": ["tasks_completed", "success_rate", "avg_response_time"]
118
+ }
119
+ ```
120
+
121
+ #### `mcp__claude-flow__swarm_monitor`
122
+ **Function**: Real-time monitoring of swarm activities and performance
123
+ **Parameters**:
124
+ - `interval` (number): Update interval in milliseconds
125
+ - `swarmId` (string, optional): Specific swarm to monitor
126
+ - `alerts` (boolean): Enable alert notifications
127
+
128
+ **Usage Example**:
129
+ ```json
130
+ {
131
+ "interval": 5000,
132
+ "swarmId": "project-alpha",
133
+ "alerts": true
134
+ }
135
+ ```
136
+
137
+ #### `mcp__claude-flow__topology_optimize`
138
+ **Function**: Optimize swarm topology based on current workload and performance
139
+ **Parameters**:
140
+ - `swarmId` (string): Target swarm identifier
141
+ - `criteria` (string): Optimization criteria - "performance", "cost", "reliability"
142
+ - `autoApply` (boolean): Automatically apply optimizations
143
+
144
+ **Usage Example**:
145
+ ```json
146
+ {
147
+ "swarmId": "project-alpha",
148
+ "criteria": "performance",
149
+ "autoApply": false
150
+ }
151
+ ```
152
+
153
+ #### `mcp__claude-flow__load_balance`
154
+ **Function**: Distribute workload evenly across available agents
155
+ **Parameters**:
156
+ - `swarmId` (string): Target swarm identifier
157
+ - `strategy` (string): Balancing strategy - "round_robin", "least_loaded", "capability_based"
158
+ - `tasks` (array): Tasks to distribute
159
+
160
+ **Usage Example**:
161
+ ```json
162
+ {
163
+ "swarmId": "project-alpha",
164
+ "strategy": "capability_based",
165
+ "tasks": ["task-1", "task-2", "task-3"]
166
+ }
167
+ ```
168
+
169
+ #### `mcp__claude-flow__coordination_sync`
170
+ **Function**: Synchronize coordination state across all agents in a swarm
171
+ **Parameters**:
172
+ - `swarmId` (string): Target swarm identifier
173
+ - `force` (boolean): Force synchronization even if agents are busy
174
+
175
+ **Usage Example**:
176
+ ```json
177
+ {
178
+ "swarmId": "project-alpha",
179
+ "force": false
180
+ }
181
+ ```
182
+
183
+ #### `mcp__claude-flow__swarm_scale`
184
+ **Function**: Dynamically scale swarm size based on workload demands
185
+ **Parameters**:
186
+ - `swarmId` (string): Target swarm identifier
187
+ - `direction` (string): Scaling direction - "up", "down", "auto"
188
+ - `targetSize` (number, optional): Desired number of agents
189
+
190
+ **Usage Example**:
191
+ ```json
192
+ {
193
+ "swarmId": "project-alpha",
194
+ "direction": "up",
195
+ "targetSize": 15
196
+ }
197
+ ```
198
+
199
+ #### `mcp__claude-flow__swarm_destroy`
200
+ **Function**: Safely terminate a swarm and clean up all associated resources
201
+ **Parameters**:
202
+ - `swarmId` (string): Target swarm identifier
203
+ - `preserveData` (boolean): Keep swarm data for analysis
204
+ - `graceful` (boolean): Allow agents to complete current tasks
205
+
206
+ **Usage Example**:
207
+ ```json
208
+ {
209
+ "swarmId": "project-alpha",
210
+ "preserveData": true,
211
+ "graceful": true
212
+ }
213
+ ```
214
+
215
+ ### Neural Networks & AI (15 tools)
216
+
217
+ Advanced AI and machine learning capabilities for pattern recognition and adaptive behavior.
218
+
219
+ #### `mcp__claude-flow__neural_status`
220
+ **Function**: Get status of neural network models and training processes
221
+ **Parameters**:
222
+ - `modelId` (string, optional): Specific model identifier
223
+ - `includeWeights` (boolean): Include model weights in response
224
+
225
+ **Usage Example**:
226
+ ```json
227
+ {
228
+ "includeWeights": false
229
+ }
230
+ ```
231
+
232
+ #### `mcp__claude-flow__neural_train`
233
+ **Function**: Train neural networks on coordination patterns and task outcomes
234
+ **Parameters**:
235
+ - `pattern_type` (string): Pattern type - "coordination", "optimization", "prediction"
236
+ - `epochs` (number): Number of training epochs
237
+ - `data_source` (string): Training data source
238
+ - `swarmId` (string, optional): Associated swarm for context
239
+
240
+ **Usage Example**:
241
+ ```json
242
+ {
243
+ "pattern_type": "coordination",
244
+ "epochs": 100,
245
+ "data_source": "swarm_interactions",
246
+ "swarmId": "project-alpha"
247
+ }
248
+ ```
249
+
250
+ #### `mcp__claude-flow__neural_patterns`
251
+ **Function**: Analyze and extract patterns from swarm behavior and outcomes
252
+ **Parameters**:
253
+ - `analysis_type` (string): Analysis type - "behavior", "performance", "communication"
254
+ - `timeframe` (string): Time period to analyze
255
+ - `swarmId` (string, optional): Target swarm
256
+
257
+ **Usage Example**:
258
+ ```json
259
+ {
260
+ "analysis_type": "behavior",
261
+ "timeframe": "7d",
262
+ "swarmId": "project-alpha"
263
+ }
264
+ ```
265
+
266
+ #### `mcp__claude-flow__neural_predict`
267
+ **Function**: Make predictions about task outcomes and optimal strategies
268
+ **Parameters**:
269
+ - `input_data` (object): Input data for prediction
270
+ - `modelId` (string): Model to use for prediction
271
+ - `confidence_threshold` (number): Minimum confidence level
272
+
273
+ **Usage Example**:
274
+ ```json
275
+ {
276
+ "input_data": {"task_complexity": 7, "agent_count": 5},
277
+ "modelId": "coordination_predictor",
278
+ "confidence_threshold": 0.8
279
+ }
280
+ ```
281
+
282
+ #### `mcp__claude-flow__model_load`
283
+ **Function**: Load a pre-trained neural network model
284
+ **Parameters**:
285
+ - `modelId` (string): Model identifier
286
+ - `version` (string, optional): Specific model version
287
+ - `cache` (boolean): Cache model in memory
288
+
289
+ **Usage Example**:
290
+ ```json
291
+ {
292
+ "modelId": "task_optimizer_v2",
293
+ "version": "1.2.0",
294
+ "cache": true
295
+ }
296
+ ```
297
+
298
+ #### `mcp__claude-flow__model_save`
299
+ **Function**: Save current neural network model state
300
+ **Parameters**:
301
+ - `modelId` (string): Model identifier
302
+ - `version` (string): Version tag
303
+ - `metadata` (object): Additional model metadata
304
+
305
+ **Usage Example**:
306
+ ```json
307
+ {
308
+ "modelId": "task_optimizer_v2",
309
+ "version": "1.3.0",
310
+ "metadata": {"training_date": "2024-01-15", "accuracy": 0.92}
311
+ }
312
+ ```
313
+
314
+ #### `mcp__claude-flow__wasm_optimize`
315
+ **Function**: Optimize neural network execution using WebAssembly
316
+ **Parameters**:
317
+ - `modelId` (string): Model to optimize
318
+ - `optimization_level` (string): Optimization level - "basic", "aggressive", "max"
319
+ - `target_platform` (string): Target platform - "browser", "node", "edge"
320
+
321
+ **Usage Example**:
322
+ ```json
323
+ {
324
+ "modelId": "coordination_predictor",
325
+ "optimization_level": "aggressive",
326
+ "target_platform": "node"
327
+ }
328
+ ```
329
+
330
+ #### `mcp__claude-flow__inference_run`
331
+ **Function**: Run inference on loaded neural network models
332
+ **Parameters**:
333
+ - `modelId` (string): Model identifier
334
+ - `input_data` (object): Input data
335
+ - `batch_size` (number, optional): Batch processing size
336
+
337
+ **Usage Example**:
338
+ ```json
339
+ {
340
+ "modelId": "task_classifier",
341
+ "input_data": {"description": "Implement API endpoint", "complexity": "medium"},
342
+ "batch_size": 1
343
+ }
344
+ ```
345
+
346
+ #### `mcp__claude-flow__pattern_recognize`
347
+ **Function**: Recognize patterns in agent behavior and task execution
348
+ **Parameters**:
349
+ - `data_type` (string): Type of data to analyze - "logs", "metrics", "communications"
350
+ - `pattern_types` (array): Pattern types to look for
351
+ - `swarmId` (string, optional): Target swarm
352
+
353
+ **Usage Example**:
354
+ ```json
355
+ {
356
+ "data_type": "communications",
357
+ "pattern_types": ["bottlenecks", "inefficiencies", "optimal_flows"],
358
+ "swarmId": "project-alpha"
359
+ }
360
+ ```
361
+
362
+ #### `mcp__claude-flow__cognitive_analyze`
363
+ **Function**: Perform cognitive analysis of decision-making processes
364
+ **Parameters**:
365
+ - `decision_context` (object): Context of the decision
366
+ - `analysis_depth` (string): Analysis depth - "surface", "deep", "comprehensive"
367
+ - `include_alternatives` (boolean): Include alternative decision paths
368
+
369
+ **Usage Example**:
370
+ ```json
371
+ {
372
+ "decision_context": {"task": "architecture_choice", "constraints": ["time", "budget"]},
373
+ "analysis_depth": "deep",
374
+ "include_alternatives": true
375
+ }
376
+ ```
377
+
378
+ #### `mcp__claude-flow__learning_adapt`
379
+ **Function**: Adapt behavior based on learning from past experiences
380
+ **Parameters**:
381
+ - `experience_data` (object): Experience data to learn from
382
+ - `adaptation_type` (string): Type of adaptation - "strategy", "communication", "resource_allocation"
383
+ - `swarmId` (string): Target swarm
384
+
385
+ **Usage Example**:
386
+ ```json
387
+ {
388
+ "experience_data": {"task_type": "api_development", "outcome": "success", "duration": 240},
389
+ "adaptation_type": "strategy",
390
+ "swarmId": "project-alpha"
391
+ }
392
+ ```
393
+
394
+ #### `mcp__claude-flow__neural_compress`
395
+ **Function**: Compress neural network models for efficient deployment
396
+ **Parameters**:
397
+ - `modelId` (string): Model to compress
398
+ - `compression_ratio` (number): Target compression ratio (0.1 to 0.9)
399
+ - `quality_threshold` (number): Minimum quality to maintain
400
+
401
+ **Usage Example**:
402
+ ```json
403
+ {
404
+ "modelId": "large_coordination_model",
405
+ "compression_ratio": 0.3,
406
+ "quality_threshold": 0.85
407
+ }
408
+ ```
409
+
410
+ #### `mcp__claude-flow__ensemble_create`
411
+ **Function**: Create ensemble models from multiple neural networks
412
+ **Parameters**:
413
+ - `modelIds` (array): Models to include in ensemble
414
+ - `voting_strategy` (string): Voting strategy - "majority", "weighted", "soft"
415
+ - `ensembleId` (string): New ensemble identifier
416
+
417
+ **Usage Example**:
418
+ ```json
419
+ {
420
+ "modelIds": ["predictor_1", "predictor_2", "predictor_3"],
421
+ "voting_strategy": "weighted",
422
+ "ensembleId": "task_prediction_ensemble"
423
+ }
424
+ ```
425
+
426
+ #### `mcp__claude-flow__transfer_learn`
427
+ **Function**: Apply transfer learning from one domain to another
428
+ **Parameters**:
429
+ - `source_model` (string): Source model identifier
430
+ - `target_domain` (string): Target domain
431
+ - `freeze_layers` (array): Layers to freeze during transfer
432
+
433
+ **Usage Example**:
434
+ ```json
435
+ {
436
+ "source_model": "general_coordinator",
437
+ "target_domain": "mobile_development",
438
+ "freeze_layers": ["layer1", "layer2"]
439
+ }
440
+ ```
441
+
442
+ #### `mcp__claude-flow__neural_explain`
443
+ **Function**: Provide explanations for neural network decisions and predictions
444
+ **Parameters**:
445
+ - `modelId` (string): Model to explain
446
+ - `input_data` (object): Input data used for prediction
447
+ - `explanation_type` (string): Explanation type - "feature_importance", "decision_path", "counterfactual"
448
+
449
+ **Usage Example**:
450
+ ```json
451
+ {
452
+ "modelId": "task_prioritizer",
453
+ "input_data": {"urgency": 8, "complexity": 6, "resources": 3},
454
+ "explanation_type": "feature_importance"
455
+ }
456
+ ```
457
+
458
+ ### Memory & Persistence (12 tools)
459
+
460
+ Tools for managing persistent memory, state, and data across swarm sessions.
461
+
462
+ #### `mcp__claude-flow__memory_usage`
463
+ **Function**: Store and retrieve data in persistent memory with namespace support
464
+ **Parameters**:
465
+ - `action` (string): Action type - "store", "retrieve", "delete"
466
+ - `key` (string): Memory key
467
+ - `value` (any, for store): Data to store
468
+ - `namespace` (string, optional): Memory namespace
469
+ - `type` (string, optional): Data type - "knowledge", "config", "metrics", "state"
470
+
471
+ **Usage Example**:
472
+ ```json
473
+ {
474
+ "action": "store",
475
+ "key": "project_requirements",
476
+ "value": {"features": ["auth", "dashboard"], "deadline": "2024-02-01"},
477
+ "namespace": "project-alpha",
478
+ "type": "knowledge"
479
+ }
480
+ ```
481
+
482
+ #### `mcp__claude-flow__memory_search`
483
+ **Function**: Search memory using patterns and filters
484
+ **Parameters**:
485
+ - `pattern` (string): Search pattern or query
486
+ - `namespace` (string, optional): Namespace to search in
487
+ - `type_filter` (string, optional): Filter by data type
488
+ - `limit` (number, optional): Maximum results to return
489
+
490
+ **Usage Example**:
491
+ ```json
492
+ {
493
+ "pattern": "authentication",
494
+ "namespace": "project-alpha",
495
+ "type_filter": "knowledge",
496
+ "limit": 10
497
+ }
498
+ ```
499
+
500
+ #### `mcp__claude-flow__memory_persist`
501
+ **Function**: Persist memory data to permanent storage
502
+ **Parameters**:
503
+ - `namespace` (string, optional): Specific namespace to persist
504
+ - `compression` (boolean): Enable compression
505
+ - `backup_existing` (boolean): Create backup before persisting
506
+
507
+ **Usage Example**:
508
+ ```json
509
+ {
510
+ "namespace": "project-alpha",
511
+ "compression": true,
512
+ "backup_existing": true
513
+ }
514
+ ```
515
+
516
+ #### `mcp__claude-flow__memory_namespace`
517
+ **Function**: Manage memory namespaces (create, delete, list)
518
+ **Parameters**:
519
+ - `action` (string): Action type - "create", "delete", "list", "info"
520
+ - `namespace` (string): Namespace name
521
+ - `maxSize` (number, optional): Maximum namespace size in MB
522
+
523
+ **Usage Example**:
524
+ ```json
525
+ {
526
+ "action": "create",
527
+ "namespace": "experiment-beta",
528
+ "maxSize": 500
529
+ }
530
+ ```
531
+
532
+ #### `mcp__claude-flow__memory_backup`
533
+ **Function**: Create backups of memory data
534
+ **Parameters**:
535
+ - `namespace` (string, optional): Specific namespace to backup
536
+ - `backup_name` (string): Backup identifier
537
+ - `incremental` (boolean): Create incremental backup
538
+
539
+ **Usage Example**:
540
+ ```json
541
+ {
542
+ "namespace": "project-alpha",
543
+ "backup_name": "milestone_1_complete",
544
+ "incremental": false
545
+ }
546
+ ```
547
+
548
+ #### `mcp__claude-flow__memory_restore`
549
+ **Function**: Restore memory data from backups
550
+ **Parameters**:
551
+ - `backup_name` (string): Backup identifier to restore
552
+ - `namespace` (string, optional): Target namespace
553
+ - `merge_strategy` (string): Merge strategy - "overwrite", "merge", "skip_conflicts"
554
+
555
+ **Usage Example**:
556
+ ```json
557
+ {
558
+ "backup_name": "milestone_1_complete",
559
+ "namespace": "project-alpha",
560
+ "merge_strategy": "merge"
561
+ }
562
+ ```
563
+
564
+ #### `mcp__claude-flow__memory_compress`
565
+ **Function**: Compress memory data to save storage space
566
+ **Parameters**:
567
+ - `namespace` (string, optional): Specific namespace to compress
568
+ - `compression_level` (number): Compression level (1-9)
569
+ - `preserve_access_patterns` (boolean): Optimize for access patterns
570
+
571
+ **Usage Example**:
572
+ ```json
573
+ {
574
+ "namespace": "archived_projects",
575
+ "compression_level": 7,
576
+ "preserve_access_patterns": false
577
+ }
578
+ ```
579
+
580
+ #### `mcp__claude-flow__memory_sync`
581
+ **Function**: Synchronize memory across multiple swarm instances
582
+ **Parameters**:
583
+ - `source_namespace` (string): Source namespace
584
+ - `target_namespaces` (array): Target namespaces
585
+ - `sync_strategy` (string): Synchronization strategy - "full", "incremental", "selective"
586
+
587
+ **Usage Example**:
588
+ ```json
589
+ {
590
+ "source_namespace": "master_project",
591
+ "target_namespaces": ["dev_branch", "test_branch"],
592
+ "sync_strategy": "incremental"
593
+ }
594
+ ```
595
+
596
+ #### `mcp__claude-flow__cache_manage`
597
+ **Function**: Manage cache for frequently accessed memory data
598
+ **Parameters**:
599
+ - `action` (string): Action type - "clear", "optimize", "stats", "configure"
600
+ - `cache_size` (number, optional): Cache size in MB
601
+ - `eviction_policy` (string, optional): Eviction policy - "lru", "lfu", "ttl"
602
+
603
+ **Usage Example**:
604
+ ```json
605
+ {
606
+ "action": "configure",
607
+ "cache_size": 128,
608
+ "eviction_policy": "lru"
609
+ }
610
+ ```
611
+
612
+ #### `mcp__claude-flow__state_snapshot`
613
+ **Function**: Create snapshots of current swarm state
614
+ **Parameters**:
615
+ - `swarmId` (string): Target swarm identifier
616
+ - `snapshot_name` (string): Snapshot identifier
617
+ - `include_memory` (boolean): Include memory data
618
+ - `include_agent_state` (boolean): Include agent states
619
+
620
+ **Usage Example**:
621
+ ```json
622
+ {
623
+ "swarmId": "project-alpha",
624
+ "snapshot_name": "pre_deployment",
625
+ "include_memory": true,
626
+ "include_agent_state": true
627
+ }
628
+ ```
629
+
630
+ #### `mcp__claude-flow__context_restore`
631
+ **Function**: Restore swarm context from snapshots
632
+ **Parameters**:
633
+ - `snapshot_name` (string): Snapshot to restore
634
+ - `swarmId` (string): Target swarm identifier
635
+ - `selective_restore` (array, optional): Specific components to restore
636
+
637
+ **Usage Example**:
638
+ ```json
639
+ {
640
+ "snapshot_name": "pre_deployment",
641
+ "swarmId": "project-alpha",
642
+ "selective_restore": ["agent_states", "task_queue"]
643
+ }
644
+ ```
645
+
646
+ #### `mcp__claude-flow__memory_analytics`
647
+ **Function**: Analyze memory usage patterns and optimization opportunities
648
+ **Parameters**:
649
+ - `namespace` (string, optional): Specific namespace to analyze
650
+ - `analysis_type` (string): Analysis type - "usage", "patterns", "optimization"
651
+ - `timeframe` (string): Time period to analyze
652
+
653
+ **Usage Example**:
654
+ ```json
655
+ {
656
+ "namespace": "project-alpha",
657
+ "analysis_type": "optimization",
658
+ "timeframe": "30d"
659
+ }
660
+ ```
661
+
662
+ ### Analysis & Monitoring (13 tools)
663
+
664
+ Comprehensive monitoring, analysis, and reporting tools for system performance.
665
+
666
+ #### `mcp__claude-flow__performance_report`
667
+ **Function**: Generate detailed performance reports
668
+ **Parameters**:
669
+ - `timeframe` (string): Time period - "1h", "24h", "7d", "30d"
670
+ - `format` (string): Report format - "summary", "detailed", "csv", "json"
671
+ - `include_predictions` (boolean): Include performance predictions
672
+ - `swarmId` (string, optional): Specific swarm to report on
673
+
674
+ **Usage Example**:
675
+ ```json
676
+ {
677
+ "timeframe": "24h",
678
+ "format": "detailed",
679
+ "include_predictions": true,
680
+ "swarmId": "project-alpha"
681
+ }
682
+ ```
683
+
684
+ #### `mcp__claude-flow__bottleneck_analyze`
685
+ **Function**: Identify and analyze performance bottlenecks
686
+ **Parameters**:
687
+ - `component` (string): Component to analyze - "agents", "tasks", "communication", "memory"
688
+ - `analysis_depth` (string): Analysis depth - "quick", "thorough", "comprehensive"
689
+ - `swarmId` (string, optional): Target swarm
690
+
691
+ **Usage Example**:
692
+ ```json
693
+ {
694
+ "component": "communication",
695
+ "analysis_depth": "thorough",
696
+ "swarmId": "project-alpha"
697
+ }
698
+ ```
699
+
700
+ #### `mcp__claude-flow__token_usage`
701
+ **Function**: Track and analyze token consumption across operations
702
+ **Parameters**:
703
+ - `operation` (string, optional): Specific operation to analyze
704
+ - `breakdown_by` (string): Breakdown criteria - "agent", "task", "time", "operation"
705
+ - `optimize_suggestions` (boolean): Include optimization suggestions
706
+
707
+ **Usage Example**:
708
+ ```json
709
+ {
710
+ "operation": "code_generation",
711
+ "breakdown_by": "agent",
712
+ "optimize_suggestions": true
713
+ }
714
+ ```
715
+
716
+ #### `mcp__claude-flow__task_status`
717
+ **Function**: Get comprehensive status of tasks across swarms
718
+ **Parameters**:
719
+ - `taskId` (string, optional): Specific task identifier
720
+ - `swarmId` (string, optional): Filter by swarm
721
+ - `status_filter` (string, optional): Filter by status - "pending", "in_progress", "completed", "failed"
722
+
723
+ **Usage Example**:
724
+ ```json
725
+ {
726
+ "swarmId": "project-alpha",
727
+ "status_filter": "in_progress"
728
+ }
729
+ ```
730
+
731
+ #### `mcp__claude-flow__task_results`
732
+ **Function**: Retrieve detailed results and outputs from completed tasks
733
+ **Parameters**:
734
+ - `taskId` (string): Task identifier
735
+ - `include_logs` (boolean): Include execution logs
736
+ - `include_artifacts` (boolean): Include generated artifacts
737
+
738
+ **Usage Example**:
739
+ ```json
740
+ {
741
+ "taskId": "task_api_impl_001",
742
+ "include_logs": true,
743
+ "include_artifacts": true
744
+ }
745
+ ```
746
+
747
+ #### `mcp__claude-flow__benchmark_run`
748
+ **Function**: Run performance benchmarks on swarm operations
749
+ **Parameters**:
750
+ - `benchmark_type` (string): Benchmark type - "throughput", "latency", "resource_usage", "accuracy"
751
+ - `test_duration` (number): Test duration in seconds
752
+ - `concurrent_operations` (number): Number of concurrent operations
753
+
754
+ **Usage Example**:
755
+ ```json
756
+ {
757
+ "benchmark_type": "throughput",
758
+ "test_duration": 300,
759
+ "concurrent_operations": 10
760
+ }
761
+ ```
762
+
763
+ #### `mcp__claude-flow__metrics_collect`
764
+ **Function**: Collect and aggregate metrics from all system components
765
+ **Parameters**:
766
+ - `metrics` (array): Specific metrics to collect
767
+ - `granularity` (string): Data granularity - "minute", "hour", "day"
768
+ - `retention_period` (number): How long to keep metrics (days)
769
+
770
+ **Usage Example**:
771
+ ```json
772
+ {
773
+ "metrics": ["cpu_usage", "memory_usage", "task_completion_rate"],
774
+ "granularity": "minute",
775
+ "retention_period": 30
776
+ }
777
+ ```
778
+
779
+ #### `mcp__claude-flow__trend_analysis`
780
+ **Function**: Analyze trends in performance and behavior over time
781
+ **Parameters**:
782
+ - `metric` (string): Metric to analyze
783
+ - `timeframe` (string): Analysis period
784
+ - `prediction_horizon` (string): Future prediction period
785
+ - `alert_thresholds` (object, optional): Set alert thresholds
786
+
787
+ **Usage Example**:
788
+ ```json
789
+ {
790
+ "metric": "task_completion_rate",
791
+ "timeframe": "7d",
792
+ "prediction_horizon": "3d",
793
+ "alert_thresholds": {"warning": 0.8, "critical": 0.6}
794
+ }
795
+ ```
796
+
797
+ #### `mcp__claude-flow__cost_analysis`
798
+ **Function**: Analyze costs associated with swarm operations
799
+ **Parameters**:
800
+ - `cost_type` (string): Cost type - "tokens", "compute", "storage", "total"
801
+ - `breakdown_by` (string): Cost breakdown - "swarm", "agent", "task", "operation"
802
+ - `budget_tracking` (boolean): Track against budget limits
803
+
804
+ **Usage Example**:
805
+ ```json
806
+ {
807
+ "cost_type": "total",
808
+ "breakdown_by": "swarm",
809
+ "budget_tracking": true
810
+ }
811
+ ```
812
+
813
+ #### `mcp__claude-flow__quality_assess`
814
+ **Function**: Assess quality of outputs and processes
815
+ **Parameters**:
816
+ - `assessment_type` (string): Assessment type - "code_quality", "task_completion", "communication"
817
+ - `quality_metrics` (array): Specific quality metrics to evaluate
818
+ - `swarmId` (string, optional): Target swarm
819
+
820
+ **Usage Example**:
821
+ ```json
822
+ {
823
+ "assessment_type": "code_quality",
824
+ "quality_metrics": ["complexity", "maintainability", "test_coverage"],
825
+ "swarmId": "project-alpha"
826
+ }
827
+ ```
828
+
829
+ #### `mcp__claude-flow__error_analysis`
830
+ **Function**: Analyze errors and failures to identify improvement opportunities
831
+ **Parameters**:
832
+ - `error_category` (string, optional): Error category to focus on
833
+ - `timeframe` (string): Analysis period
834
+ - `include_resolution` (boolean): Include resolution suggestions
835
+ - `severity_filter` (string, optional): Filter by severity
836
+
837
+ **Usage Example**:
838
+ ```json
839
+ {
840
+ "error_category": "communication_failures",
841
+ "timeframe": "7d",
842
+ "include_resolution": true,
843
+ "severity_filter": "high"
844
+ }
845
+ ```
846
+
847
+ #### `mcp__claude-flow__usage_stats`
848
+ **Function**: Generate usage statistics and insights
849
+ **Parameters**:
850
+ - `stat_type` (string): Statistics type - "agent_utilization", "feature_usage", "resource_consumption"
851
+ - `aggregation` (string): Aggregation level - "hourly", "daily", "weekly"
852
+ - `comparative_analysis` (boolean): Include comparative analysis
853
+
854
+ **Usage Example**:
855
+ ```json
856
+ {
857
+ "stat_type": "agent_utilization",
858
+ "aggregation": "daily",
859
+ "comparative_analysis": true
860
+ }
861
+ ```
862
+
863
+ #### `mcp__claude-flow__health_check`
864
+ **Function**: Perform comprehensive health checks on system components
865
+ **Parameters**:
866
+ - `component` (string, optional): Specific component to check
867
+ - `check_depth` (string): Check depth - "basic", "standard", "comprehensive"
868
+ - `auto_remediate` (boolean): Automatically fix detected issues
869
+
870
+ **Usage Example**:
871
+ ```json
872
+ {
873
+ "component": "memory_system",
874
+ "check_depth": "comprehensive",
875
+ "auto_remediate": false
876
+ }
877
+ ```
878
+
879
+ ### Workflow & Automation (11 tools)
880
+
881
+ Tools for creating and managing automated workflows and processes.
882
+
883
+ #### `mcp__claude-flow__workflow_create`
884
+ **Function**: Create new automated workflows
885
+ **Parameters**:
886
+ - `workflow_name` (string): Workflow identifier
887
+ - `steps` (array): Workflow steps definition
888
+ - `triggers` (array): Workflow triggers
889
+ - `schedule` (string, optional): Cron schedule for automated execution
890
+
891
+ **Usage Example**:
892
+ ```json
893
+ {
894
+ "workflow_name": "daily_health_check",
895
+ "steps": [
896
+ {"action": "health_check", "params": {}},
897
+ {"action": "generate_report", "params": {"format": "summary"}}
898
+ ],
899
+ "triggers": ["schedule", "system_alert"],
900
+ "schedule": "0 9 * * *"
901
+ }
902
+ ```
903
+
904
+ #### `mcp__claude-flow__sparc_mode`
905
+ **Function**: Execute SPARC (Specification, Pseudocode, Architecture, Refinement, Completion) workflows
906
+ **Parameters**:
907
+ - `mode` (string): SPARC mode - "specification", "pseudocode", "architecture", "refinement", "completion"
908
+ - `project_context` (object): Project context and requirements
909
+ - `previous_artifacts` (array, optional): Artifacts from previous SPARC phases
910
+
911
+ **Usage Example**:
912
+ ```json
913
+ {
914
+ "mode": "architecture",
915
+ "project_context": {
916
+ "description": "E-commerce API",
917
+ "requirements": ["authentication", "product_catalog", "order_processing"]
918
+ },
919
+ "previous_artifacts": ["specification_doc", "pseudocode_outline"]
920
+ }
921
+ ```
922
+
923
+ #### `mcp__claude-flow__workflow_execute`
924
+ **Function**: Execute defined workflows
925
+ **Parameters**:
926
+ - `workflow_id` (string): Workflow identifier to execute
927
+ - `execution_params` (object, optional): Runtime parameters
928
+ - `async_execution` (boolean): Execute asynchronously
929
+
930
+ **Usage Example**:
931
+ ```json
932
+ {
933
+ "workflow_id": "daily_health_check",
934
+ "execution_params": {"verbose": true},
935
+ "async_execution": false
936
+ }
937
+ ```
938
+
939
+ #### `mcp__claude-flow__workflow_export`
940
+ **Function**: Export workflow definitions for sharing or backup
941
+ **Parameters**:
942
+ - `workflow_ids` (array): Workflows to export
943
+ - `format` (string): Export format - "json", "yaml", "xml"
944
+ - `include_history` (boolean): Include execution history
945
+
946
+ **Usage Example**:
947
+ ```json
948
+ {
949
+ "workflow_ids": ["daily_health_check", "deployment_pipeline"],
950
+ "format": "yaml",
951
+ "include_history": false
952
+ }
953
+ ```
954
+
955
+ #### `mcp__claude-flow__automation_setup`
956
+ **Function**: Set up automation rules and triggers
957
+ **Parameters**:
958
+ - `rule_name` (string): Automation rule name
959
+ - `conditions` (array): Trigger conditions
960
+ - `actions` (array): Actions to perform
961
+ - `enabled` (boolean): Enable rule immediately
962
+
963
+ **Usage Example**:
964
+ ```json
965
+ {
966
+ "rule_name": "auto_scale_on_load",
967
+ "conditions": [{"metric": "cpu_usage", "threshold": 80, "duration": "5m"}],
968
+ "actions": [{"type": "scale_swarm", "direction": "up", "amount": 2}],
969
+ "enabled": true
970
+ }
971
+ ```
972
+
973
+ #### `mcp__claude-flow__pipeline_create`
974
+ **Function**: Create CI/CD-style pipelines
975
+ **Parameters**:
976
+ - `pipeline_name` (string): Pipeline identifier
977
+ - `stages` (array): Pipeline stages
978
+ - `parallel_execution` (boolean): Allow parallel stage execution
979
+ - `failure_strategy` (string): Failure handling - "abort", "continue", "retry"
980
+
981
+ **Usage Example**:
982
+ ```json
983
+ {
984
+ "pipeline_name": "code_quality_pipeline",
985
+ "stages": [
986
+ {"name": "lint", "commands": ["npm run lint"]},
987
+ {"name": "test", "commands": ["npm test"]},
988
+ {"name": "build", "commands": ["npm run build"]}
989
+ ],
990
+ "parallel_execution": false,
991
+ "failure_strategy": "abort"
992
+ }
993
+ ```
994
+
995
+ #### `mcp__claude-flow__scheduler_manage`
996
+ **Function**: Manage task scheduling and cron jobs
997
+ **Parameters**:
998
+ - `action` (string): Action type - "create", "update", "delete", "list", "status"
999
+ - `schedule_id` (string, optional): Schedule identifier
1000
+ - `cron_expression` (string, optional): Cron schedule expression
1001
+ - `task_definition` (object, optional): Task to schedule
1002
+
1003
+ **Usage Example**:
1004
+ ```json
1005
+ {
1006
+ "action": "create",
1007
+ "schedule_id": "weekly_optimization",
1008
+ "cron_expression": "0 2 * * 0",
1009
+ "task_definition": {"type": "topology_optimize", "swarmId": "production"}
1010
+ }
1011
+ ```
1012
+
1013
+ #### `mcp__claude-flow__trigger_setup`
1014
+ **Function**: Configure event-driven triggers
1015
+ **Parameters**:
1016
+ - `trigger_name` (string): Trigger identifier
1017
+ - `event_type` (string): Event type to listen for
1018
+ - `conditions` (object): Trigger conditions
1019
+ - `webhook_url` (string, optional): Webhook endpoint for notifications
1020
+
1021
+ **Usage Example**:
1022
+ ```json
1023
+ {
1024
+ "trigger_name": "deployment_complete",
1025
+ "event_type": "task_completed",
1026
+ "conditions": {"task_type": "deployment", "status": "success"},
1027
+ "webhook_url": "https://api.example.com/deploy-webhook"
1028
+ }
1029
+ ```
1030
+
1031
+ #### `mcp__claude-flow__workflow_template`
1032
+ **Function**: Manage workflow templates for reusability
1033
+ **Parameters**:
1034
+ - `action` (string): Action type - "create", "update", "delete", "list", "instantiate"
1035
+ - `template_name` (string): Template identifier
1036
+ - `template_definition` (object, optional): Template definition
1037
+ - `parameters` (object, optional): Template parameters for instantiation
1038
+
1039
+ **Usage Example**:
1040
+ ```json
1041
+ {
1042
+ "action": "instantiate",
1043
+ "template_name": "api_development_template",
1044
+ "parameters": {
1045
+ "project_name": "user-service",
1046
+ "database_type": "postgresql"
1047
+ }
1048
+ }
1049
+ ```
1050
+
1051
+ #### `mcp__claude-flow__batch_process`
1052
+ **Function**: Execute batch processing operations
1053
+ **Parameters**:
1054
+ - `batch_name` (string): Batch operation identifier
1055
+ - `operations` (array): Operations to execute in batch
1056
+ - `concurrency_limit` (number): Maximum concurrent operations
1057
+ - `retry_failed` (boolean): Retry failed operations
1058
+
1059
+ **Usage Example**:
1060
+ ```json
1061
+ {
1062
+ "batch_name": "migrate_projects",
1063
+ "operations": [
1064
+ {"type": "update_project", "project_id": "proj1"},
1065
+ {"type": "update_project", "project_id": "proj2"}
1066
+ ],
1067
+ "concurrency_limit": 5,
1068
+ "retry_failed": true
1069
+ }
1070
+ ```
1071
+
1072
+ #### `mcp__claude-flow__parallel_execute`
1073
+ **Function**: Execute multiple operations in parallel
1074
+ **Parameters**:
1075
+ - `operations` (array): Operations to execute
1076
+ - `max_concurrency` (number): Maximum concurrent operations
1077
+ - `timeout` (number): Timeout per operation in seconds
1078
+ - `collect_results` (boolean): Collect and return all results
1079
+
1080
+ **Usage Example**:
1081
+ ```json
1082
+ {
1083
+ "operations": [
1084
+ {"tool": "health_check", "params": {"component": "agents"}},
1085
+ {"tool": "health_check", "params": {"component": "memory"}},
1086
+ {"tool": "health_check", "params": {"component": "neural"}}
1087
+ ],
1088
+ "max_concurrency": 3,
1089
+ "timeout": 30,
1090
+ "collect_results": true
1091
+ }
1092
+ ```
1093
+
1094
+ ### GitHub Integration (8 tools)
1095
+
1096
+ Comprehensive GitHub integration for repository management and collaboration.
1097
+
1098
+ #### `mcp__claude-flow__github_repo_analyze`
1099
+ **Function**: Analyze GitHub repositories for structure, patterns, and insights
1100
+ **Parameters**:
1101
+ - `repo_url` (string): GitHub repository URL
1102
+ - `analysis_type` (string): Analysis type - "structure", "activity", "contributors", "issues", "code_quality"
1103
+ - `depth` (string): Analysis depth - "shallow", "moderate", "deep"
1104
+ - `include_history` (boolean): Include commit history analysis
1105
+
1106
+ **Usage Example**:
1107
+ ```json
1108
+ {
1109
+ "repo_url": "https://github.com/example/project",
1110
+ "analysis_type": "code_quality",
1111
+ "depth": "moderate",
1112
+ "include_history": true
1113
+ }
1114
+ ```
1115
+
1116
+ #### `mcp__claude-flow__github_pr_manage`
1117
+ **Function**: Manage GitHub pull requests (create, review, merge)
1118
+ **Parameters**:
1119
+ - `action` (string): Action type - "create", "review", "merge", "close", "list"
1120
+ - `repo` (string): Repository identifier
1121
+ - `pr_number` (number, optional): Pull request number
1122
+ - `title` (string, optional): PR title for creation
1123
+ - `description` (string, optional): PR description
1124
+ - `base_branch` (string, optional): Base branch for PR
1125
+
1126
+ **Usage Example**:
1127
+ ```json
1128
+ {
1129
+ "action": "create",
1130
+ "repo": "example/project",
1131
+ "title": "Add user authentication feature",
1132
+ "description": "Implements JWT-based authentication system",
1133
+ "base_branch": "main"
1134
+ }
1135
+ ```
1136
+
1137
+ #### `mcp__claude-flow__github_issue_track`
1138
+ **Function**: Track and manage GitHub issues
1139
+ **Parameters**:
1140
+ - `action` (string): Action type - "create", "update", "close", "list", "assign"
1141
+ - `repo` (string): Repository identifier
1142
+ - `issue_number` (number, optional): Issue number
1143
+ - `title` (string, optional): Issue title
1144
+ - `labels` (array, optional): Issue labels
1145
+ - `assignee` (string, optional): Issue assignee
1146
+
1147
+ **Usage Example**:
1148
+ ```json
1149
+ {
1150
+ "action": "create",
1151
+ "repo": "example/project",
1152
+ "title": "Bug: Login form validation",
1153
+ "labels": ["bug", "frontend"],
1154
+ "assignee": "dev-team"
1155
+ }
1156
+ ```
1157
+
1158
+ #### `mcp__claude-flow__github_release_coord`
1159
+ **Function**: Coordinate GitHub releases and versioning
1160
+ **Parameters**:
1161
+ - `action` (string): Action type - "create", "update", "delete", "list"
1162
+ - `repo` (string): Repository identifier
1163
+ - `tag_name` (string, optional): Release tag
1164
+ - `release_name` (string, optional): Release title
1165
+ - `description` (string, optional): Release description
1166
+ - `draft` (boolean, optional): Create as draft
1167
+
1168
+ **Usage Example**:
1169
+ ```json
1170
+ {
1171
+ "action": "create",
1172
+ "repo": "example/project",
1173
+ "tag_name": "v2.1.0",
1174
+ "release_name": "Version 2.1.0 - Feature Release",
1175
+ "description": "Added new dashboard and improved performance",
1176
+ "draft": false
1177
+ }
1178
+ ```
1179
+
1180
+ #### `mcp__claude-flow__github_workflow_auto`
1181
+ **Function**: Automate GitHub Actions workflows
1182
+ **Parameters**:
1183
+ - `repo` (string): Repository identifier
1184
+ - `workflow_action` (string): Action type - "trigger", "status", "list", "create"
1185
+ - `workflow_name` (string, optional): Workflow name
1186
+ - `inputs` (object, optional): Workflow inputs
1187
+ - `branch` (string, optional): Target branch
1188
+
1189
+ **Usage Example**:
1190
+ ```json
1191
+ {
1192
+ "repo": "example/project",
1193
+ "workflow_action": "trigger",
1194
+ "workflow_name": "deploy-to-production",
1195
+ "inputs": {"environment": "production"},
1196
+ "branch": "main"
1197
+ }
1198
+ ```
1199
+
1200
+ #### `mcp__claude-flow__github_code_review`
1201
+ **Function**: Perform automated code reviews using AI
1202
+ **Parameters**:
1203
+ - `repo` (string): Repository identifier
1204
+ - `pr_number` (number, optional): Pull request to review
1205
+ - `review_type` (string): Review type - "security", "performance", "style", "comprehensive"
1206
+ - `auto_comment` (boolean): Automatically comment on findings
1207
+ - `review_criteria` (array, optional): Specific criteria to check
1208
+
1209
+ **Usage Example**:
1210
+ ```json
1211
+ {
1212
+ "repo": "example/project",
1213
+ "pr_number": 42,
1214
+ "review_type": "comprehensive",
1215
+ "auto_comment": true,
1216
+ "review_criteria": ["security_vulnerabilities", "performance_issues", "code_style"]
1217
+ }
1218
+ ```
1219
+
1220
+ #### `mcp__claude-flow__github_sync_coord`
1221
+ **Function**: Coordinate synchronization between GitHub and local development
1222
+ **Parameters**:
1223
+ - `repos` (array): Repositories to synchronize
1224
+ - `sync_direction` (string): Sync direction - "push", "pull", "bidirectional"
1225
+ - `conflict_resolution` (string): Conflict resolution strategy
1226
+ - `sync_branches` (array, optional): Specific branches to sync
1227
+
1228
+ **Usage Example**:
1229
+ ```json
1230
+ {
1231
+ "repos": ["example/project", "example/shared-lib"],
1232
+ "sync_direction": "bidirectional",
1233
+ "conflict_resolution": "manual_review",
1234
+ "sync_branches": ["main", "develop"]
1235
+ }
1236
+ ```
1237
+
1238
+ #### `mcp__claude-flow__github_metrics`
1239
+ **Function**: Collect and analyze GitHub repository metrics
1240
+ **Parameters**:
1241
+ - `repo` (string): Repository identifier
1242
+ - `metrics` (array): Metrics to collect - "commits", "contributors", "issues", "prs", "releases"
1243
+ - `timeframe` (string): Analysis period
1244
+ - `export_format` (string, optional): Export format for metrics
1245
+
1246
+ **Usage Example**:
1247
+ ```json
1248
+ {
1249
+ "repo": "example/project",
1250
+ "metrics": ["commits", "issues", "prs"],
1251
+ "timeframe": "30d",
1252
+ "export_format": "csv"
1253
+ }
1254
+ ```
1255
+
1256
+ ### DAA (Dynamic Agent Architecture) (8 tools)
1257
+
1258
+ Advanced dynamic agent management and architecture tools.
1259
+
1260
+ #### `mcp__claude-flow__daa_agent_create`
1261
+ **Function**: Create dynamic agents with adaptive capabilities
1262
+ **Parameters**:
1263
+ - `agent_type` (string): Agent type or capability profile
1264
+ - `adaptation_rules` (array): Rules for dynamic adaptation
1265
+ - `resource_constraints` (object): Resource allocation constraints
1266
+ - `lifecycle_policy` (string): Agent lifecycle management policy
1267
+
1268
+ **Usage Example**:
1269
+ ```json
1270
+ {
1271
+ "agent_type": "adaptive_coder",
1272
+ "adaptation_rules": [
1273
+ {"condition": "high_complexity", "action": "request_specialist"},
1274
+ {"condition": "low_workload", "action": "hibernate"}
1275
+ ],
1276
+ "resource_constraints": {"max_memory": "512MB", "max_cpu": "2_cores"},
1277
+ "lifecycle_policy": "auto_scale"
1278
+ }
1279
+ ```
1280
+
1281
+ #### `mcp__claude-flow__daa_capability_match`
1282
+ **Function**: Match agent capabilities to task requirements
1283
+ **Parameters**:
1284
+ - `task_requirements` (object): Required capabilities for task
1285
+ - `available_agents` (array, optional): Agents to consider
1286
+ - `match_criteria` (string): Matching criteria - "exact", "partial", "adaptive"
1287
+ - `optimization_goal` (string): Optimization goal - "speed", "quality", "cost"
1288
+
1289
+ **Usage Example**:
1290
+ ```json
1291
+ {
1292
+ "task_requirements": {
1293
+ "skills": ["python", "machine_learning", "data_analysis"],
1294
+ "experience_level": "senior",
1295
+ "availability": "immediate"
1296
+ },
1297
+ "match_criteria": "adaptive",
1298
+ "optimization_goal": "quality"
1299
+ }
1300
+ ```
1301
+
1302
+ #### `mcp__claude-flow__daa_resource_alloc`
1303
+ **Function**: Dynamically allocate resources to agents based on demand
1304
+ **Parameters**:
1305
+ - `allocation_strategy` (string): Strategy - "fair", "priority_based", "demand_based", "predictive"
1306
+ - `resource_pool` (object): Available resources
1307
+ - `constraints` (object): Allocation constraints
1308
+ - `monitoring_interval` (number): Resource monitoring interval in seconds
1309
+
1310
+ **Usage Example**:
1311
+ ```json
1312
+ {
1313
+ "allocation_strategy": "demand_based",
1314
+ "resource_pool": {"cpu_cores": 16, "memory_gb": 64, "storage_gb": 1000},
1315
+ "constraints": {"min_cpu_per_agent": 1, "max_memory_per_agent": "8GB"},
1316
+ "monitoring_interval": 30
1317
+ }
1318
+ ```
1319
+
1320
+ #### `mcp__claude-flow__daa_lifecycle_manage`
1321
+ **Function**: Manage dynamic agent lifecycles (creation, scaling, termination)
1322
+ **Parameters**:
1323
+ - `lifecycle_action` (string): Action - "spawn", "scale", "hibernate", "terminate", "migrate"
1324
+ - `agent_ids` (array, optional): Specific agents to manage
1325
+ - `scaling_policy` (object): Scaling policies and triggers
1326
+ - `migration_target` (string, optional): Target for agent migration
1327
+
1328
+ **Usage Example**:
1329
+ ```json
1330
+ {
1331
+ "lifecycle_action": "scale",
1332
+ "scaling_policy": {
1333
+ "scale_up_threshold": 80,
1334
+ "scale_down_threshold": 20,
1335
+ "cooldown_period": 300
1336
+ }
1337
+ }
1338
+ ```
1339
+
1340
+ #### `mcp__claude-flow__daa_communication`
1341
+ **Function**: Manage dynamic communication patterns between agents
1342
+ **Parameters**:
1343
+ - `communication_pattern` (string): Pattern - "broadcast", "peer_to_peer", "hierarchical", "mesh"
1344
+ - `message_routing` (object): Message routing configuration
1345
+ - `protocol_adaptation` (boolean): Enable protocol adaptation
1346
+ - `bandwidth_management` (object): Bandwidth allocation rules
1347
+
1348
+ **Usage Example**:
1349
+ ```json
1350
+ {
1351
+ "communication_pattern": "mesh",
1352
+ "message_routing": {"priority_queues": true, "load_balancing": true},
1353
+ "protocol_adaptation": true,
1354
+ "bandwidth_management": {"max_per_agent": "10Mbps", "priority_levels": 3}
1355
+ }
1356
+ ```
1357
+
1358
+ #### `mcp__claude-flow__daa_consensus`
1359
+ **Function**: Implement consensus mechanisms for distributed decision making
1360
+ **Parameters**:
1361
+ - `consensus_algorithm` (string): Algorithm - "raft", "byzantine", "proof_of_stake", "democratic"
1362
+ - `decision_topic` (string): Topic requiring consensus
1363
+ - `voting_power` (object, optional): Voting power distribution
1364
+ - `timeout_seconds` (number): Consensus timeout
1365
+
1366
+ **Usage Example**:
1367
+ ```json
1368
+ {
1369
+ "consensus_algorithm": "democratic",
1370
+ "decision_topic": "architecture_choice",
1371
+ "voting_power": {"senior_agents": 2, "junior_agents": 1},
1372
+ "timeout_seconds": 120
1373
+ }
1374
+ ```
1375
+
1376
+ #### `mcp__claude-flow__daa_fault_tolerance`
1377
+ **Function**: Implement fault tolerance and recovery mechanisms
1378
+ **Parameters**:
1379
+ - `fault_detection` (object): Fault detection configuration
1380
+ - `recovery_strategy` (string): Recovery strategy - "restart", "migrate", "replicate", "degrade"
1381
+ - `health_monitoring` (object): Health monitoring settings
1382
+ - `backup_agents` (number): Number of backup agents to maintain
1383
+
1384
+ **Usage Example**:
1385
+ ```json
1386
+ {
1387
+ "fault_detection": {"heartbeat_interval": 10, "failure_threshold": 3},
1388
+ "recovery_strategy": "migrate",
1389
+ "health_monitoring": {"check_interval": 30, "metrics": ["cpu", "memory", "response_time"]},
1390
+ "backup_agents": 2
1391
+ }
1392
+ ```
1393
+
1394
+ #### `mcp__claude-flow__daa_optimization`
1395
+ **Function**: Optimize dynamic agent architecture for performance and efficiency
1396
+ **Parameters**:
1397
+ - `optimization_target` (string): Target - "performance", "cost", "reliability", "energy"
1398
+ - `constraints` (object): Optimization constraints
1399
+ - `optimization_algorithm` (string): Algorithm to use
1400
+ - `continuous_optimization` (boolean): Enable continuous optimization
1401
+
1402
+ **Usage Example**:
1403
+ ```json
1404
+ {
1405
+ "optimization_target": "performance",
1406
+ "constraints": {"max_cost": 1000, "min_reliability": 0.99},
1407
+ "optimization_algorithm": "genetic",
1408
+ "continuous_optimization": true
1409
+ }
1410
+ ```
1411
+
1412
+ ### System & Utilities (8 tools)
1413
+
1414
+ Core system management and utility functions.
1415
+
1416
+ #### `mcp__claude-flow__terminal_execute`
1417
+ **Function**: Execute terminal commands with safety controls
1418
+ **Parameters**:
1419
+ - `command` (string): Command to execute
1420
+ - `working_directory` (string, optional): Working directory
1421
+ - `timeout` (number, optional): Execution timeout in seconds
1422
+ - `capture_output` (boolean): Capture command output
1423
+ - `environment_vars` (object, optional): Environment variables
1424
+
1425
+ **Usage Example**:
1426
+ ```json
1427
+ {
1428
+ "command": "npm test",
1429
+ "working_directory": "/path/to/project",
1430
+ "timeout": 300,
1431
+ "capture_output": true,
1432
+ "environment_vars": {"NODE_ENV": "test"}
1433
+ }
1434
+ ```
1435
+
1436
+ #### `mcp__claude-flow__config_manage`
1437
+ **Function**: Manage system configuration settings
1438
+ **Parameters**:
1439
+ - `action` (string): Action - "get", "set", "update", "delete", "list", "backup", "restore"
1440
+ - `config_key` (string, optional): Configuration key
1441
+ - `config_value` (any, optional): Configuration value
1442
+ - `namespace` (string, optional): Configuration namespace
1443
+
1444
+ **Usage Example**:
1445
+ ```json
1446
+ {
1447
+ "action": "set",
1448
+ "config_key": "swarm.default_topology",
1449
+ "config_value": "hierarchical",
1450
+ "namespace": "system"
1451
+ }
1452
+ ```
1453
+
1454
+ #### `mcp__claude-flow__features_detect`
1455
+ **Function**: Detect available features and capabilities
1456
+ **Parameters**:
1457
+ - `component` (string, optional): Specific component to check
1458
+ - `detailed_info` (boolean): Include detailed feature information
1459
+ - `compatibility_check` (boolean): Check feature compatibility
1460
+
1461
+ **Usage Example**:
1462
+ ```json
1463
+ {
1464
+ "component": "neural_networks",
1465
+ "detailed_info": true,
1466
+ "compatibility_check": true
1467
+ }
1468
+ ```
1469
+
1470
+ #### `mcp__claude-flow__security_scan`
1471
+ **Function**: Perform security scans on system components
1472
+ **Parameters**:
1473
+ - `scan_type` (string): Scan type - "vulnerability", "compliance", "access_control", "data_integrity"
1474
+ - `scope` (string): Scan scope - "system", "agents", "communications", "storage"
1475
+ - `severity_threshold` (string): Minimum severity to report
1476
+ - `remediation_suggestions` (boolean): Include remediation suggestions
1477
+
1478
+ **Usage Example**:
1479
+ ```json
1480
+ {
1481
+ "scan_type": "vulnerability",
1482
+ "scope": "system",
1483
+ "severity_threshold": "medium",
1484
+ "remediation_suggestions": true
1485
+ }
1486
+ ```
1487
+
1488
+ #### `mcp__claude-flow__backup_create`
1489
+ **Function**: Create system backups
1490
+ **Parameters**:
1491
+ - `backup_type` (string): Backup type - "full", "incremental", "differential"
1492
+ - `components` (array): Components to backup
1493
+ - `compression` (boolean): Enable compression
1494
+ - `encryption` (boolean): Enable encryption
1495
+ - `retention_days` (number): Backup retention period
1496
+
1497
+ **Usage Example**:
1498
+ ```json
1499
+ {
1500
+ "backup_type": "incremental",
1501
+ "components": ["memory", "configs", "agent_states"],
1502
+ "compression": true,
1503
+ "encryption": true,
1504
+ "retention_days": 30
1505
+ }
1506
+ ```
1507
+
1508
+ #### `mcp__claude-flow__restore_system`
1509
+ **Function**: Restore system from backups
1510
+ **Parameters**:
1511
+ - `backup_id` (string): Backup identifier to restore
1512
+ - `restore_components` (array): Components to restore
1513
+ - `verification` (boolean): Verify backup integrity before restore
1514
+ - `rollback_plan` (boolean): Create rollback point before restore
1515
+
1516
+ **Usage Example**:
1517
+ ```json
1518
+ {
1519
+ "backup_id": "backup_2024_01_15_001",
1520
+ "restore_components": ["memory", "configs"],
1521
+ "verification": true,
1522
+ "rollback_plan": true
1523
+ }
1524
+ ```
1525
+
1526
+ #### `mcp__claude-flow__log_analysis`
1527
+ **Function**: Analyze system logs for insights and issues
1528
+ **Parameters**:
1529
+ - `log_source` (string): Log source - "system", "agents", "tasks", "communications"
1530
+ - `analysis_type` (string): Analysis type - "errors", "performance", "patterns", "anomalies"
1531
+ - `timeframe` (string): Time period to analyze
1532
+ - `export_results` (boolean): Export analysis results
1533
+
1534
+ **Usage Example**:
1535
+ ```json
1536
+ {
1537
+ "log_source": "agents",
1538
+ "analysis_type": "errors",
1539
+ "timeframe": "24h",
1540
+ "export_results": true
1541
+ }
1542
+ ```
1543
+
1544
+ #### `mcp__claude-flow__diagnostic_run`
1545
+ **Function**: Run comprehensive system diagnostics
1546
+ **Parameters**:
1547
+ - `diagnostic_level` (string): Diagnostic level - "quick", "standard", "comprehensive"
1548
+ - `components` (array, optional): Specific components to diagnose
1549
+ - `include_recommendations` (boolean): Include improvement recommendations
1550
+ - `auto_fix` (boolean): Automatically fix detected issues
1551
+
1552
+ **Usage Example**:
1553
+ ```json
1554
+ {
1555
+ "diagnostic_level": "comprehensive",
1556
+ "components": ["memory", "agents", "neural_networks"],
1557
+ "include_recommendations": true,
1558
+ "auto_fix": false
1559
+ }
1560
+ ```
1561
+
1562
+ ---
1563
+
1564
+ ## Ruv-Swarm Tools (25 tools)
1565
+
1566
+ The ruv-swarm tools provide advanced swarm intelligence, distributed computing, and collaborative AI capabilities. All ruv-swarm tools use the prefix `mcp__ruv-swarm__`.
1567
+
1568
+ ### Core Swarm Intelligence (8 tools)
1569
+
1570
+ #### `mcp__ruv-swarm__memory_usage`
1571
+ **Function**: Advanced distributed memory management across swarm networks
1572
+ **Parameters**:
1573
+ - `action` (string): Action type - "store", "retrieve", "sync", "replicate", "compress"
1574
+ - `key` (string): Memory key with hierarchical support
1575
+ - `value` (any, for store): Data to store with automatic serialization
1576
+ - `namespace` (string, optional): Memory namespace for isolation
1577
+ - `replication_factor` (number, optional): Number of replicas across nodes
1578
+ - `consistency_level` (string, optional): Consistency level - "eventual", "strong", "bounded"
1579
+
1580
+ **Usage Example**:
1581
+ ```json
1582
+ {
1583
+ "action": "store",
1584
+ "key": "distributed/project_state",
1585
+ "value": {"phase": "implementation", "completion": 0.75},
1586
+ "namespace": "project-alpha",
1587
+ "replication_factor": 3,
1588
+ "consistency_level": "strong"
1589
+ }
1590
+ ```
1591
+
1592
+ #### `mcp__ruv-swarm__swarm_monitor`
1593
+ **Function**: Real-time monitoring of distributed swarm operations
1594
+ **Parameters**:
1595
+ - `monitoring_mode` (string): Mode - "realtime", "batch", "event_driven"
1596
+ - `metrics` (array): Metrics to monitor - "performance", "health", "communication", "resource_usage"
1597
+ - `alert_thresholds` (object): Alert threshold configuration
1598
+ - `dashboard_update` (boolean): Update monitoring dashboard
1599
+
1600
+ **Usage Example**:
1601
+ ```json
1602
+ {
1603
+ "monitoring_mode": "realtime",
1604
+ "metrics": ["performance", "health", "communication"],
1605
+ "alert_thresholds": {"cpu_usage": 80, "memory_usage": 75},
1606
+ "dashboard_update": true
1607
+ }
1608
+ ```
1609
+
1610
+ #### `mcp__ruv-swarm__task_orchestrate`
1611
+ **Function**: Advanced task orchestration with intelligent agent assignment
1612
+ **Parameters**:
1613
+ - `orchestration_strategy` (string): Strategy - "capability_based", "load_balanced", "priority_weighted", "ml_optimized"
1614
+ - `task_graph` (object): Task dependency graph
1615
+ - `resource_constraints` (object): Resource allocation constraints
1616
+ - `optimization_goals` (array): Goals - "speed", "quality", "cost", "energy_efficiency"
1617
+
1618
+ **Usage Example**:
1619
+ ```json
1620
+ {
1621
+ "orchestration_strategy": "ml_optimized",
1622
+ "task_graph": {
1623
+ "nodes": ["research", "design", "implement", "test"],
1624
+ "edges": [["research", "design"], ["design", "implement"], ["implement", "test"]]
1625
+ },
1626
+ "resource_constraints": {"max_parallel_tasks": 5, "memory_limit": "16GB"},
1627
+ "optimization_goals": ["speed", "quality"]
1628
+ }
1629
+ ```
1630
+
1631
+ #### `mcp__ruv-swarm__neural_train`
1632
+ **Function**: Distributed neural network training across swarm nodes
1633
+ **Parameters**:
1634
+ - `training_mode` (string): Mode - "federated", "distributed", "ensemble", "transfer"
1635
+ - `model_architecture` (object): Neural network architecture definition
1636
+ - `training_data` (string): Training data source or identifier
1637
+ - `hyperparameters` (object): Training hyperparameters
1638
+ - `convergence_criteria` (object): Training stop conditions
1639
+
1640
+ **Usage Example**:
1641
+ ```json
1642
+ {
1643
+ "training_mode": "federated",
1644
+ "model_architecture": {"type": "transformer", "layers": 12, "hidden_size": 768},
1645
+ "training_data": "swarm_collaboration_logs",
1646
+ "hyperparameters": {"learning_rate": 0.001, "batch_size": 32},
1647
+ "convergence_criteria": {"min_accuracy": 0.95, "max_epochs": 100}
1648
+ }
1649
+ ```
1650
+
1651
+ #### `mcp__ruv-swarm__consensus_vote`
1652
+ **Function**: Implement distributed consensus voting mechanisms
1653
+ **Parameters**:
1654
+ - `vote_type` (string): Vote type - "simple_majority", "weighted", "byzantine_tolerant", "proof_of_stake"
1655
+ - `proposal` (object): Proposal details and options
1656
+ - `voting_power` (object, optional): Voting weight distribution
1657
+ - `quorum_threshold` (number): Minimum participation for valid vote
1658
+ - `timeout_duration` (number): Vote timeout in seconds
1659
+
1660
+ **Usage Example**:
1661
+ ```json
1662
+ {
1663
+ "vote_type": "weighted",
1664
+ "proposal": {
1665
+ "id": "architecture_decision_001",
1666
+ "description": "Choose database architecture",
1667
+ "options": ["PostgreSQL", "MongoDB", "Hybrid"]
1668
+ },
1669
+ "voting_power": {"senior_agents": 2.0, "junior_agents": 1.0},
1670
+ "quorum_threshold": 0.67,
1671
+ "timeout_duration": 300
1672
+ }
1673
+ ```
1674
+
1675
+ #### `mcp__ruv-swarm__agent_spawn`
1676
+ **Function**: Spawn intelligent agents with adaptive capabilities
1677
+ **Parameters**:
1678
+ - `agent_template` (string): Agent template or type
1679
+ - `specialization` (array): Agent specializations and skills
1680
+ - `autonomy_level` (string): Autonomy level - "supervised", "semi_autonomous", "fully_autonomous"
1681
+ - `learning_enabled` (boolean): Enable continuous learning
1682
+ - `collaboration_preferences` (object): Collaboration settings
1683
+
1684
+ **Usage Example**:
1685
+ ```json
1686
+ {
1687
+ "agent_template": "adaptive_researcher",
1688
+ "specialization": ["data_analysis", "pattern_recognition", "report_generation"],
1689
+ "autonomy_level": "semi_autonomous",
1690
+ "learning_enabled": true,
1691
+ "collaboration_preferences": {"preferred_team_size": 3, "communication_style": "structured"}
1692
+ }
1693
+ ```
1694
+
1695
+ #### `mcp__ruv-swarm__swarm_status`
1696
+ **Function**: Comprehensive swarm status with predictive analytics
1697
+ **Parameters**:
1698
+ - `status_depth` (string): Status depth - "overview", "detailed", "comprehensive", "predictive"
1699
+ - `include_predictions` (boolean): Include future state predictions
1700
+ - `health_assessment` (boolean): Perform health assessment
1701
+ - `performance_analysis` (boolean): Include performance analysis
1702
+ - `export_format` (string, optional): Export format - "json", "dashboard", "report"
1703
+
1704
+ **Usage Example**:
1705
+ ```json
1706
+ {
1707
+ "status_depth": "comprehensive",
1708
+ "include_predictions": true,
1709
+ "health_assessment": true,
1710
+ "performance_analysis": true,
1711
+ "export_format": "dashboard"
1712
+ }
1713
+ ```
1714
+
1715
+ #### `mcp__ruv-swarm__collective_intelligence`
1716
+ **Function**: Harness collective intelligence for problem solving
1717
+ **Parameters**:
1718
+ - `intelligence_mode` (string): Mode - "aggregated", "emergent", "collective_reasoning", "wisdom_of_crowds"
1719
+ - `problem_context` (object): Problem definition and context
1720
+ - `participation_criteria` (object): Agent participation requirements
1721
+ - `synthesis_method` (string): Method for combining insights
1722
+ - `confidence_weighting` (boolean): Weight contributions by confidence
1723
+
1724
+ **Usage Example**:
1725
+ ```json
1726
+ {
1727
+ "intelligence_mode": "collective_reasoning",
1728
+ "problem_context": {
1729
+ "domain": "software_architecture",
1730
+ "complexity": "high",
1731
+ "constraints": ["scalability", "maintainability", "cost"]
1732
+ },
1733
+ "participation_criteria": {"min_experience": "intermediate", "domain_expertise": true},
1734
+ "synthesis_method": "weighted_consensus",
1735
+ "confidence_weighting": true
1736
+ }
1737
+ ```
1738
+
1739
+ ### Advanced Coordination (7 tools)
1740
+
1741
+ #### `mcp__ruv-swarm__dynamic_topology`
1742
+ **Function**: Dynamically adapt swarm topology based on performance
1743
+ **Parameters**:
1744
+ - `adaptation_trigger` (string): Trigger - "performance_threshold", "workload_change", "failure_detection", "optimization_cycle"
1745
+ - `topology_options` (array): Available topology configurations
1746
+ - `transition_strategy` (string): Transition strategy - "gradual", "immediate", "rolling"
1747
+ - `performance_metrics` (object): Metrics to optimize for
1748
+
1749
+ **Usage Example**:
1750
+ ```json
1751
+ {
1752
+ "adaptation_trigger": "performance_threshold",
1753
+ "topology_options": ["hierarchical", "mesh", "star", "hybrid"],
1754
+ "transition_strategy": "gradual",
1755
+ "performance_metrics": {"latency": 100, "throughput": 1000, "error_rate": 0.01}
1756
+ }
1757
+ ```
1758
+
1759
+ #### `mcp__ruv-swarm__resource_federation`
1760
+ **Function**: Federate resources across multiple swarm instances
1761
+ **Parameters**:
1762
+ - `federation_policy` (string): Policy - "fair_share", "priority_based", "market_based", "need_based"
1763
+ - `resource_types` (array): Resources to federate - "compute", "memory", "storage", "bandwidth"
1764
+ - `sharing_constraints` (object): Constraints on resource sharing
1765
+ - `billing_model` (string, optional): Billing model for resource usage
1766
+
1767
+ **Usage Example**:
1768
+ ```json
1769
+ {
1770
+ "federation_policy": "priority_based",
1771
+ "resource_types": ["compute", "memory"],
1772
+ "sharing_constraints": {"max_share_percentage": 0.7, "reserved_for_local": 0.3},
1773
+ "billing_model": "usage_based"
1774
+ }
1775
+ ```
1776
+
1777
+ #### `mcp__ruv-swarm__load_prediction`
1778
+ **Function**: Predict future load patterns for proactive scaling
1779
+ **Parameters**:
1780
+ - `prediction_horizon` (string): Prediction timeframe - "minutes", "hours", "days", "weeks"
1781
+ - `prediction_model` (string): Model type - "linear", "seasonal", "ml_based", "hybrid"
1782
+ - `historical_data_period` (string): Historical data to use
1783
+ - `confidence_intervals` (boolean): Include prediction confidence intervals
1784
+
1785
+ **Usage Example**:
1786
+ ```json
1787
+ {
1788
+ "prediction_horizon": "hours",
1789
+ "prediction_model": "ml_based",
1790
+ "historical_data_period": "30d",
1791
+ "confidence_intervals": true
1792
+ }
1793
+ ```
1794
+
1795
+ #### `mcp__ruv-swarm__fault_recovery`
1796
+ **Function**: Implement advanced fault detection and recovery
1797
+ **Parameters**:
1798
+ - `recovery_strategy` (string): Strategy - "restart", "migrate", "replicate", "degrade_gracefully", "self_heal"
1799
+ - `fault_detection_sensitivity` (string): Sensitivity - "low", "medium", "high", "adaptive"
1800
+ - `recovery_timeout` (number): Maximum time for recovery attempts
1801
+ - `cascade_prevention` (boolean): Prevent cascade failures
1802
+
1803
+ **Usage Example**:
1804
+ ```json
1805
+ {
1806
+ "recovery_strategy": "self_heal",
1807
+ "fault_detection_sensitivity": "adaptive",
1808
+ "recovery_timeout": 120,
1809
+ "cascade_prevention": true
1810
+ }
1811
+ ```
1812
+
1813
+ #### `mcp__ruv-swarm__communication_optimize`
1814
+ **Function**: Optimize communication patterns and protocols
1815
+ **Parameters**:
1816
+ - `optimization_target` (string): Target - "latency", "bandwidth", "reliability", "energy"
1817
+ - `communication_patterns` (array): Current communication patterns
1818
+ - `protocol_adaptation` (boolean): Enable protocol adaptation
1819
+ - `compression_strategies` (array): Available compression methods
1820
+
1821
+ **Usage Example**:
1822
+ ```json
1823
+ {
1824
+ "optimization_target": "latency",
1825
+ "communication_patterns": ["broadcast", "peer_to_peer", "hierarchical"],
1826
+ "protocol_adaptation": true,
1827
+ "compression_strategies": ["gzip", "lz4", "adaptive"]
1828
+ }
1829
+ ```
1830
+
1831
+ #### `mcp__ruv-swarm__knowledge_synthesis`
1832
+ **Function**: Synthesize knowledge from distributed agents
1833
+ **Parameters**:
1834
+ - `synthesis_method` (string): Method - "weighted_average", "expert_consensus", "evidence_based", "emergent_patterns"
1835
+ - `knowledge_domains` (array): Domains to synthesize knowledge from
1836
+ - `conflict_resolution` (string): Method for resolving conflicting information
1837
+ - `quality_filtering` (object): Quality filters for knowledge sources
1838
+
1839
+ **Usage Example**:
1840
+ ```json
1841
+ {
1842
+ "synthesis_method": "evidence_based",
1843
+ "knowledge_domains": ["technical_specifications", "user_requirements", "best_practices"],
1844
+ "conflict_resolution": "weighted_voting",
1845
+ "quality_filtering": {"min_confidence": 0.8, "source_credibility": "high"}
1846
+ }
1847
+ ```
1848
+
1849
+ #### `mcp__ruv-swarm__adaptive_learning`
1850
+ **Function**: Enable adaptive learning across the swarm
1851
+ **Parameters**:
1852
+ - `learning_mode` (string): Mode - "continuous", "episodic", "reinforcement", "meta_learning"
1853
+ - `knowledge_sharing` (boolean): Enable knowledge sharing between agents
1854
+ - `learning_objectives` (array): Specific learning objectives
1855
+ - `adaptation_rate` (string): Rate of adaptation - "slow", "medium", "fast", "adaptive"
1856
+
1857
+ **Usage Example**:
1858
+ ```json
1859
+ {
1860
+ "learning_mode": "continuous",
1861
+ "knowledge_sharing": true,
1862
+ "learning_objectives": ["task_efficiency", "collaboration_patterns", "error_reduction"],
1863
+ "adaptation_rate": "adaptive"
1864
+ }
1865
+ ```
1866
+
1867
+ ### Analytics & Intelligence (5 tools)
1868
+
1869
+ #### `mcp__ruv-swarm__behavioral_analysis`
1870
+ **Function**: Analyze agent and swarm behavioral patterns
1871
+ **Parameters**:
1872
+ - `analysis_scope` (string): Scope - "individual_agents", "agent_groups", "entire_swarm", "cross_swarm"
1873
+ - `behavioral_dimensions` (array): Dimensions to analyze
1874
+ - `pattern_detection` (boolean): Detect behavioral patterns
1875
+ - `anomaly_detection` (boolean): Detect anomalous behaviors
1876
+
1877
+ **Usage Example**:
1878
+ ```json
1879
+ {
1880
+ "analysis_scope": "entire_swarm",
1881
+ "behavioral_dimensions": ["communication_frequency", "task_selection", "collaboration_preferences"],
1882
+ "pattern_detection": true,
1883
+ "anomaly_detection": true
1884
+ }
1885
+ ```
1886
+
1887
+ #### `mcp__ruv-swarm__performance_prediction`
1888
+ **Function**: Predict swarm performance under different conditions
1889
+ **Parameters**:
1890
+ - `prediction_scenarios` (array): Scenarios to predict performance for
1891
+ - `performance_metrics` (array): Metrics to predict
1892
+ - `model_complexity` (string): Prediction model complexity
1893
+ - `uncertainty_quantification` (boolean): Include uncertainty estimates
1894
+
1895
+ **Usage Example**:
1896
+ ```json
1897
+ {
1898
+ "prediction_scenarios": [
1899
+ {"agent_count": 10, "task_complexity": "high", "load": "peak"},
1900
+ {"agent_count": 15, "task_complexity": "medium", "load": "normal"}
1901
+ ],
1902
+ "performance_metrics": ["throughput", "latency", "success_rate"],
1903
+ "model_complexity": "advanced",
1904
+ "uncertainty_quantification": true
1905
+ }
1906
+ ```
1907
+
1908
+ #### `mcp__ruv-swarm__sentiment_analysis`
1909
+ **Function**: Analyze sentiment and morale within swarm communications
1910
+ **Parameters**:
1911
+ - `analysis_timeframe` (string): Timeframe for sentiment analysis
1912
+ - `communication_channels` (array): Channels to analyze
1913
+ - `sentiment_dimensions` (array): Dimensions of sentiment to track
1914
+ - `trend_analysis` (boolean): Include sentiment trend analysis
1915
+
1916
+ **Usage Example**:
1917
+ ```json
1918
+ {
1919
+ "analysis_timeframe": "7d",
1920
+ "communication_channels": ["task_coordination", "peer_feedback", "status_updates"],
1921
+ "sentiment_dimensions": ["confidence", "satisfaction", "stress", "collaboration_quality"],
1922
+ "trend_analysis": true
1923
+ }
1924
+ ```
1925
+
1926
+ #### `mcp__ruv-swarm__insight_generation`
1927
+ **Function**: Generate insights from swarm data and interactions
1928
+ **Parameters**:
1929
+ - `insight_categories` (array): Categories of insights to generate
1930
+ - `data_sources` (array): Data sources to analyze
1931
+ - `insight_depth` (string): Depth of analysis
1932
+ - `actionable_recommendations` (boolean): Include actionable recommendations
1933
+
1934
+ **Usage Example**:
1935
+ ```json
1936
+ {
1937
+ "insight_categories": ["efficiency_improvements", "collaboration_optimization", "resource_utilization"],
1938
+ "data_sources": ["task_logs", "communication_history", "performance_metrics"],
1939
+ "insight_depth": "comprehensive",
1940
+ "actionable_recommendations": true
1941
+ }
1942
+ ```
1943
+
1944
+ #### `mcp__ruv-swarm__predictive_maintenance`
1945
+ **Function**: Predict and prevent swarm system issues
1946
+ **Parameters**:
1947
+ - `prediction_horizon` (string): How far ahead to predict
1948
+ - `maintenance_categories` (array): Categories of maintenance to predict
1949
+ - `alert_thresholds` (object): Thresholds for maintenance alerts
1950
+ - `automated_actions` (boolean): Enable automated preventive actions
1951
+
1952
+ **Usage Example**:
1953
+ ```json
1954
+ {
1955
+ "prediction_horizon": "weeks",
1956
+ "maintenance_categories": ["agent_performance_degradation", "resource_exhaustion", "communication_bottlenecks"],
1957
+ "alert_thresholds": {"degradation_rate": 0.1, "resource_usage": 0.9},
1958
+ "automated_actions": true
1959
+ }
1960
+ ```
1961
+
1962
+ ### Specialized Operations (5 tools)
1963
+
1964
+ #### `mcp__ruv-swarm__quantum_simulate`
1965
+ **Function**: Simulate quantum computing algorithms for optimization problems
1966
+ **Parameters**:
1967
+ - `algorithm_type` (string): Quantum algorithm - "vqe", "qaoa", "grover", "shor", "custom"
1968
+ - `problem_encoding` (object): Problem encoding for quantum simulation
1969
+ - `qubit_count` (number): Number of qubits to simulate
1970
+ - `noise_model` (string, optional): Quantum noise model to apply
1971
+
1972
+ **Usage Example**:
1973
+ ```json
1974
+ {
1975
+ "algorithm_type": "qaoa",
1976
+ "problem_encoding": {"type": "max_cut", "graph_nodes": 10},
1977
+ "qubit_count": 16,
1978
+ "noise_model": "depolarizing"
1979
+ }
1980
+ ```
1981
+
1982
+ #### `mcp__ruv-swarm__blockchain_consensus`
1983
+ **Function**: Implement blockchain-based consensus for critical decisions
1984
+ **Parameters**:
1985
+ - `consensus_mechanism` (string): Mechanism - "proof_of_work", "proof_of_stake", "delegated_pos", "practical_byzantine"
1986
+ - `block_parameters` (object): Blockchain block parameters
1987
+ - `validator_selection` (string): How to select validators
1988
+ - `finality_requirements` (object): Requirements for transaction finality
1989
+
1990
+ **Usage Example**:
1991
+ ```json
1992
+ {
1993
+ "consensus_mechanism": "proof_of_stake",
1994
+ "block_parameters": {"block_time": 30, "max_transactions": 100},
1995
+ "validator_selection": "stake_weighted",
1996
+ "finality_requirements": {"confirmations": 6, "time_threshold": 180}
1997
+ }
1998
+ ```
1999
+
2000
+ #### `mcp__ruv-swarm__evolutionary_optimize`
2001
+ **Function**: Use evolutionary algorithms for swarm optimization
2002
+ **Parameters**:
2003
+ - `optimization_target` (string): What to optimize
2004
+ - `population_size` (number): Size of population for evolution
2005
+ - `mutation_rate` (number): Mutation rate for genetic algorithm
2006
+ - `selection_pressure` (string): Selection pressure level
2007
+ - `termination_criteria` (object): When to stop evolution
2008
+
2009
+ **Usage Example**:
2010
+ ```json
2011
+ {
2012
+ "optimization_target": "task_allocation_strategy",
2013
+ "population_size": 50,
2014
+ "mutation_rate": 0.1,
2015
+ "selection_pressure": "moderate",
2016
+ "termination_criteria": {"max_generations": 100, "convergence_threshold": 0.01}
2017
+ }
2018
+ ```
2019
+
2020
+ #### `mcp__ruv-swarm__swarm_robotics`
2021
+ **Function**: Coordinate physical or virtual robotic swarms
2022
+ **Parameters**:
2023
+ - `coordination_mode` (string): Mode - "centralized", "distributed", "hybrid", "emergent"
2024
+ - `robot_capabilities` (array): Capabilities of individual robots
2025
+ - `formation_control` (object): Formation control parameters
2026
+ - `path_planning` (string): Path planning algorithm
2027
+
2028
+ **Usage Example**:
2029
+ ```json
2030
+ {
2031
+ "coordination_mode": "distributed",
2032
+ "robot_capabilities": ["movement", "sensing", "communication", "manipulation"],
2033
+ "formation_control": {"formation_type": "line", "spacing": 2.0, "flexibility": 0.5},
2034
+ "path_planning": "rrt_star"
2035
+ }
2036
+ ```
2037
+
2038
+ #### `mcp__ruv-swarm__bio_inspired_algorithms`
2039
+ **Function**: Implement bio-inspired algorithms for swarm behavior
2040
+ **Parameters**:
2041
+ - `algorithm_type` (string): Algorithm - "ant_colony", "particle_swarm", "bee_algorithm", "flocking", "stigmergy"
2042
+ - `bio_parameters` (object): Biological parameters for the algorithm
2043
+ - `adaptation_rules` (array): Rules for algorithm adaptation
2044
+ - `emergence_detection` (boolean): Detect emergent behaviors
2045
+
2046
+ **Usage Example**:
2047
+ ```json
2048
+ {
2049
+ "algorithm_type": "ant_colony",
2050
+ "bio_parameters": {"pheromone_evaporation": 0.1, "alpha": 1.0, "beta": 2.0},
2051
+ "adaptation_rules": [
2052
+ {"condition": "stagnation", "action": "increase_exploration"},
2053
+ {"condition": "convergence", "action": "maintain_exploitation"}
2054
+ ],
2055
+ "emergence_detection": true
2056
+ }
2057
+ ```
2058
+
2059
+ ---
2060
+
2061
+ ## Usage Patterns and Best Practices
2062
+
2063
+ ### Batch Operations
2064
+
2065
+ Many claude-flow tools support batch operations for efficiency:
2066
+
2067
+ ```json
2068
+ {
2069
+ "tool": "mcp__claude-flow__parallel_execute",
2070
+ "params": {
2071
+ "operations": [
2072
+ {"tool": "memory_usage", "params": {"action": "retrieve", "key": "project_status"}},
2073
+ {"tool": "agent_metrics", "params": {"timeframe": "1h"}},
2074
+ {"tool": "performance_report", "params": {"format": "summary"}}
2075
+ ],
2076
+ "max_concurrency": 3
2077
+ }
2078
+ }
2079
+ ```
2080
+
2081
+ ### Error Handling
2082
+
2083
+ All tools provide structured error responses:
2084
+
2085
+ ```json
2086
+ {
2087
+ "success": false,
2088
+ "error": {
2089
+ "code": "RESOURCE_NOT_FOUND",
2090
+ "message": "Swarm with ID 'project-alpha' not found",
2091
+ "details": {"swarmId": "project-alpha", "available_swarms": ["project-beta"]}
2092
+ }
2093
+ }
2094
+ ```
2095
+
2096
+ ### Tool Chaining
2097
+
2098
+ Tools can be chained for complex workflows:
2099
+
2100
+ ```json
2101
+ [
2102
+ {"tool": "mcp__claude-flow__swarm_init", "params": {"topology": "hierarchical"}},
2103
+ {"tool": "mcp__claude-flow__agent_spawn", "params": {"type": "coordinator"}},
2104
+ {"tool": "mcp__ruv-swarm__neural_train", "params": {"pattern_type": "coordination"}}
2105
+ ]
2106
+ ```
2107
+
2108
+ ### Performance Optimization
2109
+
2110
+ - Use `mcp__claude-flow__parallel_execute` for concurrent operations
2111
+ - Leverage caching with memory tools for frequently accessed data
2112
+ - Monitor performance with analytics tools
2113
+ - Use predictive tools to anticipate resource needs
2114
+
2115
+ ### Security Considerations
2116
+
2117
+ - All tools support namespace isolation for multi-tenant environments
2118
+ - Sensitive data is automatically encrypted in memory storage
2119
+ - Access control is enforced at the MCP protocol level
2120
+ - Audit trails are maintained for all tool executions
2121
+
2122
+ ---
2123
+
2124
+ ## Integration Examples
2125
+
2126
+ ### Full-Stack Development Swarm
2127
+
2128
+ ```json
2129
+ {
2130
+ "workflow": [
2131
+ {
2132
+ "tool": "mcp__claude-flow__swarm_init",
2133
+ "params": {"topology": "hierarchical", "maxAgents": 8}
2134
+ },
2135
+ {
2136
+ "tool": "mcp__claude-flow__agent_spawn",
2137
+ "params": {"type": "architect", "specialization": ["system_design"]}
2138
+ },
2139
+ {
2140
+ "tool": "mcp__claude-flow__agent_spawn",
2141
+ "params": {"type": "coder", "specialization": ["backend"]}
2142
+ },
2143
+ {
2144
+ "tool": "mcp__claude-flow__agent_spawn",
2145
+ "params": {"type": "coder", "specialization": ["frontend"]}
2146
+ },
2147
+ {
2148
+ "tool": "mcp__claude-flow__task_orchestrate",
2149
+ "params": {"task": "Build e-commerce platform", "strategy": "parallel"}
2150
+ }
2151
+ ]
2152
+ }
2153
+ ```
2154
+
2155
+ ### AI Research Collaboration
2156
+
2157
+ ```json
2158
+ {
2159
+ "workflow": [
2160
+ {
2161
+ "tool": "mcp__ruv-swarm__collective_intelligence",
2162
+ "params": {"intelligence_mode": "collective_reasoning", "problem_context": {"domain": "machine_learning"}}
2163
+ },
2164
+ {
2165
+ "tool": "mcp__ruv-swarm__neural_train",
2166
+ "params": {"training_mode": "federated", "model_architecture": {"type": "transformer"}}
2167
+ },
2168
+ {
2169
+ "tool": "mcp__claude-flow__performance_report",
2170
+ "params": {"timeframe": "24h", "include_predictions": true}
2171
+ }
2172
+ ]
2173
+ }
2174
+ ```
2175
+
2176
+ ## Getting Started
2177
+
2178
+ 1. **Install MCP Tools**: Follow the installation guide in the main documentation
2179
+ 2. **Configure Permissions**: Set up appropriate permissions in your Claude configuration
2180
+ 3. **Start with Basic Tools**: Begin with simple tools like `swarm_status` and `memory_usage`
2181
+ 4. **Build Workflows**: Combine tools into automated workflows
2182
+ 5. **Monitor and Optimize**: Use analytics tools to optimize performance
2183
+
2184
+ For detailed setup instructions, see the [Integration Guide](integration/README.md).
2185
+
2186
+ ---
2187
+
2188
+ *This documentation is automatically generated and updated. Last updated: 2024-08-13*