@stacksfinder/mcp-server 1.2.1 → 1.3.0

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 (72) hide show
  1. package/LICENSE +16 -16
  2. package/README.md +126 -65
  3. package/dist/__tests__/mcp-tools.test.d.ts +8 -0
  4. package/dist/__tests__/mcp-tools.test.d.ts.map +1 -0
  5. package/dist/__tests__/mcp-tools.test.js +345 -0
  6. package/dist/__tests__/mcp-tools.test.js.map +1 -0
  7. package/dist/annotations.d.ts +63 -0
  8. package/dist/annotations.d.ts.map +1 -0
  9. package/dist/annotations.js +215 -0
  10. package/dist/annotations.js.map +1 -0
  11. package/dist/server.d.ts.map +1 -1
  12. package/dist/server.js +93 -22
  13. package/dist/server.js.map +1 -1
  14. package/dist/tools/audit.d.ts +4 -4
  15. package/dist/tools/audit.js +42 -42
  16. package/dist/tools/audit.js.map +1 -1
  17. package/dist/tools/check-compatibility.d.ts +1 -1
  18. package/dist/tools/check-compatibility.d.ts.map +1 -1
  19. package/dist/tools/check-compatibility.js +17 -17
  20. package/dist/tools/check-compatibility.js.map +1 -1
  21. package/dist/tools/estimator.d.ts +85 -0
  22. package/dist/tools/estimator.d.ts.map +1 -0
  23. package/dist/tools/estimator.js +326 -0
  24. package/dist/tools/estimator.js.map +1 -0
  25. package/dist/tools/project-kit/analyze-repo.js +12 -12
  26. package/dist/tools/project-kit/analyze-repo.js.map +1 -1
  27. package/package.json +4 -8
  28. package/dist/compatibility/index.d.ts +0 -11
  29. package/dist/compatibility/index.d.ts.map +0 -1
  30. package/dist/compatibility/index.js +0 -13
  31. package/dist/compatibility/index.js.map +0 -1
  32. package/dist/compatibility/rules.d.ts +0 -29
  33. package/dist/compatibility/rules.d.ts.map +0 -1
  34. package/dist/compatibility/rules.js +0 -419
  35. package/dist/compatibility/rules.js.map +0 -1
  36. package/dist/compatibility/scoring.d.ts +0 -54
  37. package/dist/compatibility/scoring.d.ts.map +0 -1
  38. package/dist/compatibility/scoring.js +0 -209
  39. package/dist/compatibility/scoring.js.map +0 -1
  40. package/dist/compatibility/types.d.ts +0 -176
  41. package/dist/compatibility/types.d.ts.map +0 -1
  42. package/dist/compatibility/types.js +0 -26
  43. package/dist/compatibility/types.js.map +0 -1
  44. package/dist/compatibility/utils.d.ts +0 -82
  45. package/dist/compatibility/utils.d.ts.map +0 -1
  46. package/dist/compatibility/utils.js +0 -269
  47. package/dist/compatibility/utils.js.map +0 -1
  48. package/dist/data/357/200/242/357/200/212cp H:bac_/303/240_guigui_v2stack_finderpackagesmcp-serversrcdatacompatibility_matrix.json H:bac_/303/240_guigui_v2stack_finderpackagesmcp-serverdistdata/357/200/242" +0 -226
  49. package/dist/http.d.ts +0 -7
  50. package/dist/http.d.ts.map +0 -1
  51. package/dist/http.js +0 -69
  52. package/dist/http.js.map +0 -1
  53. package/dist/lib/mcp-compatibility/index.d.ts +0 -33
  54. package/dist/lib/mcp-compatibility/index.d.ts.map +0 -1
  55. package/dist/lib/mcp-compatibility/index.js +0 -35
  56. package/dist/lib/mcp-compatibility/index.js.map +0 -1
  57. package/dist/lib/mcp-compatibility/rules.d.ts +0 -29
  58. package/dist/lib/mcp-compatibility/rules.d.ts.map +0 -1
  59. package/dist/lib/mcp-compatibility/rules.js +0 -419
  60. package/dist/lib/mcp-compatibility/rules.js.map +0 -1
  61. package/dist/lib/mcp-compatibility/scoring.d.ts +0 -54
  62. package/dist/lib/mcp-compatibility/scoring.d.ts.map +0 -1
  63. package/dist/lib/mcp-compatibility/scoring.js +0 -209
  64. package/dist/lib/mcp-compatibility/scoring.js.map +0 -1
  65. package/dist/lib/mcp-compatibility/types.d.ts +0 -176
  66. package/dist/lib/mcp-compatibility/types.d.ts.map +0 -1
  67. package/dist/lib/mcp-compatibility/types.js +0 -26
  68. package/dist/lib/mcp-compatibility/types.js.map +0 -1
  69. package/dist/lib/mcp-compatibility/utils.d.ts +0 -82
  70. package/dist/lib/mcp-compatibility/utils.d.ts.map +0 -1
  71. package/dist/lib/mcp-compatibility/utils.js +0 -269
  72. package/dist/lib/mcp-compatibility/utils.js.map +0 -1
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 StacksFinder
3
+ Copyright (c) 2025-2026 StacksFinder
4
4
 
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
11
 
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
14
 
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,12 +1,12 @@
1
1
  # @stacksfinder/mcp-server
2
2
 
3
- [![smithery badge](https://smithery.ai/badge/hoklims/stacksfinder-mcp)](https://smithery.ai/server/hoklims/stacksfinder-mcp)
4
3
  [![npm version](https://img.shields.io/npm/v/@stacksfinder/mcp-server.svg)](https://www.npmjs.com/package/@stacksfinder/mcp-server)
5
4
  [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
5
+ [![LobeHub](https://img.shields.io/badge/LobeHub-MCP%20Directory-blue.svg)](https://lobehub.com/fr/mcp/hoklims-stacksfinder-mcp)
6
6
 
7
7
  MCP (Model Context Protocol) server that brings **deterministic tech stack recommendations** to LLM clients like Claude, Cursor, Windsurf, and other MCP-compatible tools.
8
8
 
9
- **Try it free** — 8 tools work without an account, including a daily demo recommendation and MCP project kit tools.
9
+ **Try it free** — 8 tools work without an account, including a daily demo recommendation and MCP project kit.
10
10
 
11
11
  ## Quick Start
12
12
 
@@ -24,7 +24,7 @@ claude mcp add-json stacksfinder '{
24
24
  }'
25
25
  ```
26
26
 
27
- ### Claude Desktop
27
+ ### Claude Code
28
28
 
29
29
  Add to `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `%APPDATA%\Claude\claude_desktop_config.json` (Windows):
30
30
 
@@ -87,12 +87,14 @@ Add to `.vscode/mcp.json`:
87
87
  | `list_technologies` | List all 30+ tech IDs by category |
88
88
  | `analyze_tech` | 6-dimension scores, strengths, weaknesses, compatible techs |
89
89
  | `compare_techs` | Side-by-side comparison of 2-4 technologies |
90
- | `recommend_stack_demo` | **FREE 1x/day** — Full stack recommendation for any project type |
91
- | `check_mcp_compatibility` | 🆕 Check conflicts, redundancies, and synergies between MCP servers |
92
- | `generate_mcp_kit` | 🆕 Generate optimal stack + recommended MCPs from project description |
93
- | `analyze_repo_mcps` | 🆕 Analyze your repository and recommend relevant MCP servers |
94
- | `prepare_mcp_installation` | 🆕 Detect MCPs needed and generate `.env-mcp` template |
95
- | `execute_mcp_installation` | 🆕 Parse `.env-mcp` and generate IDE install commands |
90
+ | `recommend_stack` | **FREE 1x/day** — Full stack recommendation for any project type |
91
+
92
+ ### Estimator Tools (requires API key)
93
+
94
+ | Tool | Description |
95
+ |------|-------------|
96
+ | `estimate_project` | Estimate scope, pricing, and market analysis for a project |
97
+ | `get_estimate_quota` | Check your remaining estimate quota (weekly/monthly) |
96
98
 
97
99
  ### Pro Tools (requires API key)
98
100
 
@@ -105,7 +107,7 @@ Add to `.vscode/mcp.json`:
105
107
  | `list_api_keys` | List your API keys |
106
108
  | `revoke_api_key` | Revoke an API key |
107
109
 
108
- ### Audit Tools (requires API key) 🆕
110
+ ### Audit Tools (requires API key)
109
111
 
110
112
  | Tool | Description |
111
113
  |------|-------------|
@@ -114,7 +116,16 @@ Add to `.vscode/mcp.json`:
114
116
  | `list_audits` | List your audit reports |
115
117
  | `compare_audits` | Compare two audits to track progress |
116
118
  | `get_audit_quota` | Check your remaining audit quota |
117
- | `get_migration_recommendation` | **NEW** Analyze audit for migration opportunities with builder constraints |
119
+ | `get_migration_recommendation` | Analyze audit for migration opportunities with builder constraints |
120
+
121
+ ### Project Kit Tools (no API key required)
122
+
123
+ | Tool | Description |
124
+ |------|-------------|
125
+ | `generate_mcp_kit` | Generate optimal tech stack + MCP recommendations from project description |
126
+ | `analyze_repo_mcps` | Analyze your repository and recommend relevant MCP servers |
127
+ | `prepare_mcp_installation` | Detect MCPs, generate `.env-mcp` template for credentials |
128
+ | `execute_mcp_installation` | Parse `.env-mcp` and generate IDE install commands |
118
129
 
119
130
  Get your API key at [stacksfinder.com/pricing](https://stacksfinder.com/pricing)
120
131
 
@@ -210,25 +221,25 @@ Want more? Upgrade to Pro for custom priorities, constraints, and AI narratives.
210
221
 
211
222
  ## Audit Report: Q1 2026 Review
212
223
 
213
- **Health Score: 72/100** ⚠️
224
+ **Health Score: 72/100** (warning)
214
225
 
215
226
  | Severity | Count |
216
227
  |----------|-------|
217
- | 🔴 Critical | 2 |
218
- | 🟠 High | 1 |
219
- | 🟡 Medium | 3 |
220
- | 🟢 Low | 2 |
221
- | ℹ️ Info | 5 |
228
+ | [CRITICAL] | 2 |
229
+ | [HIGH] | 1 |
230
+ | [MEDIUM] | 3 |
231
+ | [LOW] | 2 |
232
+ | [INFO] | 5 |
222
233
 
223
234
  ### Critical Findings
224
235
 
225
- **🔴 Security vulnerability in lodash** (lodash 4.17.20)
236
+ **[CRITICAL] Security vulnerability in lodash** (lodash 4.17.20)
226
237
  CVE-2021-23337 - Prototype pollution vulnerability
227
- Upgrade to lodash 4.17.21 or later
238
+ > Upgrade to lodash 4.17.21 or later
228
239
 
229
- **🔴 Outdated Express version** (express 4.17.0)
240
+ **[CRITICAL] Outdated Express version** (express 4.17.0)
230
241
  Express 4.17.0 is missing security patches
231
- Upgrade to express 4.21+ for security fixes
242
+ > Upgrade to express 4.21+ for security fixes
232
243
  ```
233
244
 
234
245
  ### compare_audits (Pro)
@@ -238,7 +249,7 @@ Express 4.17.0 is missing security patches
238
249
 
239
250
  ## Audit Comparison
240
251
 
241
- **Trend: 📈 Improving** (+16 health score)
252
+ **Trend: Improving** (+16 health score)
242
253
 
243
254
  | Metric | January | March |
244
255
  |--------|---------|-------|
@@ -247,46 +258,66 @@ Express 4.17.0 is missing security patches
247
258
  | High | 6 | 3 |
248
259
 
249
260
  ### Resolved Issues (6)
250
- - Critical: lodash vulnerability
251
- - High: moment.js deprecation
252
- - High: outdated Node version
261
+ - [x] Critical: lodash vulnerability
262
+ - [x] High: moment.js deprecation
263
+ - [x] High: outdated Node version
253
264
  ```
254
265
 
255
- ### check_mcp_compatibility 🆕
266
+ ### estimate_project (Pro)
256
267
 
257
268
  ```
258
- > check_mcp_compatibility mcps=["supabase-mcp", "neon-mcp", "prisma-mcp"]
269
+ > estimate_project specs="Build a SaaS project management tool with: user authentication, team workspaces, task boards with drag-and-drop, real-time collaboration, file attachments, Stripe billing integration, and email notifications. Target: small to medium teams." region="france" seniorityLevel="mid"
270
+
271
+ ## Project Estimate
272
+
273
+ **ID**: `est_abc123`
274
+ **Confidence**: 85%
275
+ **Pricing Table Version**: 2026-01
259
276
 
260
- ## MCP Compatibility Check
277
+ ### Scope Analysis
261
278
 
262
- **Health Score: 65/100** (Grade: C)
279
+ **Total Hours**: 280 - 420h
280
+ **Complexity**: high
281
+ **Buffer**: 10% (28-42h)
263
282
 
264
- ### ⚠️ Conflicts (1)
265
- - **supabase-mcp** ↔ **neon-mcp**: Both provide database services
283
+ #### Feature Breakdown
266
284
 
267
- ### 🔄 Redundancies (1)
268
- - **prisma-mcp** + **supabase-mcp**: Supabase has built-in client
285
+ | Feature | Hours | Complexity |
286
+ |---------|-------|------------|
287
+ | User Authentication | 16-24h | simple |
288
+ | Team Workspaces | 32-48h | medium |
289
+ | Task Boards | 48-72h | complex |
290
+ | Real-time Collaboration | 40-60h | complex |
291
+ | File Attachments | 24-36h | medium |
292
+ | Stripe Integration | 32-48h | medium |
293
+ | Email Notifications | 16-24h | simple |
269
294
 
270
- ### Synergies (0)
271
- None detected
295
+ ### Pricing (EUR)
272
296
 
273
- ### 💡 Suggestions
274
- - Choose one database provider (Supabase OR Neon)
275
- - If using Supabase, Prisma may be redundant
297
+ | Seniority | Min | Max |
298
+ |-----------|-----|-----|
299
+ | junior | 12 000 | 21 000 € |
300
+ | mid | 18 000 € | 33 000 € |
301
+ | senior | 28 000 € | 50 400 € |
302
+ | expert | 40 000 € | 75 600 € |
303
+
304
+ **Adjustments Applied** (×1.15):
305
+ - Payment Integration: +5%
306
+ - Real-time Features: +10%
276
307
  ```
277
308
 
278
- ### generate_mcp_kit 🆕
309
+ ### generate_mcp_kit (Free)
279
310
 
280
311
  ```
281
- > generate_mcp_kit projectDescription="SaaS for project management with Supabase and Stripe"
312
+ > generate_mcp_kit projectDescription="I'm building a SaaS for project management with Supabase and Stripe"
282
313
 
283
- ## Recommended Stack
314
+ ## Recommended Tech Stack
284
315
 
285
316
  | Category | Technology | Score |
286
317
  |----------|------------|-------|
287
318
  | meta-framework | SvelteKit | 84 |
288
319
  | database | Supabase | 82 |
289
- | auth | Better Auth | 80 |
320
+ | auth | Supabase Auth | 80 |
290
321
  | payments | Stripe | 96 |
291
322
 
292
323
  ## Recommended MCPs
@@ -294,45 +325,75 @@ None detected
294
325
  | MCP | Priority | Why |
295
326
  |-----|----------|-----|
296
327
  | supabase-mcp | High | Direct database access |
297
- | stripe-mcp | High | Payment integration |
298
- | github-mcp | Medium | Version control |
328
+ | stripe-mcp | High | Payment management |
329
+ | context7 | Medium | Documentation lookup |
330
+
331
+ ## Install Configs
299
332
 
300
- Install all with:
301
- claude mcp add-json supabase-mcp '{"command":"npx","args":["-y","@supabase/mcp"]}'
333
+ Claude Code:
334
+ claude mcp add supabase-mcp npx -y @supabase/mcp-server
302
335
  ```
303
336
 
304
- ### prepare_mcp_installation 🆕
337
+ ### analyze_repo_mcps (Free)
338
+
339
+ ```
340
+ > analyze_repo_mcps
341
+
342
+ ## Detected Technologies
343
+ - **Frontend**: SvelteKit (2.x)
344
+ - **Database**: PostgreSQL (via Drizzle)
345
+ - **Auth**: Lucia
346
+ - **Payments**: Paddle
347
+
348
+ ## Recommended MCPs
349
+
350
+ ### High Priority
351
+ **Neon MCP** (`@neondatabase/mcp-server`)
352
+ - Direct database access and query execution
353
+ - _Matched: drizzle, postgresql_
354
+
355
+ ### Medium Priority
356
+ **Context7** (`context7`)
357
+ - Up-to-date documentation for any library
358
+ - _Matched: universal_
359
+ ```
360
+
361
+ ### prepare_mcp_installation (Free)
305
362
 
306
363
  ```
307
364
  > prepare_mcp_installation
308
365
 
309
- Generated .env-mcp with 5 MCP(s) to install.
366
+ Created .env-mcp with 3 MCPs requiring configuration.
367
+
368
+ ## MCPs to Install
310
369
 
311
- 📋 Next steps:
312
- 1. Open .env-mcp
313
- 2. Fill in the 3 required environment variable(s)
314
- 3. Set INSTALL_xxx=false for any MCPs you want to skip
315
- 4. Run execute_mcp_installation to install the MCPs
370
+ ### 🔴 High Priority
371
+ - **Neon MCP** (1 required vars)
372
+ - **Paddle MCP** (2 required vars)
373
+
374
+ ### 🟢 Low Priority
375
+ - **Context7** (0 required vars)
376
+
377
+ Edit .env-mcp to add your credentials, then run execute_mcp_installation.
316
378
  ```
317
379
 
318
- ### execute_mcp_installation 🆕
380
+ ### execute_mcp_installation (Free)
319
381
 
320
382
  ```
321
383
  > execute_mcp_installation targetClient="claude-code"
322
384
 
323
- # MCP Installation Summary
385
+ 2 MCPs ready, 1 pending credentials.
386
+
387
+ ## Claude Code Installation
324
388
 
325
- - Ready to install: 3
326
- - ⏳ Missing credentials: 1
327
- - ⏭️ Skipped: 1
389
+ Run this command to install all ready MCPs:
328
390
 
329
- ## Ready to Install
330
- - **Supabase MCP** (`supabase-mcp`)
331
- - ✅ **GitHub MCP** (`github-mcp`)
332
- - ✅ **Context7 MCP** (`context7-mcp`)
391
+ claude mcp add neon-mcp npx -y @neondatabase/mcp-server && \
392
+ claude mcp add context7 npx -y context7
333
393
 
334
- ## Installation Command
335
- claude mcp add-json supabase-mcp '...' && claude mcp add-json github-mcp '...'
394
+ ## Post-Installation
395
+ - Restart Claude Code to load new MCPs
396
+ - Run `claude mcp list` to verify installation
336
397
  ```
337
398
 
338
399
  ## Environment Variables
@@ -411,4 +472,4 @@ bun test # Run tests
411
472
 
412
473
  ## License
413
474
 
414
- MIT
475
+ MIT
@@ -0,0 +1,8 @@
1
+ /**
2
+ * MCP Server Integration Tests
3
+ *
4
+ * Tests all 21 MCP tools to ensure they are functional.
5
+ * Run with: npm test or vitest
6
+ */
7
+ export {};
8
+ //# sourceMappingURL=mcp-tools.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mcp-tools.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/mcp-tools.test.ts"],"names":[],"mappings":"AAAA;;;;;GAKG"}