@stacksfinder/mcp-server 1.0.2 → 1.2.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 (98) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +414 -262
  3. package/dist/compatibility/index.d.ts +11 -0
  4. package/dist/compatibility/index.d.ts.map +1 -0
  5. package/dist/compatibility/index.js +13 -0
  6. package/dist/compatibility/index.js.map +1 -0
  7. package/dist/compatibility/rules.d.ts +29 -0
  8. package/dist/compatibility/rules.d.ts.map +1 -0
  9. package/dist/compatibility/rules.js +419 -0
  10. package/dist/compatibility/rules.js.map +1 -0
  11. package/dist/compatibility/scoring.d.ts +54 -0
  12. package/dist/compatibility/scoring.d.ts.map +1 -0
  13. package/dist/compatibility/scoring.js +209 -0
  14. package/dist/compatibility/scoring.js.map +1 -0
  15. package/dist/compatibility/types.d.ts +176 -0
  16. package/dist/compatibility/types.d.ts.map +1 -0
  17. package/dist/compatibility/types.js +26 -0
  18. package/dist/compatibility/types.js.map +1 -0
  19. package/dist/compatibility/utils.d.ts +82 -0
  20. package/dist/compatibility/utils.d.ts.map +1 -0
  21. package/dist/compatibility/utils.js +269 -0
  22. package/dist/compatibility/utils.js.map +1 -0
  23. 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" +226 -0
  24. package/dist/http.d.ts +7 -0
  25. package/dist/http.d.ts.map +1 -0
  26. package/dist/http.js +69 -0
  27. package/dist/http.js.map +1 -0
  28. package/dist/lib/mcp-compatibility/index.d.ts +33 -0
  29. package/dist/lib/mcp-compatibility/index.d.ts.map +1 -0
  30. package/dist/lib/mcp-compatibility/index.js +35 -0
  31. package/dist/lib/mcp-compatibility/index.js.map +1 -0
  32. package/dist/lib/mcp-compatibility/rules.d.ts +29 -0
  33. package/dist/lib/mcp-compatibility/rules.d.ts.map +1 -0
  34. package/dist/lib/mcp-compatibility/rules.js +419 -0
  35. package/dist/lib/mcp-compatibility/rules.js.map +1 -0
  36. package/dist/lib/mcp-compatibility/scoring.d.ts +54 -0
  37. package/dist/lib/mcp-compatibility/scoring.d.ts.map +1 -0
  38. package/dist/lib/mcp-compatibility/scoring.js +209 -0
  39. package/dist/lib/mcp-compatibility/scoring.js.map +1 -0
  40. package/dist/lib/mcp-compatibility/types.d.ts +176 -0
  41. package/dist/lib/mcp-compatibility/types.d.ts.map +1 -0
  42. package/dist/lib/mcp-compatibility/types.js +26 -0
  43. package/dist/lib/mcp-compatibility/types.js.map +1 -0
  44. package/dist/lib/mcp-compatibility/utils.d.ts +82 -0
  45. package/dist/lib/mcp-compatibility/utils.d.ts.map +1 -0
  46. package/dist/lib/mcp-compatibility/utils.js +269 -0
  47. package/dist/lib/mcp-compatibility/utils.js.map +1 -0
  48. package/dist/server.d.ts.map +1 -1
  49. package/dist/server.js +404 -1
  50. package/dist/server.js.map +1 -1
  51. package/dist/tools/audit.d.ts +246 -0
  52. package/dist/tools/audit.d.ts.map +1 -0
  53. package/dist/tools/audit.js +559 -0
  54. package/dist/tools/audit.js.map +1 -0
  55. package/dist/tools/check-compatibility.d.ts +43 -0
  56. package/dist/tools/check-compatibility.d.ts.map +1 -0
  57. package/dist/tools/check-compatibility.js +133 -0
  58. package/dist/tools/check-compatibility.js.map +1 -0
  59. package/dist/tools/project-kit/analyze-repo.d.ts +50 -0
  60. package/dist/tools/project-kit/analyze-repo.d.ts.map +1 -0
  61. package/dist/tools/project-kit/analyze-repo.js +456 -0
  62. package/dist/tools/project-kit/analyze-repo.js.map +1 -0
  63. package/dist/tools/project-kit/detect-stack.d.ts +16 -0
  64. package/dist/tools/project-kit/detect-stack.d.ts.map +1 -0
  65. package/dist/tools/project-kit/detect-stack.js +572 -0
  66. package/dist/tools/project-kit/detect-stack.js.map +1 -0
  67. package/dist/tools/project-kit/execute-installation.d.ts +50 -0
  68. package/dist/tools/project-kit/execute-installation.d.ts.map +1 -0
  69. package/dist/tools/project-kit/execute-installation.js +440 -0
  70. package/dist/tools/project-kit/execute-installation.js.map +1 -0
  71. package/dist/tools/project-kit/generate.d.ts +70 -0
  72. package/dist/tools/project-kit/generate.d.ts.map +1 -0
  73. package/dist/tools/project-kit/generate.js +455 -0
  74. package/dist/tools/project-kit/generate.js.map +1 -0
  75. package/dist/tools/project-kit/index.d.ts +18 -0
  76. package/dist/tools/project-kit/index.d.ts.map +1 -0
  77. package/dist/tools/project-kit/index.js +21 -0
  78. package/dist/tools/project-kit/index.js.map +1 -0
  79. package/dist/tools/project-kit/installation-types.d.ts +147 -0
  80. package/dist/tools/project-kit/installation-types.d.ts.map +1 -0
  81. package/dist/tools/project-kit/installation-types.js +491 -0
  82. package/dist/tools/project-kit/installation-types.js.map +1 -0
  83. package/dist/tools/project-kit/match-mcps.d.ts +67 -0
  84. package/dist/tools/project-kit/match-mcps.d.ts.map +1 -0
  85. package/dist/tools/project-kit/match-mcps.js +497 -0
  86. package/dist/tools/project-kit/match-mcps.js.map +1 -0
  87. package/dist/tools/project-kit/prepare-installation.d.ts +54 -0
  88. package/dist/tools/project-kit/prepare-installation.d.ts.map +1 -0
  89. package/dist/tools/project-kit/prepare-installation.js +382 -0
  90. package/dist/tools/project-kit/prepare-installation.js.map +1 -0
  91. package/dist/tools/project-kit/types.d.ts +200 -0
  92. package/dist/tools/project-kit/types.d.ts.map +1 -0
  93. package/dist/tools/project-kit/types.js +76 -0
  94. package/dist/tools/project-kit/types.js.map +1 -0
  95. package/dist/tools/recommend.d.ts.map +1 -1
  96. package/dist/tools/recommend.js +9 -4
  97. package/dist/tools/recommend.js.map +1 -1
  98. package/package.json +8 -3
package/README.md CHANGED
@@ -1,262 +1,414 @@
1
- # @stacksfinder/mcp-server
2
-
3
- [![npm version](https://img.shields.io/npm/v/@stacksfinder/mcp-server.svg)](https://www.npmjs.com/package/@stacksfinder/mcp-server)
4
- [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
5
-
6
- MCP (Model Context Protocol) server that brings **deterministic tech stack recommendations** to LLM clients like Claude, Cursor, Windsurf, and other MCP-compatible tools.
7
-
8
- **Try it free** — 4 tools work without an account, including a daily demo recommendation.
9
-
10
- ## Quick Start
11
-
12
- ### Claude Code (CLI)
13
-
14
- ```bash
15
- # Add to Claude Code
16
- claude mcp add stacksfinder npx -y @stacksfinder/mcp-server
17
-
18
- # With API key for full features
19
- claude mcp add-json stacksfinder '{
20
- "command": "npx",
21
- "args": ["-y", "@stacksfinder/mcp-server"],
22
- "env": {"STACKSFINDER_API_KEY": "sk_live_xxx"}
23
- }'
24
- ```
25
-
26
- ### Claude Desktop
27
-
28
- Add to `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `%APPDATA%\Claude\claude_desktop_config.json` (Windows):
29
-
30
- ```json
31
- {
32
- "mcpServers": {
33
- "stacksfinder": {
34
- "command": "npx",
35
- "args": ["-y", "@stacksfinder/mcp-server"],
36
- "env": {
37
- "STACKSFINDER_API_KEY": "sk_live_xxx"
38
- }
39
- }
40
- }
41
- }
42
- ```
43
-
44
- ### Cursor / Windsurf
45
-
46
- Add to `.cursor/mcp.json` or `.windsurf/mcp.json` in your project root:
47
-
48
- ```json
49
- {
50
- "mcpServers": {
51
- "stacksfinder": {
52
- "command": "npx",
53
- "args": ["-y", "@stacksfinder/mcp-server"],
54
- "env": {
55
- "STACKSFINDER_API_KEY": "sk_live_xxx"
56
- }
57
- }
58
- }
59
- }
60
- ```
61
-
62
- ### VS Code + Copilot
63
-
64
- Add to `.vscode/mcp.json`:
65
-
66
- ```json
67
- {
68
- "servers": {
69
- "stacksfinder": {
70
- "command": "npx",
71
- "args": ["-y", "@stacksfinder/mcp-server"],
72
- "env": {
73
- "STACKSFINDER_API_KEY": "sk_live_xxx"
74
- }
75
- }
76
- }
77
- }
78
- ```
79
-
80
- ## Available Tools
81
-
82
- ### Free Tools (no account required)
83
-
84
- | Tool | Description |
85
- |------|-------------|
86
- | `list_technologies` | List all 30+ tech IDs by category |
87
- | `analyze_tech` | 6-dimension scores, strengths, weaknesses, compatible techs |
88
- | `compare_techs` | Side-by-side comparison of 2-4 technologies |
89
- | `recommend_stack` | **FREE 1x/day** Full stack recommendation for any project type |
90
-
91
- ### Pro Tools (requires API key)
92
-
93
- | Tool | Description |
94
- |------|-------------|
95
- | `recommend_stack` | Unlimited recommendations with priorities & constraints |
96
- | `get_blueprint` | Fetch existing blueprint by ID |
97
- | `create_blueprint` | Generate new blueprint with AI narrative |
98
- | `setup_api_key` | Authenticate and create API key from MCP |
99
- | `list_api_keys` | List your API keys |
100
- | `revoke_api_key` | Revoke an API key |
101
-
102
- Get your API key at [stacksfinder.com/pricing](https://stacksfinder.com/pricing)
103
-
104
- ## Tool Examples
105
-
106
- ### list_technologies
107
-
108
- ```
109
- > list_technologies category="database"
110
-
111
- Available databases:
112
- - postgres (PostgreSQL)
113
- - sqlite (SQLite)
114
- - supabase (Supabase)
115
- - planetscale (PlanetScale)
116
- - turso (Turso)
117
- - neon (Neon)
118
- ```
119
-
120
- ### analyze_tech
121
-
122
- ```
123
- > analyze_tech technology="sveltekit" context="mvp"
124
-
125
- ## SvelteKit Analysis (MVP Context)
126
-
127
- | Dimension | Score | Grade |
128
- |-----------|-------|-------|
129
- | Performance | 92 | A |
130
- | DX | 88 | A |
131
- | Ecosystem | 72 | B |
132
- | Maintainability | 85 | A |
133
- | Cost | 90 | A |
134
- | Compliance | 75 | B |
135
-
136
- **Overall: 84/100 (A)**
137
-
138
- Strengths:
139
- - Compiler-first architecture, tiny bundles
140
- - Excellent TypeScript support
141
- - Built-in SSR, SSG, and edge rendering
142
-
143
- Weaknesses:
144
- - Smaller ecosystem than React
145
- - Fewer enterprise case studies
146
- ```
147
-
148
- ### compare_techs
149
-
150
- ```
151
- > compare_techs technologies=["nextjs", "sveltekit", "nuxt"]
152
-
153
- ## Comparison: Next.js vs SvelteKit vs Nuxt
154
-
155
- | Tech | Score | Grade |
156
- |------|-------|-------|
157
- | Next.js | 82 | A |
158
- | SvelteKit | 84 | A |
159
- | Nuxt | 79 | B |
160
-
161
- Per-dimension winners:
162
- - Performance: SvelteKit (+10)
163
- - DX: SvelteKit (+3)
164
- - Ecosystem: Next.js (+15)
165
- ```
166
-
167
- ### recommend_stack (Free Demo)
168
-
169
- ```
170
- > recommend_stack projectType="saas" scale="mvp"
171
-
172
- ## Recommended Stack for SaaS (MVP)
173
-
174
- | Category | Technology | Score | Grade |
175
- |----------|------------|-------|-------|
176
- | meta-framework | SvelteKit | 84 | A |
177
- | database | Supabase | 82 | A |
178
- | orm | Drizzle | 86 | A |
179
- | auth | Better Auth | 80 | A |
180
- | hosting | Vercel | 85 | A |
181
- | payments | Paddle | 86 | A |
182
-
183
- **Confidence**: medium (demo mode)
184
-
185
- ---
186
- Want more? Upgrade to Pro for custom priorities, constraints, and AI narratives.
187
- ```
188
-
189
- ## Environment Variables
190
-
191
- | Variable | Required | Default | Description |
192
- |----------|----------|---------|-------------|
193
- | `STACKSFINDER_API_KEY` | For Pro tools | - | API key from stacksfinder.com |
194
- | `STACKSFINDER_API_URL` | No | `https://stacksfinder.com` | API base URL |
195
- | `STACKSFINDER_MCP_DEBUG` | No | `false` | Enable debug logging |
196
-
197
- ## Score Dimensions
198
-
199
- All technology scores are measured across 6 dimensions (0-100):
200
-
201
- | Dimension | Description |
202
- |-----------|-------------|
203
- | **Performance** | Runtime speed, bundle size, optimization potential |
204
- | **DX** | Learning curve, tooling, documentation quality |
205
- | **Ecosystem** | Community size, integrations, job market |
206
- | **Maintainability** | Long-term code health, upgrade path |
207
- | **Cost** | Hosting costs, licensing, operational overhead |
208
- | **Compliance** | Security features, audit readiness |
209
-
210
- ## Contexts
211
-
212
- Scores vary by project context:
213
-
214
- - **default**: General-purpose scores
215
- - **mvp**: Optimized for speed-to-market, lower cost
216
- - **enterprise**: Emphasizes compliance, maintainability, support
217
-
218
- ## Error Handling
219
-
220
- Structured errors with suggestions:
221
-
222
- ```
223
- **Error (TECH_NOT_FOUND)**: Technology "nexjs" not found.
224
- **Suggestions**: nextjs, nuxt, nestjs
225
- ```
226
-
227
- ## Troubleshooting
228
-
229
- ### Debug mode
230
-
231
- ```bash
232
- STACKSFINDER_MCP_DEBUG=true npx @stacksfinder/mcp-server
233
- ```
234
-
235
- ### Common issues
236
-
237
- | Issue | Solution |
238
- |-------|----------|
239
- | "API key required" | Get key at [stacksfinder.com/pricing](https://stacksfinder.com/pricing) |
240
- | "Daily limit reached" | Wait 24h or upgrade to Pro |
241
- | "Technology not found" | Use `list_technologies` to see valid IDs |
242
-
243
- ## Development
244
-
245
- ```bash
246
- cd packages/mcp-server
247
- bun install
248
- bun run build
249
- bun run dev # Watch mode
250
- bun test # Run tests
251
- ```
252
-
253
- ## Links
254
-
255
- - **Website**: [stacksfinder.com](https://stacksfinder.com)
256
- - **Pricing**: [stacksfinder.com/pricing](https://stacksfinder.com/pricing)
257
- - **GitHub**: [github.com/hoklims/stacksfinder-mcp](https://github.com/hoklims/stacksfinder-mcp)
258
- - **npm**: [@stacksfinder/mcp-server](https://www.npmjs.com/package/@stacksfinder/mcp-server)
259
-
260
- ## License
261
-
262
- MIT
1
+ # @stacksfinder/mcp-server
2
+
3
+ [![smithery badge](https://smithery.ai/badge/hoklims/stacksfinder-mcp)](https://smithery.ai/server/hoklims/stacksfinder-mcp)
4
+ [![npm version](https://img.shields.io/npm/v/@stacksfinder/mcp-server.svg)](https://www.npmjs.com/package/@stacksfinder/mcp-server)
5
+ [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
6
+
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
+
9
+ **Try it free** — 8 tools work without an account, including a daily demo recommendation and MCP project kit tools.
10
+
11
+ ## Quick Start
12
+
13
+ ### Claude Code (CLI)
14
+
15
+ ```bash
16
+ # Add to Claude Code
17
+ claude mcp add stacksfinder npx -y @stacksfinder/mcp-server
18
+
19
+ # With API key for full features
20
+ claude mcp add-json stacksfinder '{
21
+ "command": "npx",
22
+ "args": ["-y", "@stacksfinder/mcp-server"],
23
+ "env": {"STACKSFINDER_API_KEY": "sk_live_xxx"}
24
+ }'
25
+ ```
26
+
27
+ ### Claude Desktop
28
+
29
+ Add to `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `%APPDATA%\Claude\claude_desktop_config.json` (Windows):
30
+
31
+ ```json
32
+ {
33
+ "mcpServers": {
34
+ "stacksfinder": {
35
+ "command": "npx",
36
+ "args": ["-y", "@stacksfinder/mcp-server"],
37
+ "env": {
38
+ "STACKSFINDER_API_KEY": "sk_live_xxx"
39
+ }
40
+ }
41
+ }
42
+ }
43
+ ```
44
+
45
+ ### Cursor / Windsurf
46
+
47
+ Add to `.cursor/mcp.json` or `.windsurf/mcp.json` in your project root:
48
+
49
+ ```json
50
+ {
51
+ "mcpServers": {
52
+ "stacksfinder": {
53
+ "command": "npx",
54
+ "args": ["-y", "@stacksfinder/mcp-server"],
55
+ "env": {
56
+ "STACKSFINDER_API_KEY": "sk_live_xxx"
57
+ }
58
+ }
59
+ }
60
+ }
61
+ ```
62
+
63
+ ### VS Code + Copilot
64
+
65
+ Add to `.vscode/mcp.json`:
66
+
67
+ ```json
68
+ {
69
+ "servers": {
70
+ "stacksfinder": {
71
+ "command": "npx",
72
+ "args": ["-y", "@stacksfinder/mcp-server"],
73
+ "env": {
74
+ "STACKSFINDER_API_KEY": "sk_live_xxx"
75
+ }
76
+ }
77
+ }
78
+ }
79
+ ```
80
+
81
+ ## Available Tools
82
+
83
+ ### Free Tools (no account required)
84
+
85
+ | Tool | Description |
86
+ |------|-------------|
87
+ | `list_technologies` | List all 30+ tech IDs by category |
88
+ | `analyze_tech` | 6-dimension scores, strengths, weaknesses, compatible techs |
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 |
96
+
97
+ ### Pro Tools (requires API key)
98
+
99
+ | Tool | Description |
100
+ |------|-------------|
101
+ | `recommend_stack` | Unlimited recommendations with priorities & constraints |
102
+ | `get_blueprint` | Fetch existing blueprint by ID |
103
+ | `create_blueprint` | Generate new blueprint with AI narrative |
104
+ | `setup_api_key` | Authenticate and create API key from MCP |
105
+ | `list_api_keys` | List your API keys |
106
+ | `revoke_api_key` | Revoke an API key |
107
+
108
+ ### Audit Tools (requires API key) 🆕
109
+
110
+ | Tool | Description |
111
+ |------|-------------|
112
+ | `create_audit` | Run technical debt audit on your stack |
113
+ | `get_audit` | Fetch audit report by ID |
114
+ | `list_audits` | List your audit reports |
115
+ | `compare_audits` | Compare two audits to track progress |
116
+ | `get_audit_quota` | Check your remaining audit quota |
117
+ | `get_migration_recommendation` | **NEW** Analyze audit for migration opportunities with builder constraints |
118
+
119
+ Get your API key at [stacksfinder.com/pricing](https://stacksfinder.com/pricing)
120
+
121
+ ## Tool Examples
122
+
123
+ ### list_technologies
124
+
125
+ ```
126
+ > list_technologies category="database"
127
+
128
+ Available databases:
129
+ - postgres (PostgreSQL)
130
+ - sqlite (SQLite)
131
+ - supabase (Supabase)
132
+ - planetscale (PlanetScale)
133
+ - turso (Turso)
134
+ - neon (Neon)
135
+ ```
136
+
137
+ ### analyze_tech
138
+
139
+ ```
140
+ > analyze_tech technology="sveltekit" context="mvp"
141
+
142
+ ## SvelteKit Analysis (MVP Context)
143
+
144
+ | Dimension | Score | Grade |
145
+ |-----------|-------|-------|
146
+ | Performance | 92 | A |
147
+ | DX | 88 | A |
148
+ | Ecosystem | 72 | B |
149
+ | Maintainability | 85 | A |
150
+ | Cost | 90 | A |
151
+ | Compliance | 75 | B |
152
+
153
+ **Overall: 84/100 (A)**
154
+
155
+ Strengths:
156
+ - Compiler-first architecture, tiny bundles
157
+ - Excellent TypeScript support
158
+ - Built-in SSR, SSG, and edge rendering
159
+
160
+ Weaknesses:
161
+ - Smaller ecosystem than React
162
+ - Fewer enterprise case studies
163
+ ```
164
+
165
+ ### compare_techs
166
+
167
+ ```
168
+ > compare_techs technologies=["nextjs", "sveltekit", "nuxt"]
169
+
170
+ ## Comparison: Next.js vs SvelteKit vs Nuxt
171
+
172
+ | Tech | Score | Grade |
173
+ |------|-------|-------|
174
+ | Next.js | 82 | A |
175
+ | SvelteKit | 84 | A |
176
+ | Nuxt | 79 | B |
177
+
178
+ Per-dimension winners:
179
+ - Performance: SvelteKit (+10)
180
+ - DX: SvelteKit (+3)
181
+ - Ecosystem: Next.js (+15)
182
+ ```
183
+
184
+ ### recommend_stack (Free Demo)
185
+
186
+ ```
187
+ > recommend_stack projectType="saas" scale="mvp"
188
+
189
+ ## Recommended Stack for SaaS (MVP)
190
+
191
+ | Category | Technology | Score | Grade |
192
+ |----------|------------|-------|-------|
193
+ | meta-framework | SvelteKit | 84 | A |
194
+ | database | Supabase | 82 | A |
195
+ | orm | Drizzle | 86 | A |
196
+ | auth | Better Auth | 80 | A |
197
+ | hosting | Vercel | 85 | A |
198
+ | payments | Paddle | 86 | A |
199
+
200
+ **Confidence**: medium (demo mode)
201
+
202
+ ---
203
+ Want more? Upgrade to Pro for custom priorities, constraints, and AI narratives.
204
+ ```
205
+
206
+ ### create_audit (Pro)
207
+
208
+ ```
209
+ > create_audit name="Q1 2026 Review" technologies=[{name:"react",version:"18.2.0"},{name:"lodash",version:"4.17.20"},{name:"express",version:"4.17.0"}]
210
+
211
+ ## Audit Report: Q1 2026 Review
212
+
213
+ **Health Score: 72/100** ⚠️
214
+
215
+ | Severity | Count |
216
+ |----------|-------|
217
+ | 🔴 Critical | 2 |
218
+ | 🟠 High | 1 |
219
+ | 🟡 Medium | 3 |
220
+ | 🟢 Low | 2 |
221
+ | ℹ️ Info | 5 |
222
+
223
+ ### Critical Findings
224
+
225
+ **🔴 Security vulnerability in lodash** (lodash 4.17.20)
226
+ CVE-2021-23337 - Prototype pollution vulnerability
227
+ Upgrade to lodash 4.17.21 or later
228
+
229
+ **🔴 Outdated Express version** (express 4.17.0)
230
+ Express 4.17.0 is missing security patches
231
+ → Upgrade to express 4.21+ for security fixes
232
+ ```
233
+
234
+ ### compare_audits (Pro)
235
+
236
+ ```
237
+ > compare_audits baseAuditId="uuid-jan" compareAuditId="uuid-mar"
238
+
239
+ ## Audit Comparison
240
+
241
+ **Trend: 📈 Improving** (+16 health score)
242
+
243
+ | Metric | January | March |
244
+ |--------|---------|-------|
245
+ | Health Score | 62 | 78 |
246
+ | Critical | 4 | 1 |
247
+ | High | 6 | 3 |
248
+
249
+ ### Resolved Issues (6)
250
+ - Critical: lodash vulnerability
251
+ - ✅ High: moment.js deprecation
252
+ - ✅ High: outdated Node version
253
+ ```
254
+
255
+ ### check_mcp_compatibility 🆕
256
+
257
+ ```
258
+ > check_mcp_compatibility mcps=["supabase-mcp", "neon-mcp", "prisma-mcp"]
259
+
260
+ ## MCP Compatibility Check
261
+
262
+ **Health Score: 65/100** (Grade: C)
263
+
264
+ ### ⚠️ Conflicts (1)
265
+ - **supabase-mcp** ↔ **neon-mcp**: Both provide database services
266
+
267
+ ### 🔄 Redundancies (1)
268
+ - **prisma-mcp** + **supabase-mcp**: Supabase has built-in client
269
+
270
+ ### ✅ Synergies (0)
271
+ None detected
272
+
273
+ ### 💡 Suggestions
274
+ - Choose one database provider (Supabase OR Neon)
275
+ - If using Supabase, Prisma may be redundant
276
+ ```
277
+
278
+ ### generate_mcp_kit 🆕
279
+
280
+ ```
281
+ > generate_mcp_kit projectDescription="SaaS for project management with Supabase and Stripe"
282
+
283
+ ## Recommended Stack
284
+
285
+ | Category | Technology | Score |
286
+ |----------|------------|-------|
287
+ | meta-framework | SvelteKit | 84 |
288
+ | database | Supabase | 82 |
289
+ | auth | Better Auth | 80 |
290
+ | payments | Stripe | 96 |
291
+
292
+ ## Recommended MCPs
293
+
294
+ | MCP | Priority | Why |
295
+ |-----|----------|-----|
296
+ | supabase-mcp | High | Direct database access |
297
+ | stripe-mcp | High | Payment integration |
298
+ | github-mcp | Medium | Version control |
299
+
300
+ Install all with:
301
+ claude mcp add-json supabase-mcp '{"command":"npx","args":["-y","@supabase/mcp"]}'
302
+ ```
303
+
304
+ ### prepare_mcp_installation 🆕
305
+
306
+ ```
307
+ > prepare_mcp_installation
308
+
309
+ ✅ Generated .env-mcp with 5 MCP(s) to install.
310
+
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
316
+ ```
317
+
318
+ ### execute_mcp_installation 🆕
319
+
320
+ ```
321
+ > execute_mcp_installation targetClient="claude-code"
322
+
323
+ # MCP Installation Summary
324
+
325
+ - ✅ Ready to install: 3
326
+ - ⏳ Missing credentials: 1
327
+ - ⏭️ Skipped: 1
328
+
329
+ ## Ready to Install
330
+ - ✅ **Supabase MCP** (`supabase-mcp`)
331
+ - ✅ **GitHub MCP** (`github-mcp`)
332
+ - ✅ **Context7 MCP** (`context7-mcp`)
333
+
334
+ ## Installation Command
335
+ claude mcp add-json supabase-mcp '...' && claude mcp add-json github-mcp '...'
336
+ ```
337
+
338
+ ## Environment Variables
339
+
340
+ | Variable | Required | Default | Description |
341
+ |----------|----------|---------|-------------|
342
+ | `STACKSFINDER_API_KEY` | For Pro tools | - | API key from stacksfinder.com |
343
+ | `STACKSFINDER_API_URL` | No | `https://stacksfinder.com` | API base URL |
344
+ | `STACKSFINDER_MCP_DEBUG` | No | `false` | Enable debug logging |
345
+
346
+ ## Score Dimensions
347
+
348
+ All technology scores are measured across 6 dimensions (0-100):
349
+
350
+ | Dimension | Description |
351
+ |-----------|-------------|
352
+ | **Performance** | Runtime speed, bundle size, optimization potential |
353
+ | **DX** | Learning curve, tooling, documentation quality |
354
+ | **Ecosystem** | Community size, integrations, job market |
355
+ | **Maintainability** | Long-term code health, upgrade path |
356
+ | **Cost** | Hosting costs, licensing, operational overhead |
357
+ | **Compliance** | Security features, audit readiness |
358
+
359
+ ## Contexts
360
+
361
+ Scores vary by project context:
362
+
363
+ - **default**: General-purpose scores
364
+ - **mvp**: Optimized for speed-to-market, lower cost
365
+ - **enterprise**: Emphasizes compliance, maintainability, support
366
+
367
+ ## Error Handling
368
+
369
+ Structured errors with suggestions:
370
+
371
+ ```
372
+ **Error (TECH_NOT_FOUND)**: Technology "nexjs" not found.
373
+ **Suggestions**: nextjs, nuxt, nestjs
374
+ ```
375
+
376
+ ## Troubleshooting
377
+
378
+ ### Debug mode
379
+
380
+ ```bash
381
+ STACKSFINDER_MCP_DEBUG=true npx @stacksfinder/mcp-server
382
+ ```
383
+
384
+ ### Common issues
385
+
386
+ | Issue | Solution |
387
+ |-------|----------|
388
+ | "API key required" | Get key at [stacksfinder.com/pricing](https://stacksfinder.com/pricing) |
389
+ | "Daily limit reached" | Wait 24h or upgrade to Pro |
390
+ | "Technology not found" | Use `list_technologies` to see valid IDs |
391
+
392
+ ## Development
393
+
394
+ ```bash
395
+ cd packages/mcp-server
396
+ bun install
397
+ bun run build
398
+ bun run dev # Watch mode
399
+ bun test # Run tests
400
+ ```
401
+
402
+ ## Links
403
+
404
+ - **Website**: [stacksfinder.com](https://stacksfinder.com)
405
+ - **Pricing**: [stacksfinder.com/pricing](https://stacksfinder.com/pricing)
406
+ - **Discord**: [discord.gg/scBHF2EumC](https://discord.gg/scBHF2EumC)
407
+ - **Glama**: [glama.ai/mcp/servers/@stacksfinder/mcp-server](https://glama.ai/mcp/servers/@stacksfinder/mcp-server)
408
+ - **Smithery**: [smithery.ai/server/hoklims/stacksfinder-mcp](https://smithery.ai/server/hoklims/stacksfinder-mcp)
409
+ - **GitHub**: [github.com/hoklims/stacksfinder-mcp](https://github.com/hoklims/stacksfinder-mcp)
410
+ - **npm**: [@stacksfinder/mcp-server](https://www.npmjs.com/package/@stacksfinder/mcp-server)
411
+
412
+ ## License
413
+
414
+ MIT