@global-packages/mcp-kit 1.0.0 → 1.0.3

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 (121) hide show
  1. package/dist/commands/add.d.ts.map +1 -1
  2. package/dist/commands/add.js +117 -71
  3. package/dist/commands/add.js.map +1 -1
  4. package/dist/commands/backup.d.ts.map +1 -1
  5. package/dist/commands/backup.js +27 -27
  6. package/dist/commands/backup.js.map +1 -1
  7. package/dist/commands/completion.d.ts.map +1 -1
  8. package/dist/commands/completion.js +50 -35
  9. package/dist/commands/completion.js.map +1 -1
  10. package/dist/commands/doctor.d.ts +5 -1
  11. package/dist/commands/doctor.d.ts.map +1 -1
  12. package/dist/commands/doctor.js +128 -104
  13. package/dist/commands/doctor.js.map +1 -1
  14. package/dist/commands/env-check.d.ts.map +1 -1
  15. package/dist/commands/env-check.js +63 -40
  16. package/dist/commands/env-check.js.map +1 -1
  17. package/dist/commands/export.d.ts +6 -4
  18. package/dist/commands/export.d.ts.map +1 -1
  19. package/dist/commands/export.js +52 -41
  20. package/dist/commands/export.js.map +1 -1
  21. package/dist/commands/import.d.ts.map +1 -1
  22. package/dist/commands/import.js +109 -74
  23. package/dist/commands/import.js.map +1 -1
  24. package/dist/commands/info.d.ts.map +1 -1
  25. package/dist/commands/info.js +60 -56
  26. package/dist/commands/info.js.map +1 -1
  27. package/dist/commands/init.d.ts +5 -2
  28. package/dist/commands/init.d.ts.map +1 -1
  29. package/dist/commands/init.js +189 -87
  30. package/dist/commands/init.js.map +1 -1
  31. package/dist/commands/install.d.ts.map +1 -1
  32. package/dist/commands/install.js +56 -48
  33. package/dist/commands/install.js.map +1 -1
  34. package/dist/commands/list.d.ts +5 -2
  35. package/dist/commands/list.d.ts.map +1 -1
  36. package/dist/commands/list.js +103 -45
  37. package/dist/commands/list.js.map +1 -1
  38. package/dist/commands/open.d.ts.map +1 -1
  39. package/dist/commands/open.js +31 -23
  40. package/dist/commands/open.js.map +1 -1
  41. package/dist/commands/remove.d.ts.map +1 -1
  42. package/dist/commands/remove.js +60 -43
  43. package/dist/commands/remove.js.map +1 -1
  44. package/dist/commands/reset.d.ts.map +1 -1
  45. package/dist/commands/reset.js +52 -48
  46. package/dist/commands/reset.js.map +1 -1
  47. package/dist/commands/search.d.ts.map +1 -1
  48. package/dist/commands/search.js +52 -20
  49. package/dist/commands/search.js.map +1 -1
  50. package/dist/commands/status.d.ts.map +1 -1
  51. package/dist/commands/status.js +94 -76
  52. package/dist/commands/status.js.map +1 -1
  53. package/dist/commands/toggle.d.ts.map +1 -1
  54. package/dist/commands/toggle.js +22 -24
  55. package/dist/commands/toggle.js.map +1 -1
  56. package/dist/commands/update.d.ts.map +1 -1
  57. package/dist/commands/update.js +86 -62
  58. package/dist/commands/update.js.map +1 -1
  59. package/dist/commands/validate.d.ts.map +1 -1
  60. package/dist/commands/validate.js +43 -37
  61. package/dist/commands/validate.js.map +1 -1
  62. package/dist/constants.d.ts +3 -1
  63. package/dist/constants.d.ts.map +1 -1
  64. package/dist/constants.js +377 -78
  65. package/dist/constants.js.map +1 -1
  66. package/dist/core/credentials.d.ts +15 -2
  67. package/dist/core/credentials.d.ts.map +1 -1
  68. package/dist/core/credentials.js +205 -116
  69. package/dist/core/credentials.js.map +1 -1
  70. package/dist/core/detector.d.ts +28 -2
  71. package/dist/core/detector.d.ts.map +1 -1
  72. package/dist/core/detector.js +101 -60
  73. package/dist/core/detector.js.map +1 -1
  74. package/dist/core/registry.d.ts +25 -1
  75. package/dist/core/registry.d.ts.map +1 -1
  76. package/dist/core/registry.js +45 -33
  77. package/dist/core/registry.js.map +1 -1
  78. package/dist/core/validator.d.ts +18 -2
  79. package/dist/core/validator.d.ts.map +1 -1
  80. package/dist/core/validator.js +53 -30
  81. package/dist/core/validator.js.map +1 -1
  82. package/dist/core/writer.d.ts +19 -1
  83. package/dist/core/writer.d.ts.map +1 -1
  84. package/dist/core/writer.js +41 -35
  85. package/dist/core/writer.js.map +1 -1
  86. package/dist/index.d.ts +0 -1
  87. package/dist/index.js +233 -123
  88. package/dist/index.js.map +1 -1
  89. package/dist/postinstall.js +25 -30
  90. package/dist/postinstall.js.map +1 -1
  91. package/dist/prompts/dev-prompts.d.ts +10 -2
  92. package/dist/prompts/dev-prompts.d.ts.map +1 -1
  93. package/dist/prompts/dev-prompts.js +87 -31
  94. package/dist/prompts/dev-prompts.js.map +1 -1
  95. package/dist/prompts/non-dev-prompts.d.ts +16 -2
  96. package/dist/prompts/non-dev-prompts.d.ts.map +1 -1
  97. package/dist/prompts/non-dev-prompts.js +90 -35
  98. package/dist/prompts/non-dev-prompts.js.map +1 -1
  99. package/dist/prompts/shared-prompts.d.ts +10 -1
  100. package/dist/prompts/shared-prompts.d.ts.map +1 -1
  101. package/dist/prompts/shared-prompts.js +66 -43
  102. package/dist/prompts/shared-prompts.js.map +1 -1
  103. package/dist/types.d.ts +22 -6
  104. package/dist/types.d.ts.map +1 -1
  105. package/dist/types.js +4 -2
  106. package/dist/types.js.map +1 -1
  107. package/dist/utils/fs.d.ts +36 -4
  108. package/dist/utils/fs.d.ts.map +1 -1
  109. package/dist/utils/fs.js +92 -28
  110. package/dist/utils/fs.js.map +1 -1
  111. package/dist/utils/logger.d.ts.map +1 -1
  112. package/dist/utils/logger.js +18 -24
  113. package/dist/utils/logger.js.map +1 -1
  114. package/dist/utils/network.d.ts +12 -1
  115. package/dist/utils/network.d.ts.map +1 -1
  116. package/dist/utils/network.js +37 -9
  117. package/dist/utils/network.js.map +1 -1
  118. package/dist/utils/spinner.js +10 -19
  119. package/dist/utils/spinner.js.map +1 -1
  120. package/package.json +58 -16
  121. package/src/postinstall.ts +121 -0
package/dist/constants.js CHANGED
@@ -1,12 +1,6 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.VSCODE_SEARCH_DEPTH = exports.MCP_KIT_META_PATH = exports.NON_DEV_MCP_IDS = exports.DEV_MCP_IDS = exports.MCP_REGISTRY = void 0;
7
- const node_os_1 = __importDefault(require("node:os"));
8
- const node_path_1 = __importDefault(require("node:path"));
9
- exports.MCP_REGISTRY = [
1
+ import os from "node:os";
2
+ import path from "node:path";
3
+ export const MCP_REGISTRY = [
10
4
  {
11
5
  id: "azure",
12
6
  name: "Azure MCP",
@@ -26,28 +20,28 @@ exports.MCP_REGISTRY = [
26
20
  label: "Azure Subscription ID",
27
21
  secret: false,
28
22
  required: true,
29
- hint: "Azure Portal → Subscriptions → copy Subscription ID"
23
+ hint: "Azure Portal → Subscriptions → copy Subscription ID",
30
24
  },
31
25
  {
32
26
  key: "AZURE_TENANT_ID",
33
27
  label: "Azure Tenant ID (optional)",
34
28
  secret: false,
35
29
  required: false,
36
- hint: "Azure Portal → Azure Active Directory → Tenant ID"
30
+ hint: "Azure Portal → Azure Active Directory → Tenant ID",
37
31
  },
38
32
  {
39
33
  key: "AZURE_CLIENT_ID",
40
34
  label: "Azure Client ID (optional, for service principal)",
41
35
  secret: false,
42
- required: false
36
+ required: false,
43
37
  },
44
38
  {
45
39
  key: "AZURE_CLIENT_SECRET",
46
40
  label: "Azure Client Secret (optional, for service principal)",
47
41
  secret: true,
48
- required: false
49
- }
50
- ]
42
+ required: false,
43
+ },
44
+ ],
51
45
  },
52
46
  {
53
47
  id: "confluence",
@@ -56,90 +50,139 @@ exports.MCP_REGISTRY = [
56
50
  category: "documentation",
57
51
  npmPackage: "@global-packages/confluence-mcp",
58
52
  command: "npx",
59
- args: ["-y", "@global-packages/confluence-mcp"],
53
+ args: ["{CONFLUENECE_LOCAL_PATH}"],
60
54
  devOnly: false,
61
55
  nonDevOnly: false,
62
56
  requiresNetwork: true,
63
57
  docsUrl: "https://github.com/global-packages/confluence-mcp",
64
58
  healthCheckUrl: "https://www.atlassian.com",
65
59
  envVars: [
60
+ {
61
+ key: "CONFLUENECE_LOCAL_PATH",
62
+ label: "Confluence Local Path (path to confluence-mcp)",
63
+ secret: false,
64
+ required: false,
65
+ hint: "Path to local confluence CLI installation (e.g. /Users/yourname/confluence-cli) - leave blank to auto-install latest confluence CLI on each run",
66
+ },
66
67
  {
67
68
  key: "CONFLUENCE_URL",
68
69
  label: "Confluence Base URL",
69
70
  secret: false,
70
71
  required: true,
71
- hint: "e.g. https://yourcompany.atlassian.net"
72
+ hint: "e.g. https://yourcompany.atlassian.net",
72
73
  },
73
74
  {
74
75
  key: "CONFLUENCE_TOKEN",
75
76
  label: "Confluence API Token",
76
77
  secret: true,
77
78
  required: true,
78
- hint: "Atlassian Account → Security → API Tokens → Create token"
79
+ hint: "Atlassian Account → Security → API Tokens → Create token",
79
80
  },
80
81
  {
81
82
  key: "CONFLUENCE_EMAIL",
82
83
  label: "Atlassian Account Email",
83
84
  secret: false,
84
85
  required: true,
85
- hint: "Email you use to log into Confluence"
86
+ hint: "Email you use to log into Confluence",
86
87
  },
87
88
  {
88
89
  key: "CONFLUENCE_SPACE",
89
90
  label: "Confluence Space Key (optional)",
90
91
  secret: false,
91
92
  required: false,
92
- hint: "e.g. OPS, ENGG, DEV — leave blank to search all spaces"
93
- }
94
- ]
93
+ hint: "e.g. OPS, ENGG, DEV — leave blank to search all spaces",
94
+ },
95
+ {
96
+ key: "NODE_EXTRA_CA_CERTS",
97
+ label: "Path to additional CA certificates (optional)",
98
+ secret: false,
99
+ required: false,
100
+ hint: "Path to .pem file with additional CA certificates, if your Confluence uses a self-signed certificate (e.g. /Users/yourname/certs/ca.pem)",
101
+ },
102
+ {
103
+ key: "NO_PROXY",
104
+ label: "No Proxy (optional)",
105
+ secret: false,
106
+ required: false,
107
+ hint: "Comma-separated list of hosts to exclude from proxy, if your Confluence is on a private network (e.g. localhost,127.0.0.1)",
108
+ },
109
+ ],
95
110
  },
96
111
  {
97
112
  id: "mssql",
98
113
  name: "MSSQL MCP",
99
- description: "Query Microsoft SQL Server and Azure SQL databases",
114
+ description: "Query Microsoft SQL Server and Azure SQL databases via DBHub",
100
115
  category: "database",
101
- npmPackage: "mssql-mcp",
116
+ npmPackage: "@bytebase/dbhub",
102
117
  command: "npx",
103
- args: ["-y", "mssql-mcp"],
118
+ args: ["@bytebase/dbhub@latest"],
104
119
  devOnly: true,
105
120
  nonDevOnly: false,
106
121
  requiresNetwork: true,
107
- docsUrl: "https://github.com/dambakk/mssql-mcp",
108
- healthCheckUrl: "https://www.microsoft.com",
122
+ docsUrl: "https://github.com/bytebase/dbhub",
109
123
  envVars: [
110
124
  {
111
- key: "MSSQL_CONNECTION_STRING",
112
- label: "MSSQL Connection String",
113
- secret: true,
125
+ key: "DB_TYPE",
126
+ label: "Database Type",
127
+ secret: false,
114
128
  required: false,
115
- hint: "Server=myserver;Database=mydb;User Id=sa;Password=xxxx;"
129
+ defaultValue: "sqlserver",
130
+ hint: "e.g. sqlserver, mysql, postgres",
116
131
  },
117
132
  {
118
- key: "MSSQL_SERVER",
119
- label: "MSSQL Server Host (alternative to connection string)",
133
+ key: "DB_HOST",
134
+ label: "Database Host",
120
135
  secret: false,
121
136
  required: false,
122
- hint: "e.g. myserver.database.windows.net"
137
+ hint: "e.g. myserver.database.windows.net",
123
138
  },
124
139
  {
125
- key: "MSSQL_DATABASE",
126
- label: "Database Name",
140
+ key: "DB_PORT",
141
+ label: "Database Port",
127
142
  secret: false,
128
- required: false
143
+ required: false,
144
+ defaultValue: "1433",
129
145
  },
130
146
  {
131
- key: "MSSQL_USER",
147
+ key: "DB_USER",
132
148
  label: "Database Username",
133
149
  secret: false,
134
- required: false
150
+ required: false,
135
151
  },
136
152
  {
137
- key: "MSSQL_PASSWORD",
153
+ key: "DB_PASSWORD",
138
154
  label: "Database Password",
139
155
  secret: true,
140
- required: false
141
- }
142
- ]
156
+ required: false,
157
+ },
158
+ {
159
+ key: "DB_NAME",
160
+ label: "Database Name",
161
+ secret: false,
162
+ required: false,
163
+ },
164
+ {
165
+ key: "HTTP_PROXY",
166
+ label: "HTTP Proxy (optional)",
167
+ secret: false,
168
+ required: false,
169
+ hint: "e.g. http://proxyserver:8080 - needed if your database is behind a proxy",
170
+ },
171
+ {
172
+ key: "NODE_EXTRA_CA_CERTS",
173
+ label: "Path to additional CA certificates (optional)",
174
+ secret: false,
175
+ required: false,
176
+ hint: "Path to .pem file with additional CA certificates, if your Confluence uses a self-signed certificate (e.g. /Users/yourname/certs/ca.pem)",
177
+ },
178
+ {
179
+ key: "NO_PROXY",
180
+ label: "No Proxy (optional)",
181
+ secret: false,
182
+ required: false,
183
+ hint: "Comma-separated list of hosts to exclude from proxy, if your Confluence is on a private network (e.g. localhost,127.0.0.1)",
184
+ },
185
+ ],
143
186
  },
144
187
  {
145
188
  id: "playwright",
@@ -148,12 +191,12 @@ exports.MCP_REGISTRY = [
148
191
  category: "testing",
149
192
  npmPackage: "@playwright/mcp",
150
193
  command: "npx",
151
- args: ["@playwright/mcp@latest"],
194
+ args: ['-y', "@playwright/mcp@latest"],
152
195
  devOnly: true,
153
196
  nonDevOnly: false,
154
197
  requiresNetwork: false,
155
198
  docsUrl: "https://github.com/microsoft/playwright-mcp",
156
- envVars: []
199
+ envVars: [],
157
200
  },
158
201
  {
159
202
  id: "runbook",
@@ -174,35 +217,41 @@ exports.MCP_REGISTRY = [
174
217
  label: "GitHub Personal Access Token (if runbooks are on GitHub)",
175
218
  secret: true,
176
219
  required: false,
177
- hint: "GitHub → Settings → Developer Settings → Personal Access Tokens"
220
+ hint: "GitHub → Settings → Developer Settings → Personal Access Tokens",
178
221
  },
179
222
  {
180
223
  key: "GITHUB_REPO",
181
224
  label: "GitHub Repo containing runbooks (org/repo)",
182
225
  secret: false,
183
226
  required: false,
184
- hint: "e.g. my-org/runbooks"
227
+ hint: "e.g. my-org/runbooks",
185
228
  },
186
229
  {
187
230
  key: "ADO_TOKEN",
188
231
  label: "Azure DevOps PAT (if runbooks are in ADO Wiki)",
189
232
  secret: true,
190
233
  required: false,
191
- hint: "ADO → User Settings → Personal Access Tokens"
234
+ hint: "ADO → User Settings → Personal Access Tokens",
192
235
  },
193
236
  {
194
237
  key: "ADO_ORG",
195
238
  label: "Azure DevOps Organization",
196
239
  secret: false,
197
- required: false
240
+ required: false,
241
+ },
242
+ {
243
+ key: "ADO_PROJECT",
244
+ label: "Azure DevOps Project",
245
+ secret: false,
246
+ required: false,
198
247
  },
199
248
  {
200
249
  key: "ADO_PROJECT",
201
250
  label: "Azure DevOps Project",
202
251
  secret: false,
203
- required: false
252
+ required: false,
204
253
  }
205
- ]
254
+ ],
206
255
  },
207
256
  {
208
257
  id: "filesystem",
@@ -211,7 +260,7 @@ exports.MCP_REGISTRY = [
211
260
  category: "filesystem",
212
261
  npmPackage: "@modelcontextprotocol/server-filesystem",
213
262
  command: "npx",
214
- args: ["-y", "@modelcontextprotocol/server-filesystem"],
263
+ args: ["-y", "@modelcontextprotocol/server-filesystem", '${FILESYSTEM_ALLOWED_PATH}'],
215
264
  devOnly: true,
216
265
  nonDevOnly: false,
217
266
  requiresNetwork: false,
@@ -222,9 +271,9 @@ exports.MCP_REGISTRY = [
222
271
  label: "Allowed directory path for filesystem access",
223
272
  secret: false,
224
273
  required: true,
225
- hint: "e.g. /Users/yourname/projects or C:\\Projects"
226
- }
227
- ]
274
+ hint: "e.g. /Users/yourname/projects or C:\\Projects",
275
+ },
276
+ ],
228
277
  },
229
278
  {
230
279
  id: "git",
@@ -233,7 +282,7 @@ exports.MCP_REGISTRY = [
233
282
  category: "versioncontrol",
234
283
  npmPackage: "@modelcontextprotocol/server-git",
235
284
  command: "npx",
236
- args: ["-y", "@modelcontextprotocol/server-git"],
285
+ args: ["-y", "@modelcontextprotocol/server-git", '--repository', '${GIT_REPO_PATH}'],
237
286
  devOnly: true,
238
287
  nonDevOnly: false,
239
288
  requiresNetwork: false,
@@ -244,9 +293,9 @@ exports.MCP_REGISTRY = [
244
293
  label: "Path to your git repository",
245
294
  secret: false,
246
295
  required: true,
247
- hint: "e.g. /Users/yourname/projects/my-app"
248
- }
249
- ]
296
+ hint: "e.g. /Users/yourname/projects/my-app",
297
+ },
298
+ ],
250
299
  },
251
300
  {
252
301
  id: "azuredevops",
@@ -255,7 +304,7 @@ exports.MCP_REGISTRY = [
255
304
  category: "devops",
256
305
  npmPackage: "@azure-devops/mcp",
257
306
  command: "npx",
258
- args: ["-y", "@azure-devops/mcp"],
307
+ args: ['--verbose', "-y", "@azure-devops/mcp"],
259
308
  devOnly: false,
260
309
  nonDevOnly: false,
261
310
  requiresNetwork: true,
@@ -267,22 +316,29 @@ exports.MCP_REGISTRY = [
267
316
  label: "Azure DevOps Personal Access Token",
268
317
  secret: true,
269
318
  required: true,
270
- hint: "ADO → User Settings (top right) → Personal Access Tokens"
319
+ hint: "ADO → User Settings (top right) → Personal Access Tokens",
320
+ },
321
+ {
322
+ key: "ADO_PAT_TOKEN",
323
+ label: "Azure DevOps Personal Access Token (alternative)",
324
+ secret: true,
325
+ required: false,
326
+ hint: "ADO → User Settings (top right) → Personal Access Tokens - alternative env var name",
271
327
  },
272
328
  {
273
329
  key: "ADO_ORG",
274
330
  label: "Azure DevOps Organization Name",
275
331
  secret: false,
276
332
  required: true,
277
- hint: "e.g. mycompany (from dev.azure.com/mycompany)"
333
+ hint: "e.g. mycompany (from dev.azure.com/mycompany)",
278
334
  },
279
335
  {
280
336
  key: "ADO_PROJECT",
281
337
  label: "Azure DevOps Project Name",
282
338
  secret: false,
283
- required: true
284
- }
285
- ]
339
+ required: true,
340
+ },
341
+ ],
286
342
  },
287
343
  {
288
344
  id: "postgres",
@@ -303,9 +359,9 @@ exports.MCP_REGISTRY = [
303
359
  label: "PostgreSQL Connection String",
304
360
  secret: true,
305
361
  required: true,
306
- hint: "postgresql://user:password@host:5432/dbname"
307
- }
308
- ]
362
+ hint: "postgresql://user:password@host:5432/dbname",
363
+ },
364
+ ],
309
365
  },
310
366
  {
311
367
  id: "slack",
@@ -326,20 +382,252 @@ exports.MCP_REGISTRY = [
326
382
  label: "Slack Bot Token",
327
383
  secret: true,
328
384
  required: true,
329
- hint: "Slack API → Your App → OAuth & Permissions → Bot User OAuth Token"
385
+ hint: "Slack API → Your App → OAuth & Permissions → Bot User OAuth Token",
330
386
  },
331
387
  {
332
388
  key: "SLACK_TEAM_ID",
333
389
  label: "Slack Team/Workspace ID",
334
390
  secret: false,
335
391
  required: true,
336
- hint: "Slack → Workspace Settings → bottom of page"
337
- }
338
- ]
339
- }
392
+ hint: "Slack → Workspace Settings → bottom of page",
393
+ },
394
+ ],
395
+ },
396
+ {
397
+ // 11. SonarQube MCP
398
+ id: 'sonarqube',
399
+ name: 'SonarQube MCP',
400
+ description: 'Code quality and security analysis via SonarQube MCP server (JAR)',
401
+ category: 'codeanalysis',
402
+ npmPackage: 'sonarqube-mcp-server',
403
+ command: 'java',
404
+ args: [
405
+ '-Djdk.tls.client.protocols=TLSv1.2',
406
+ '-jar',
407
+ '${SONARQUBE_JAR_PATH}',
408
+ ],
409
+ devOnly: true,
410
+ nonDevOnly: false,
411
+ requiresNetwork: true,
412
+ docsUrl: 'https://github.com/SonarSource/mcp-server-sonarqube',
413
+ envVars: [
414
+ {
415
+ key: 'SONARQUBE_JAR_PATH',
416
+ label: 'Path to SonarQube MCP Server JAR file',
417
+ secret: false,
418
+ required: true,
419
+ hint: 'e.g. /Users/yourname/sonarqube-mcp-server-1.9.0.jar',
420
+ },
421
+ {
422
+ key: 'SONARQUBE_TOKEN',
423
+ label: 'SonarQube Token',
424
+ secret: true,
425
+ required: true,
426
+ hint: 'SonarQube → My Account → Security → Generate Token',
427
+ },
428
+ {
429
+ key: 'SONARQUBE_URL',
430
+ label: 'SonarQube Server URL',
431
+ secret: false,
432
+ required: true,
433
+ hint: 'e.g. https://sonarqube.yourdomain.com',
434
+ },
435
+ {
436
+ key: 'STORAGE_PATH',
437
+ label: 'Storage path for SonarQube MCP data (optional)',
438
+ secret: false,
439
+ required: false,
440
+ hint: 'e.g. /Users/yourname/sonarqube-mcp-data',
441
+ },
442
+ {
443
+ key: 'NO_PROXY',
444
+ label: 'No-proxy hosts (optional)',
445
+ secret: false,
446
+ required: false,
447
+ hint: 'e.g. 127.0.0.1, localhost, yourdomain.com',
448
+ },
449
+ ],
450
+ },
451
+ // 12. Context7 MCP
452
+ {
453
+ id: 'context',
454
+ name: 'Context7 MCP',
455
+ description: 'Library documentation and code examples for AI-backed development',
456
+ category: 'documentation',
457
+ npmPackage: '@upstash/context7-mcp',
458
+ command: 'npx',
459
+ args: ['-y', '@upstash/context7-mcp', '--api-key', '${CONTEXT7_API_KEY}'],
460
+ devOnly: false,
461
+ nonDevOnly: false,
462
+ requiresNetwork: true,
463
+ docsUrl: 'https://github.com/upstash/context7',
464
+ envVars: [
465
+ {
466
+ key: 'CONTEXT7_API_KEY',
467
+ label: 'Context7 API Key',
468
+ secret: true,
469
+ required: true,
470
+ hint: 'Get your free API key at upstash.com/context7',
471
+ },
472
+ ],
473
+ },
474
+ // 13. Figma MCP
475
+ {
476
+ id: 'figma',
477
+ name: 'Figma MCP',
478
+ description: 'Read, describe and convert Figma design files',
479
+ category: 'design',
480
+ npmPackage: 'figma-scwebkit-mcp',
481
+ command: 'npx',
482
+ args: ['-y', 'figma-scwebkit-mcp'],
483
+ devOnly: false,
484
+ nonDevOnly: false,
485
+ requiresNetwork: true,
486
+ docsUrl: 'https://github.com/global-packages/figma-scwebkit-mcp',
487
+ envVars: [
488
+ {
489
+ key: 'FIGMA_API_TOKEN',
490
+ label: 'Figma API Token',
491
+ secret: true,
492
+ required: true,
493
+ hint: 'Figma → Account Settings → Personal access tokens → Generate new token',
494
+ },
495
+ {
496
+ key: 'NPM_CONFIG_REGISTRY',
497
+ label: 'NPM Registry URL (optional - leave blank for default)',
498
+ secret: false,
499
+ required: false,
500
+ hint: 'e.g. https://registry.npmjs.org or your private Artifactory registry',
501
+ },
502
+ {
503
+ key: 'HTTP_PROXY',
504
+ label: 'HTTP Proxy (optional)',
505
+ secret: false,
506
+ required: false,
507
+ hint: 'e.g. http://proxy.yourdomain.com:443',
508
+ },
509
+ {
510
+ key: 'HTTPS_PROXY',
511
+ label: 'HTTPS Proxy (optional)',
512
+ secret: false,
513
+ required: false,
514
+ },
515
+ {
516
+ key: 'NO_PROXY',
517
+ label: 'No-proxy hosts (optional)',
518
+ secret: false,
519
+ required: false,
520
+ hint: 'e.g. *.yourdomain.com, internal.domain.com',
521
+ },
522
+ ],
523
+ },
524
+ // 14. Everything / Project Search MCP
525
+ {
526
+ id: 'everything',
527
+ name: 'Everything MCP (Project Search)',
528
+ description: 'Universal search, file system access and development utilities via MCP everything server',
529
+ category: 'filesystem',
530
+ npmPackage: '@modelcontextprotocol/server-everything',
531
+ command: 'npx',
532
+ args: ['-y', '@modelcontextprotocol/server-everything'],
533
+ devOnly: true,
534
+ nonDevOnly: false,
535
+ requiresNetwork: false,
536
+ docsUrl: 'https://github.com/modelcontextprotocol/servers/tree/main/src/everything',
537
+ envVars: [],
538
+ },
539
+ // 15. GCP Cloud Run MCP
540
+ {
541
+ id: 'gcp',
542
+ name: 'GCP Cloud Run MCP',
543
+ description: 'Deploy and manage apps on Google Cloud Run; list services, get logs and manage GCP projects',
544
+ category: 'cloud',
545
+ npmPackage: '@google-cloud/cloud-run-mcp',
546
+ command: 'npx',
547
+ args: ['-y', '@google-cloud/cloud-run-mcp'],
548
+ devOnly: false,
549
+ nonDevOnly: false,
550
+ requiresNetwork: true,
551
+ docsUrl: 'https://github.com/GoogleCloudPlatform/cloud-run-mcp',
552
+ envVars: [
553
+ {
554
+ key: 'GOOGLE_CLOUD_PROJECT',
555
+ label: 'GCP Project ID',
556
+ secret: false,
557
+ required: true,
558
+ hint: 'GCP Console → Select project → Copy Project ID from the top bar',
559
+ },
560
+ {
561
+ key: 'GOOGLE_CLOUD_REGION',
562
+ label: 'GCP Region (optional)',
563
+ secret: false,
564
+ required: false,
565
+ defaultValue: 'us-central1',
566
+ hint: 'e.g. us-central1, europe-west1, asia-southeast1',
567
+ },
568
+ ],
569
+ },
570
+ // 16. AWS Core MCP
571
+ {
572
+ id: 'aws',
573
+ name: 'AWS Core MCP',
574
+ description: 'Manage AWS infrastructure and services using natural language via the awslabs core MCP server',
575
+ category: 'cloud',
576
+ npmPackage: 'awslabs-core-mcp-server',
577
+ command: 'uvx',
578
+ args: ['awslabs-core-mcp-server@latest'],
579
+ devOnly: false,
580
+ nonDevOnly: false,
581
+ requiresNetwork: true,
582
+ docsUrl: 'https://github.com/awslabs/mcp/tree/main/src/core-mcp-server',
583
+ envVars: [
584
+ {
585
+ key: 'AWS_REGION',
586
+ label: 'AWS Region',
587
+ secret: false,
588
+ required: true,
589
+ defaultValue: 'us-east-1',
590
+ hint: 'e.g. us-east-1, ap-southeast-1, eu-west-1',
591
+ },
592
+ {
593
+ key: 'AWS_ACCESS_KEY_ID',
594
+ label: 'AWS Access Key ID',
595
+ secret: true,
596
+ required: true,
597
+ hint: 'IAM Console → Users → Security credentials → Create access key',
598
+ },
599
+ {
600
+ key: 'AWS_SECRET_ACCESS_KEY',
601
+ label: 'AWS Secret Access Key',
602
+ secret: true,
603
+ required: true,
604
+ },
605
+ {
606
+ key: 'AWS_SESSION_TOKEN',
607
+ label: 'AWS Session Token (optional - for SSO / STS temporary credentials)',
608
+ secret: true,
609
+ required: false,
610
+ hint: 'Leave blank for long-term IAM user keys; required for STS/SSO/Identity Center',
611
+ },
612
+ {
613
+ key: 'FASTMCP_LOG_LEVEL',
614
+ label: 'Log level (optional)',
615
+ secret: false,
616
+ required: false,
617
+ defaultValue: 'ERROR',
618
+ hint: 'DEBUG | INFO | WARNING | ERROR - defaults to ERROR',
619
+ },
620
+ ],
621
+ },
340
622
  ];
341
- exports.DEV_MCP_IDS = [
623
+ export const DEV_MCP_IDS = [
342
624
  "azure",
625
+ "everything",
626
+ "gcp",
627
+ "aws",
628
+ "sonarqube",
629
+ "context7",
630
+ "figma",
343
631
  "confluence",
344
632
  "mssql",
345
633
  "playwright",
@@ -348,9 +636,20 @@ exports.DEV_MCP_IDS = [
348
636
  "azuredevops",
349
637
  "postgres",
350
638
  "runbook",
351
- "slack"
639
+ "slack",
640
+ ];
641
+ export const NON_DEV_MCP_IDS = [
642
+ "azure",
643
+ "gcp",
644
+ "aws",
645
+ "figma",
646
+ "confluence",
647
+ "runbook",
648
+ "azuredevops",
649
+ "slack",
352
650
  ];
353
- exports.NON_DEV_MCP_IDS = ["azure", "confluence", "runbook", "azuredevops", "slack"];
354
- exports.MCP_KIT_META_PATH = node_path_1.default.join(node_os_1.default.homedir(), ".mcp-kit", "meta.json");
355
- exports.VSCODE_SEARCH_DEPTH = 5;
651
+ export const MCP_KIT_META_PATH = path.join(os.homedir(), ".mcp-kit", "meta.json");
652
+ export const MCP_KIT_DIR = path.join(os.homedir(), ".mcp-kit");
653
+ export const MCP_KIT_INSTALL_LOG = path.join(os.homedir(), ".mcp-kit,", "install-errors.log");
654
+ export const VSCODE_SEARCH_DEPTH = 5;
356
655
  //# sourceMappingURL=constants.js.map