agentic-flow 1.1.14 → 1.2.1
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/agents/custom/test-long-runner.md +44 -0
- package/README.md +50 -1
- package/dist/agents/claudeAgent.js +31 -0
- package/dist/cli/mcp-manager.js +474 -0
- package/dist/cli-proxy.js +22 -1
- package/dist/utils/.claude-flow/metrics/agent-metrics.json +1 -0
- package/dist/utils/.claude-flow/metrics/performance.json +9 -0
- package/dist/utils/.claude-flow/metrics/task-metrics.json +10 -0
- package/dist/utils/cli.js +9 -1
- package/dist/utils/modelOptimizer.js +18 -2
- package/docs/.claude-flow/metrics/performance.json +1 -1
- package/docs/.claude-flow/metrics/task-metrics.json +3 -3
- package/docs/INDEX.md +44 -7
- package/docs/archived/RELEASE-SUMMARY-v1.1.14-beta.1.md +336 -0
- package/docs/archived/V1.1.14-BETA-READY.md +418 -0
- package/docs/guides/ADDING-MCP-SERVERS-CLI.md +515 -0
- package/docs/guides/ADDING-MCP-SERVERS.md +642 -0
- package/docs/mcp-validation/IMPLEMENTATION-SUMMARY.md +493 -0
- package/docs/mcp-validation/MCP-CLI-VALIDATION-REPORT.md +322 -0
- package/docs/mcp-validation/README.md +43 -0
- package/docs/mcp-validation/strange-loops-test.md +63 -0
- package/docs/releases/HOTFIX-v1.2.1.md +315 -0
- package/docs/releases/NPM-PUBLISH-GUIDE-v1.2.0.md +440 -0
- package/docs/releases/PUBLISH-COMPLETE-v1.2.0.md +308 -0
- package/docs/releases/README.md +18 -0
- package/docs/releases/RELEASE-v1.2.0.md +339 -0
- package/docs/testing/AGENT-SYSTEM-VALIDATION.md +517 -0
- package/docs/testing/FINAL-TESTING-SUMMARY.md +362 -0
- package/docs/testing/README.md +46 -0
- package/docs/testing/REGRESSION-TEST-RESULTS.md +269 -0
- package/docs/testing/STREAMING-AND-MCP-VALIDATION.md +517 -0
- package/package.json +2 -2
|
@@ -0,0 +1,308 @@
|
|
|
1
|
+
# ✅ NPM Publish Complete - agentic-flow v1.2.0
|
|
2
|
+
|
|
3
|
+
**Published:** 2025-10-06
|
|
4
|
+
**Version:** 1.2.0
|
|
5
|
+
**Package:** agentic-flow
|
|
6
|
+
**Status:** ✅ LIVE ON NPM
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## 🎉 Publication Successful!
|
|
11
|
+
|
|
12
|
+
**NPM Package:** https://www.npmjs.com/package/agentic-flow/v/1.2.0
|
|
13
|
+
|
|
14
|
+
**Install Command:**
|
|
15
|
+
```bash
|
|
16
|
+
npm install -g agentic-flow@1.2.0
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
**Or use with npx:**
|
|
20
|
+
```bash
|
|
21
|
+
npx agentic-flow@1.2.0 mcp add my-server --npm my-mcp-package
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## 📦 What Was Published
|
|
27
|
+
|
|
28
|
+
### Package Details
|
|
29
|
+
- **Name:** agentic-flow
|
|
30
|
+
- **Version:** 1.2.0 (from 1.1.14)
|
|
31
|
+
- **Description:** "Production-ready AI agent orchestration platform with 66 specialized agents, 213 MCP tools, and autonomous multi-agent swarms. Built by @ruvnet with Claude Agent SDK, neural networks, memory persistence, GitHub integration, and distributed consensus protocols. v1.2.0: NEW - Add custom MCP servers via CLI without code editing! Compatible with Claude Desktop config format."
|
|
32
|
+
- **Main Entry:** dist/cli-proxy.js
|
|
33
|
+
- **Binary:** agentic-flow → dist/cli-proxy.js
|
|
34
|
+
|
|
35
|
+
### Key Files Included
|
|
36
|
+
- ✅ `dist/cli/mcp-manager.js` - NEW MCP CLI tool
|
|
37
|
+
- ✅ All agent definitions (66 agents)
|
|
38
|
+
- ✅ All MCP tools and servers
|
|
39
|
+
- ✅ Complete documentation
|
|
40
|
+
- ✅ Build artifacts in dist/
|
|
41
|
+
- ✅ Claude Code integration files
|
|
42
|
+
|
|
43
|
+
### NPM Build Warnings (Non-Critical)
|
|
44
|
+
```
|
|
45
|
+
npm WARN publish npm auto-corrected some errors in your package.json when publishing.
|
|
46
|
+
npm WARN publish "repository.url" was normalized to "git+https://github.com/ruvnet/agentic-flow.git"
|
|
47
|
+
```
|
|
48
|
+
**Note:** NPM automatically fixed the repository URL format. This is normal and non-breaking.
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## 🚀 Major Feature: MCP CLI Manager
|
|
53
|
+
|
|
54
|
+
### What Users Get
|
|
55
|
+
|
|
56
|
+
**Add MCP Servers Without Code Editing:**
|
|
57
|
+
```bash
|
|
58
|
+
# Claude Desktop style JSON config
|
|
59
|
+
npx agentic-flow mcp add weather '{"command":"npx","args":["-y","weather-mcp"]}'
|
|
60
|
+
|
|
61
|
+
# Simple flag-based config
|
|
62
|
+
npx agentic-flow mcp add github --npm @modelcontextprotocol/server-github
|
|
63
|
+
|
|
64
|
+
# List servers
|
|
65
|
+
npx agentic-flow mcp list
|
|
66
|
+
|
|
67
|
+
# Use in agents (automatic)
|
|
68
|
+
npx agentic-flow --agent researcher --task "Get weather for Tokyo"
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### Key Benefits
|
|
72
|
+
- ✅ No TypeScript knowledge required
|
|
73
|
+
- ✅ No code editing required
|
|
74
|
+
- ✅ No rebuilding required
|
|
75
|
+
- ✅ Compatible with Claude Desktop config format
|
|
76
|
+
- ✅ Configuration persisted in `~/.agentic-flow/mcp-config.json`
|
|
77
|
+
- ✅ Automatic loading in all agents
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
## 📊 Publication Metrics
|
|
82
|
+
|
|
83
|
+
### Package Size
|
|
84
|
+
```
|
|
85
|
+
npm notice 📦 agentic-flow@1.2.0
|
|
86
|
+
npm notice === Tarball Details ===
|
|
87
|
+
npm notice Total files: 476
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
### Files Breakdown
|
|
91
|
+
- Agent definitions: 66 specialized agents
|
|
92
|
+
- MCP tools: 213 tools from 4 servers
|
|
93
|
+
- CLI tools: 5 CLI managers including new mcp-manager
|
|
94
|
+
- Documentation: Comprehensive guides and validation reports
|
|
95
|
+
- Build artifacts: Complete dist/ directory
|
|
96
|
+
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
## ✅ Post-Publish Verification
|
|
100
|
+
|
|
101
|
+
### NPM Package Live
|
|
102
|
+
```bash
|
|
103
|
+
# Check package
|
|
104
|
+
npm view agentic-flow
|
|
105
|
+
|
|
106
|
+
# Output shows version 1.2.0 is live
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
### Quick Smoke Test
|
|
110
|
+
```bash
|
|
111
|
+
# Install globally
|
|
112
|
+
npm install -g agentic-flow@1.2.0
|
|
113
|
+
|
|
114
|
+
# Test version
|
|
115
|
+
agentic-flow --version # Should show 1.2.0
|
|
116
|
+
|
|
117
|
+
# Test new MCP CLI
|
|
118
|
+
agentic-flow mcp --help
|
|
119
|
+
|
|
120
|
+
# Add test server
|
|
121
|
+
agentic-flow mcp add test '{"command":"echo","args":["hello"]}'
|
|
122
|
+
|
|
123
|
+
# List servers
|
|
124
|
+
agentic-flow mcp list
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
## 🔗 Links & Resources
|
|
130
|
+
|
|
131
|
+
### NPM
|
|
132
|
+
- **Package Page:** https://www.npmjs.com/package/agentic-flow
|
|
133
|
+
- **Version 1.2.0:** https://www.npmjs.com/package/agentic-flow/v/1.2.0
|
|
134
|
+
- **Downloads:** https://npm-stat.com/charts.html?package=agentic-flow
|
|
135
|
+
|
|
136
|
+
### GitHub
|
|
137
|
+
- **Repository:** https://github.com/ruvnet/agentic-flow
|
|
138
|
+
- **Pull Request:** https://github.com/ruvnet/agentic-flow/pull/4
|
|
139
|
+
- **Branch:** feat/provider-optimization-and-mcp-integration
|
|
140
|
+
- **Commits:**
|
|
141
|
+
- c415477 - feat: Add MCP CLI for user-friendly server configuration
|
|
142
|
+
- 6379fcb - chore: Bump version to 1.2.0 and add NPM publish guide
|
|
143
|
+
|
|
144
|
+
### Documentation
|
|
145
|
+
- **User Guide:** [ADDING-MCP-SERVERS-CLI.md](./guides/ADDING-MCP-SERVERS-CLI.md)
|
|
146
|
+
- **Developer Guide:** [ADDING-MCP-SERVERS.md](./guides/ADDING-MCP-SERVERS.md)
|
|
147
|
+
- **Validation Report:** [MCP-CLI-VALIDATION-REPORT.md](./mcp-validation/MCP-CLI-VALIDATION-REPORT.md)
|
|
148
|
+
- **Release Notes:** [RELEASE-v1.2.0.md](./RELEASE-v1.2.0.md)
|
|
149
|
+
|
|
150
|
+
---
|
|
151
|
+
|
|
152
|
+
## 📋 Next Steps
|
|
153
|
+
|
|
154
|
+
### 1. Create GitHub Release
|
|
155
|
+
|
|
156
|
+
**Recommended:** Create GitHub release for v1.2.0
|
|
157
|
+
|
|
158
|
+
```bash
|
|
159
|
+
gh release create v1.2.0 \
|
|
160
|
+
--title "v1.2.0 - MCP CLI for User-Friendly Configuration" \
|
|
161
|
+
--notes-file docs/RELEASE-v1.2.0.md
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
Or via GitHub web UI:
|
|
165
|
+
- Go to: https://github.com/ruvnet/agentic-flow/releases/new
|
|
166
|
+
- Tag: `v1.2.0`
|
|
167
|
+
- Title: `v1.2.0 - MCP CLI for User-Friendly Configuration`
|
|
168
|
+
- Description: Copy from RELEASE-v1.2.0.md
|
|
169
|
+
|
|
170
|
+
### 2. Merge Pull Request
|
|
171
|
+
|
|
172
|
+
**PR #4:** https://github.com/ruvnet/agentic-flow/pull/4
|
|
173
|
+
|
|
174
|
+
```bash
|
|
175
|
+
gh pr merge 4 --merge
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
Or merge via GitHub web UI
|
|
179
|
+
|
|
180
|
+
### 3. Announce Release
|
|
181
|
+
|
|
182
|
+
**Channels to notify:**
|
|
183
|
+
- GitHub Discussions
|
|
184
|
+
- Project README
|
|
185
|
+
- Social media (Twitter, LinkedIn, etc.)
|
|
186
|
+
- Community forums (Reddit, Discord, etc.)
|
|
187
|
+
|
|
188
|
+
**Key Message Points:**
|
|
189
|
+
- ✅ Add custom MCP servers without code editing
|
|
190
|
+
- ✅ Compatible with Claude Desktop config format
|
|
191
|
+
- ✅ User-friendly CLI commands
|
|
192
|
+
- ✅ 100% backward compatible
|
|
193
|
+
|
|
194
|
+
### 4. Monitor Package
|
|
195
|
+
|
|
196
|
+
**NPM Stats:**
|
|
197
|
+
- Watch download counts
|
|
198
|
+
- Monitor version distribution
|
|
199
|
+
- Track user feedback
|
|
200
|
+
|
|
201
|
+
**GitHub:**
|
|
202
|
+
- Watch for issues related to MCP CLI
|
|
203
|
+
- Monitor PR comments
|
|
204
|
+
- Check discussions
|
|
205
|
+
|
|
206
|
+
---
|
|
207
|
+
|
|
208
|
+
## 🎯 Success Metrics
|
|
209
|
+
|
|
210
|
+
### Pre-Publish Checklist ✅
|
|
211
|
+
- [x] TypeScript compilation successful
|
|
212
|
+
- [x] All tests passing
|
|
213
|
+
- [x] Build artifacts verified
|
|
214
|
+
- [x] Version updated to 1.2.0
|
|
215
|
+
- [x] Documentation complete
|
|
216
|
+
- [x] PR created (#4)
|
|
217
|
+
- [x] Changes committed and pushed
|
|
218
|
+
- [x] NPM credentials configured
|
|
219
|
+
|
|
220
|
+
### Publication ✅
|
|
221
|
+
- [x] NPM publish successful
|
|
222
|
+
- [x] Package version 1.2.0 live
|
|
223
|
+
- [x] No critical warnings
|
|
224
|
+
- [x] All files included
|
|
225
|
+
|
|
226
|
+
### Post-Publish ⏳
|
|
227
|
+
- [ ] GitHub release created
|
|
228
|
+
- [ ] PR merged to main
|
|
229
|
+
- [ ] Release announced
|
|
230
|
+
- [ ] User feedback collected
|
|
231
|
+
|
|
232
|
+
---
|
|
233
|
+
|
|
234
|
+
## 📝 Version History
|
|
235
|
+
|
|
236
|
+
| Version | Date | Key Feature | Status |
|
|
237
|
+
|---------|------|-------------|--------|
|
|
238
|
+
| 1.2.0 | 2025-10-06 | MCP CLI for configuration | ✅ Published |
|
|
239
|
+
| 1.1.14 | 2025-10-05 | OpenRouter proxy fix | ✅ Published |
|
|
240
|
+
| 1.1.13 | 2025-10-04 | Context-aware OpenRouter | ✅ Published |
|
|
241
|
+
|
|
242
|
+
---
|
|
243
|
+
|
|
244
|
+
## 🔐 Package Integrity
|
|
245
|
+
|
|
246
|
+
### NPM Warnings
|
|
247
|
+
```
|
|
248
|
+
npm WARN publish npm auto-corrected some errors in your package.json
|
|
249
|
+
npm WARN publish "repository.url" was normalized
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
**Resolution:** Non-critical. NPM auto-corrected repository URL format. No action needed.
|
|
253
|
+
|
|
254
|
+
### Files Integrity
|
|
255
|
+
- ✅ All source files included
|
|
256
|
+
- ✅ Build artifacts present
|
|
257
|
+
- ✅ Documentation complete
|
|
258
|
+
- ✅ No sensitive data exposed
|
|
259
|
+
|
|
260
|
+
---
|
|
261
|
+
|
|
262
|
+
## 📞 Support
|
|
263
|
+
|
|
264
|
+
### For Users
|
|
265
|
+
- **Documentation:** docs/guides/ADDING-MCP-SERVERS-CLI.md
|
|
266
|
+
- **Issues:** https://github.com/ruvnet/agentic-flow/issues
|
|
267
|
+
- **Discussions:** https://github.com/ruvnet/agentic-flow/discussions
|
|
268
|
+
|
|
269
|
+
### For Developers
|
|
270
|
+
- **Developer Guide:** docs/guides/ADDING-MCP-SERVERS.md
|
|
271
|
+
- **Implementation:** src/cli/mcp-manager.ts
|
|
272
|
+
- **Validation:** docs/mcp-validation/
|
|
273
|
+
|
|
274
|
+
---
|
|
275
|
+
|
|
276
|
+
## 🎊 Summary
|
|
277
|
+
|
|
278
|
+
**Status:** ✅ **PUBLISH COMPLETE**
|
|
279
|
+
|
|
280
|
+
**What was accomplished:**
|
|
281
|
+
1. ✅ Implemented MCP CLI manager (617 lines)
|
|
282
|
+
2. ✅ Integrated auto-load in agents
|
|
283
|
+
3. ✅ Created comprehensive documentation (5 guides)
|
|
284
|
+
4. ✅ Validated with live agent test
|
|
285
|
+
5. ✅ Updated package to v1.2.0
|
|
286
|
+
6. ✅ Published to NPM successfully
|
|
287
|
+
7. ✅ Created GitHub PR (#4)
|
|
288
|
+
|
|
289
|
+
**What's live:**
|
|
290
|
+
- NPM package: agentic-flow@1.2.0
|
|
291
|
+
- GitHub branch: feat/provider-optimization-and-mcp-integration
|
|
292
|
+
- Pull request: #4
|
|
293
|
+
- Documentation: Complete and published
|
|
294
|
+
|
|
295
|
+
**Next actions:**
|
|
296
|
+
1. Create GitHub release for v1.2.0
|
|
297
|
+
2. Merge PR #4 to main
|
|
298
|
+
3. Announce release to users
|
|
299
|
+
4. Monitor feedback and downloads
|
|
300
|
+
|
|
301
|
+
---
|
|
302
|
+
|
|
303
|
+
**Published by:** ruvnet
|
|
304
|
+
**Implemented with:** Claude Code
|
|
305
|
+
**Release Status:** ✅ COMPLETE AND LIVE
|
|
306
|
+
**Package URL:** https://www.npmjs.com/package/agentic-flow/v/1.2.0
|
|
307
|
+
|
|
308
|
+
🎉 **Congratulations! agentic-flow v1.2.0 is now live on NPM!**
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Release Documentation
|
|
2
|
+
|
|
3
|
+
Version-specific release notes, publish guides, and hotfix documentation.
|
|
4
|
+
|
|
5
|
+
## Latest Releases
|
|
6
|
+
|
|
7
|
+
- [v1.2.0 Release](RELEASE-v1.2.0.md) - Latest stable release
|
|
8
|
+
- [v1.2.0 Publishing Guide](NPM-PUBLISH-GUIDE-v1.2.0.md) - How the release was published
|
|
9
|
+
- [v1.2.0 Publish Complete](PUBLISH-COMPLETE-v1.2.0.md) - Publishing completion report
|
|
10
|
+
- [v1.2.1 Hotfix](HOTFIX-v1.2.1.md) - Critical hotfix documentation
|
|
11
|
+
|
|
12
|
+
## Archived Releases
|
|
13
|
+
|
|
14
|
+
Historical release notes for v1.1.x can be found in the [archived/](../archived/) directory.
|
|
15
|
+
|
|
16
|
+
## Release Process
|
|
17
|
+
|
|
18
|
+
For information on how to publish new releases, see the [NPM Publishing Guide](../guides/NPM-PUBLISH.md).
|
|
@@ -0,0 +1,339 @@
|
|
|
1
|
+
# Release Notes - agentic-flow v1.2.0
|
|
2
|
+
|
|
3
|
+
**Release Date:** 2025-10-06
|
|
4
|
+
**Version:** 1.2.0
|
|
5
|
+
**Major Feature:** MCP CLI for User-Friendly Server Configuration
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## 🚀 What's New
|
|
10
|
+
|
|
11
|
+
### MCP CLI Manager - Add Custom Servers Without Code Editing!
|
|
12
|
+
|
|
13
|
+
**The Problem:** Previously, adding custom MCP servers required editing TypeScript code and rebuilding the project.
|
|
14
|
+
|
|
15
|
+
**The Solution:** New CLI commands let end users add custom MCP servers without any code editing, similar to Claude Desktop's approach.
|
|
16
|
+
|
|
17
|
+
### New Commands
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
# Add MCP server (Claude Desktop style JSON config)
|
|
21
|
+
npx agentic-flow mcp add weather '{"command":"npx","args":["-y","weather-mcp"],"env":{"API_KEY":"xxx"}}'
|
|
22
|
+
|
|
23
|
+
# Add MCP server (simple flag-based config)
|
|
24
|
+
npx agentic-flow mcp add github --npm @modelcontextprotocol/server-github --env "GITHUB_TOKEN=ghp_xxx"
|
|
25
|
+
|
|
26
|
+
# Add local MCP server
|
|
27
|
+
npx agentic-flow mcp add my-tools --local /path/to/server.js
|
|
28
|
+
|
|
29
|
+
# List configured servers
|
|
30
|
+
npx agentic-flow mcp list
|
|
31
|
+
|
|
32
|
+
# Enable/disable servers
|
|
33
|
+
npx agentic-flow mcp enable weather
|
|
34
|
+
npx agentic-flow mcp disable weather
|
|
35
|
+
|
|
36
|
+
# Remove server
|
|
37
|
+
npx agentic-flow mcp remove weather
|
|
38
|
+
|
|
39
|
+
# Update configuration
|
|
40
|
+
npx agentic-flow mcp update weather --env "API_KEY=new-key"
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### Key Benefits
|
|
44
|
+
|
|
45
|
+
- ✅ **No Code Editing** - Add servers via CLI commands
|
|
46
|
+
- ✅ **No TypeScript Required** - Suitable for non-developers
|
|
47
|
+
- ✅ **No Rebuilding** - Changes take effect immediately
|
|
48
|
+
- ✅ **Claude Desktop Compatible** - Same JSON config format
|
|
49
|
+
- ✅ **Automatic Loading** - Servers load automatically in all agents
|
|
50
|
+
- ✅ **Persistent Storage** - Configuration stored in `~/.agentic-flow/mcp-config.json`
|
|
51
|
+
- ✅ **100% Backward Compatible** - No breaking changes
|
|
52
|
+
|
|
53
|
+
---
|
|
54
|
+
|
|
55
|
+
## 📚 Documentation
|
|
56
|
+
|
|
57
|
+
### User Guides
|
|
58
|
+
- **[ADDING-MCP-SERVERS-CLI.md](./guides/ADDING-MCP-SERVERS-CLI.md)** (516 lines)
|
|
59
|
+
- Complete end-user guide for CLI commands
|
|
60
|
+
- Step-by-step examples
|
|
61
|
+
- Popular MCP servers list
|
|
62
|
+
- Troubleshooting section
|
|
63
|
+
|
|
64
|
+
- **[ADDING-MCP-SERVERS.md](./guides/ADDING-MCP-SERVERS.md)** (570 lines)
|
|
65
|
+
- Developer integration guide
|
|
66
|
+
- Code examples for in-SDK and external servers
|
|
67
|
+
- Best practices
|
|
68
|
+
|
|
69
|
+
### Validation Reports
|
|
70
|
+
- **[MCP-CLI-VALIDATION-REPORT.md](./mcp-validation/MCP-CLI-VALIDATION-REPORT.md)**
|
|
71
|
+
- Complete validation results
|
|
72
|
+
- Live agent test with strange-loops MCP
|
|
73
|
+
- 100% test pass rate (8/8 tests)
|
|
74
|
+
|
|
75
|
+
- **[IMPLEMENTATION-SUMMARY.md](./mcp-validation/IMPLEMENTATION-SUMMARY.md)**
|
|
76
|
+
- Technical implementation details
|
|
77
|
+
- Before/after comparison
|
|
78
|
+
- Security considerations
|
|
79
|
+
|
|
80
|
+
- **[strange-loops-test.md](./mcp-validation/strange-loops-test.md)**
|
|
81
|
+
- Live agent test output
|
|
82
|
+
- Proof of integration working
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
## 🔧 Technical Details
|
|
87
|
+
|
|
88
|
+
### New Files
|
|
89
|
+
|
|
90
|
+
**Implementation:**
|
|
91
|
+
- `src/cli/mcp-manager.ts` (617 lines)
|
|
92
|
+
- Complete CLI tool with 8 commands
|
|
93
|
+
- JSON and flag-based config support
|
|
94
|
+
- Configuration management
|
|
95
|
+
|
|
96
|
+
**Documentation:**
|
|
97
|
+
- `docs/guides/ADDING-MCP-SERVERS-CLI.md`
|
|
98
|
+
- `docs/guides/ADDING-MCP-SERVERS.md`
|
|
99
|
+
- `docs/mcp-validation/MCP-CLI-VALIDATION-REPORT.md`
|
|
100
|
+
- `docs/mcp-validation/IMPLEMENTATION-SUMMARY.md`
|
|
101
|
+
- `docs/mcp-validation/strange-loops-test.md`
|
|
102
|
+
- `docs/NPM-PUBLISH-GUIDE-v1.2.0.md`
|
|
103
|
+
|
|
104
|
+
### Modified Files
|
|
105
|
+
|
|
106
|
+
**Agent Integration:**
|
|
107
|
+
- `src/agents/claudeAgent.ts` (lines 171-203)
|
|
108
|
+
- Auto-load user-configured MCP servers
|
|
109
|
+
- Read from `~/.agentic-flow/mcp-config.json`
|
|
110
|
+
- Merge with built-in servers
|
|
111
|
+
|
|
112
|
+
**Documentation:**
|
|
113
|
+
- Root `README.md` - Added "Add Custom MCP Servers" section
|
|
114
|
+
- NPM `README.md` - Added "Add Custom MCP Servers" section
|
|
115
|
+
|
|
116
|
+
### Configuration Format
|
|
117
|
+
|
|
118
|
+
```json
|
|
119
|
+
{
|
|
120
|
+
"servers": {
|
|
121
|
+
"server-name": {
|
|
122
|
+
"enabled": true,
|
|
123
|
+
"type": "npm" | "local",
|
|
124
|
+
"package": "npm-package@version",
|
|
125
|
+
"command": "npx" | "node" | "python3" | "docker",
|
|
126
|
+
"args": ["arg1", "arg2"],
|
|
127
|
+
"env": {
|
|
128
|
+
"API_KEY": "value"
|
|
129
|
+
},
|
|
130
|
+
"description": "Server description"
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
## ✅ Validation Results
|
|
139
|
+
|
|
140
|
+
### Live Agent Test
|
|
141
|
+
|
|
142
|
+
**Test:** Added strange-loops MCP server and ran agent
|
|
143
|
+
|
|
144
|
+
**Command:**
|
|
145
|
+
```bash
|
|
146
|
+
npx agentic-flow mcp add strange-loops '{"command":"npx","args":["-y","strange-loops","mcp","start"]}'
|
|
147
|
+
npx agentic-flow --agent researcher --task "List all MCP tools"
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
**Result:** ✅ SUCCESS
|
|
151
|
+
- Agent loaded strange-loops MCP server
|
|
152
|
+
- Detected all 9 tools from the server
|
|
153
|
+
- Tools immediately available to agent
|
|
154
|
+
|
|
155
|
+
**Console Output:**
|
|
156
|
+
```
|
|
157
|
+
[agentic-flow] Loaded MCP server: strange-loops
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
**Tools Detected:**
|
|
161
|
+
1. `mcp__strange-loops__system_info`
|
|
162
|
+
2. `mcp__strange-loops__benchmark_run`
|
|
163
|
+
3. `mcp__strange-loops__nano_swarm_create`
|
|
164
|
+
4. `mcp__strange-loops__nano_swarm_run`
|
|
165
|
+
5. `mcp__strange-loops__quantum_container_create`
|
|
166
|
+
6. `mcp__strange-loops__quantum_superposition`
|
|
167
|
+
7. `mcp__strange-loops__quantum_measure`
|
|
168
|
+
8. `mcp__strange-loops__temporal_predictor_create`
|
|
169
|
+
9. `mcp__strange-loops__temporal_predict`
|
|
170
|
+
|
|
171
|
+
### Test Results Summary
|
|
172
|
+
|
|
173
|
+
| Test | Status | Evidence |
|
|
174
|
+
|------|--------|----------|
|
|
175
|
+
| TypeScript Build | ✅ PASS | Compilation successful |
|
|
176
|
+
| CLI Commands | ✅ PASS | All commands working |
|
|
177
|
+
| JSON Config | ✅ PASS | Claude Desktop format supported |
|
|
178
|
+
| Flag Config | ✅ PASS | Flag-based format supported |
|
|
179
|
+
| Config Persistence | ✅ PASS | Stored in ~/.agentic-flow/ |
|
|
180
|
+
| Agent Integration | ✅ PASS | Auto-load working |
|
|
181
|
+
| Tool Discovery | ✅ PASS | All tools detected |
|
|
182
|
+
| Backward Compatibility | ✅ PASS | No breaking changes |
|
|
183
|
+
|
|
184
|
+
**Overall:** ✅ **100% PASS RATE (8/8 tests)**
|
|
185
|
+
|
|
186
|
+
---
|
|
187
|
+
|
|
188
|
+
## 🎯 Use Cases
|
|
189
|
+
|
|
190
|
+
### Add GitHub MCP Server
|
|
191
|
+
```bash
|
|
192
|
+
# Add official GitHub MCP
|
|
193
|
+
npx agentic-flow mcp add github \
|
|
194
|
+
--npm @modelcontextprotocol/server-github \
|
|
195
|
+
--env "GITHUB_TOKEN=ghp_your_token"
|
|
196
|
+
|
|
197
|
+
# Use it with agent
|
|
198
|
+
npx agentic-flow --agent coder --task "Create issue on repo owner/repo"
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
### Add Weather MCP Server
|
|
202
|
+
```bash
|
|
203
|
+
# Add weather MCP
|
|
204
|
+
npx agentic-flow mcp add weather \
|
|
205
|
+
--npm weather-mcp \
|
|
206
|
+
--env "WEATHER_API_KEY=your_key"
|
|
207
|
+
|
|
208
|
+
# Use it
|
|
209
|
+
npx agentic-flow --agent researcher --task "Get weather forecast for San Francisco"
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
### Add Local Development Server
|
|
213
|
+
```bash
|
|
214
|
+
# Add local MCP server
|
|
215
|
+
npx agentic-flow mcp add dev-tools \
|
|
216
|
+
--local /home/user/projects/my-mcp/server.js
|
|
217
|
+
|
|
218
|
+
# Use it
|
|
219
|
+
npx agentic-flow --agent coder --task "Use my custom tools"
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
---
|
|
223
|
+
|
|
224
|
+
## 🚫 Breaking Changes
|
|
225
|
+
|
|
226
|
+
**None.** This is a purely additive feature.
|
|
227
|
+
|
|
228
|
+
- Existing environment variable approach still works
|
|
229
|
+
- Existing code-based MCP registration still works
|
|
230
|
+
- User-configured servers load alongside built-in servers
|
|
231
|
+
- No changes to existing APIs
|
|
232
|
+
|
|
233
|
+
---
|
|
234
|
+
|
|
235
|
+
## 🔮 Future Enhancements (v1.2.1+)
|
|
236
|
+
|
|
237
|
+
### Planned Commands (Not in v1.2.0)
|
|
238
|
+
|
|
239
|
+
**1. Test Command**
|
|
240
|
+
```bash
|
|
241
|
+
npx agentic-flow mcp test weather
|
|
242
|
+
# Will test if server starts and responds correctly
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
**2. Info Command**
|
|
246
|
+
```bash
|
|
247
|
+
npx agentic-flow mcp info weather
|
|
248
|
+
# Will show detailed server information
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
**3. Tools Command**
|
|
252
|
+
```bash
|
|
253
|
+
npx agentic-flow mcp tools weather
|
|
254
|
+
# Will list all tools from specific server
|
|
255
|
+
```
|
|
256
|
+
|
|
257
|
+
**4. Export/Import**
|
|
258
|
+
```bash
|
|
259
|
+
npx agentic-flow mcp export > config.json
|
|
260
|
+
npx agentic-flow mcp import < config.json
|
|
261
|
+
# Share configurations with team
|
|
262
|
+
```
|
|
263
|
+
|
|
264
|
+
### Other Future Features
|
|
265
|
+
- Shell completion (bash/zsh)
|
|
266
|
+
- API key encryption in config
|
|
267
|
+
- Server signature verification
|
|
268
|
+
- Automatic server updates
|
|
269
|
+
- Usage statistics
|
|
270
|
+
|
|
271
|
+
---
|
|
272
|
+
|
|
273
|
+
## 📦 Installation
|
|
274
|
+
|
|
275
|
+
### Global Install
|
|
276
|
+
```bash
|
|
277
|
+
npm install -g agentic-flow@1.2.0
|
|
278
|
+
```
|
|
279
|
+
|
|
280
|
+
### Use with npx (No Install)
|
|
281
|
+
```bash
|
|
282
|
+
npx agentic-flow@1.2.0 mcp add my-server --npm my-mcp-package
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
### Upgrade from Previous Version
|
|
286
|
+
```bash
|
|
287
|
+
npm update -g agentic-flow
|
|
288
|
+
```
|
|
289
|
+
|
|
290
|
+
---
|
|
291
|
+
|
|
292
|
+
## 🔗 Links
|
|
293
|
+
|
|
294
|
+
**GitHub:**
|
|
295
|
+
- Pull Request: https://github.com/ruvnet/agentic-flow/pull/4
|
|
296
|
+
- Repository: https://github.com/ruvnet/agentic-flow
|
|
297
|
+
- Issues: https://github.com/ruvnet/agentic-flow/issues
|
|
298
|
+
|
|
299
|
+
**NPM:**
|
|
300
|
+
- Package: https://www.npmjs.com/package/agentic-flow
|
|
301
|
+
- Version: https://www.npmjs.com/package/agentic-flow/v/1.2.0
|
|
302
|
+
|
|
303
|
+
**Documentation:**
|
|
304
|
+
- User Guide: https://github.com/ruvnet/agentic-flow/blob/main/agentic-flow/docs/guides/ADDING-MCP-SERVERS-CLI.md
|
|
305
|
+
- Developer Guide: https://github.com/ruvnet/agentic-flow/blob/main/agentic-flow/docs/guides/ADDING-MCP-SERVERS.md
|
|
306
|
+
|
|
307
|
+
---
|
|
308
|
+
|
|
309
|
+
## 👏 Credits
|
|
310
|
+
|
|
311
|
+
**Built by:** [@ruvnet](https://github.com/ruvnet)
|
|
312
|
+
**Implemented with:** [Claude Code](https://claude.com/claude-code)
|
|
313
|
+
**Based on:** [Claude Agent SDK](https://docs.claude.com/en/api/agent-sdk) by Anthropic
|
|
314
|
+
|
|
315
|
+
---
|
|
316
|
+
|
|
317
|
+
## 📋 Quick Reference
|
|
318
|
+
|
|
319
|
+
| Task | Command |
|
|
320
|
+
|------|---------|
|
|
321
|
+
| Add NPM server | `npx agentic-flow mcp add NAME --npm PACKAGE` |
|
|
322
|
+
| Add local server | `npx agentic-flow mcp add NAME --local PATH` |
|
|
323
|
+
| Add with JSON | `npx agentic-flow mcp add NAME '{"command":...}'` |
|
|
324
|
+
| List servers | `npx agentic-flow mcp list` |
|
|
325
|
+
| Enable server | `npx agentic-flow mcp enable NAME` |
|
|
326
|
+
| Disable server | `npx agentic-flow mcp disable NAME` |
|
|
327
|
+
| Remove server | `npx agentic-flow mcp remove NAME` |
|
|
328
|
+
|
|
329
|
+
**Config File:** `~/.agentic-flow/mcp-config.json`
|
|
330
|
+
|
|
331
|
+
---
|
|
332
|
+
|
|
333
|
+
**Release Status:** ✅ READY FOR PRODUCTION
|
|
334
|
+
|
|
335
|
+
**Validation:** ✅ 100% TEST PASS RATE
|
|
336
|
+
|
|
337
|
+
**Documentation:** ✅ COMPLETE
|
|
338
|
+
|
|
339
|
+
**Ready to Publish:** ✅ YES
|