@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
@@ -0,0 +1,246 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * Input schema for create_audit tool.
4
+ */
5
+ export declare const CreateAuditInputSchema: z.ZodObject<{
6
+ name: z.ZodString;
7
+ technologies: z.ZodArray<z.ZodObject<{
8
+ name: z.ZodString;
9
+ version: z.ZodOptional<z.ZodString>;
10
+ category: z.ZodOptional<z.ZodString>;
11
+ }, "strip", z.ZodTypeAny, {
12
+ name: string;
13
+ category?: string | undefined;
14
+ version?: string | undefined;
15
+ }, {
16
+ name: string;
17
+ category?: string | undefined;
18
+ version?: string | undefined;
19
+ }>, "many">;
20
+ }, "strip", z.ZodTypeAny, {
21
+ technologies: {
22
+ name: string;
23
+ category?: string | undefined;
24
+ version?: string | undefined;
25
+ }[];
26
+ name: string;
27
+ }, {
28
+ technologies: {
29
+ name: string;
30
+ category?: string | undefined;
31
+ version?: string | undefined;
32
+ }[];
33
+ name: string;
34
+ }>;
35
+ export type CreateAuditInput = z.infer<typeof CreateAuditInputSchema>;
36
+ /**
37
+ * Input schema for get_audit tool.
38
+ */
39
+ export declare const GetAuditInputSchema: z.ZodObject<{
40
+ auditId: z.ZodString;
41
+ }, "strip", z.ZodTypeAny, {
42
+ auditId: string;
43
+ }, {
44
+ auditId: string;
45
+ }>;
46
+ export type GetAuditInput = z.infer<typeof GetAuditInputSchema>;
47
+ /**
48
+ * Input schema for list_audits tool.
49
+ */
50
+ export declare const ListAuditsInputSchema: z.ZodObject<{
51
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
52
+ offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
53
+ }, "strip", z.ZodTypeAny, {
54
+ limit: number;
55
+ offset: number;
56
+ }, {
57
+ limit?: number | undefined;
58
+ offset?: number | undefined;
59
+ }>;
60
+ export type ListAuditsInput = z.infer<typeof ListAuditsInputSchema>;
61
+ /**
62
+ * Input schema for compare_audits tool.
63
+ */
64
+ export declare const CompareAuditsInputSchema: z.ZodObject<{
65
+ baseAuditId: z.ZodString;
66
+ compareAuditId: z.ZodString;
67
+ }, "strip", z.ZodTypeAny, {
68
+ baseAuditId: string;
69
+ compareAuditId: string;
70
+ }, {
71
+ baseAuditId: string;
72
+ compareAuditId: string;
73
+ }>;
74
+ export type CompareAuditsInput = z.infer<typeof CompareAuditsInputSchema>;
75
+ /**
76
+ * Input schema for get_audit_quota tool.
77
+ */
78
+ export declare const GetAuditQuotaInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
79
+ export type GetAuditQuotaInput = z.infer<typeof GetAuditQuotaInputSchema>;
80
+ /**
81
+ * Input schema for get_migration_recommendation tool.
82
+ */
83
+ export declare const GetMigrationRecommendationInputSchema: z.ZodObject<{
84
+ auditId: z.ZodString;
85
+ }, "strip", z.ZodTypeAny, {
86
+ auditId: string;
87
+ }, {
88
+ auditId: string;
89
+ }>;
90
+ export type GetMigrationRecommendationInput = z.infer<typeof GetMigrationRecommendationInputSchema>;
91
+ export declare const createAuditToolDefinition: {
92
+ name: string;
93
+ description: string;
94
+ inputSchema: {
95
+ type: "object";
96
+ properties: {
97
+ name: {
98
+ type: string;
99
+ description: string;
100
+ };
101
+ technologies: {
102
+ type: string;
103
+ items: {
104
+ type: string;
105
+ properties: {
106
+ name: {
107
+ type: string;
108
+ description: string;
109
+ };
110
+ version: {
111
+ type: string;
112
+ description: string;
113
+ };
114
+ category: {
115
+ type: string;
116
+ description: string;
117
+ };
118
+ };
119
+ required: string[];
120
+ };
121
+ description: string;
122
+ };
123
+ };
124
+ required: string[];
125
+ };
126
+ };
127
+ export declare const getAuditToolDefinition: {
128
+ name: string;
129
+ description: string;
130
+ inputSchema: {
131
+ type: "object";
132
+ properties: {
133
+ auditId: {
134
+ type: string;
135
+ format: string;
136
+ description: string;
137
+ };
138
+ };
139
+ required: string[];
140
+ };
141
+ };
142
+ export declare const listAuditsToolDefinition: {
143
+ name: string;
144
+ description: string;
145
+ inputSchema: {
146
+ type: "object";
147
+ properties: {
148
+ limit: {
149
+ type: string;
150
+ description: string;
151
+ };
152
+ offset: {
153
+ type: string;
154
+ description: string;
155
+ };
156
+ };
157
+ required: never[];
158
+ };
159
+ };
160
+ export declare const compareAuditsToolDefinition: {
161
+ name: string;
162
+ description: string;
163
+ inputSchema: {
164
+ type: "object";
165
+ properties: {
166
+ baseAuditId: {
167
+ type: string;
168
+ format: string;
169
+ description: string;
170
+ };
171
+ compareAuditId: {
172
+ type: string;
173
+ format: string;
174
+ description: string;
175
+ };
176
+ };
177
+ required: string[];
178
+ };
179
+ };
180
+ export declare const getAuditQuotaToolDefinition: {
181
+ name: string;
182
+ description: string;
183
+ inputSchema: {
184
+ type: "object";
185
+ properties: {};
186
+ required: never[];
187
+ };
188
+ };
189
+ export declare const getMigrationRecommendationToolDefinition: {
190
+ name: string;
191
+ description: string;
192
+ inputSchema: {
193
+ type: "object";
194
+ properties: {
195
+ auditId: {
196
+ type: string;
197
+ format: string;
198
+ description: string;
199
+ };
200
+ };
201
+ required: string[];
202
+ };
203
+ };
204
+ /**
205
+ * Execute create_audit tool.
206
+ */
207
+ export declare function executeCreateAudit(input: CreateAuditInput): Promise<{
208
+ text: string;
209
+ isError?: boolean;
210
+ }>;
211
+ /**
212
+ * Execute get_audit tool.
213
+ */
214
+ export declare function executeGetAudit(input: GetAuditInput): Promise<{
215
+ text: string;
216
+ isError?: boolean;
217
+ }>;
218
+ /**
219
+ * Execute list_audits tool.
220
+ */
221
+ export declare function executeListAudits(input: ListAuditsInput): Promise<{
222
+ text: string;
223
+ isError?: boolean;
224
+ }>;
225
+ /**
226
+ * Execute compare_audits tool.
227
+ */
228
+ export declare function executeCompareAudits(input: CompareAuditsInput): Promise<{
229
+ text: string;
230
+ isError?: boolean;
231
+ }>;
232
+ /**
233
+ * Execute get_audit_quota tool.
234
+ */
235
+ export declare function executeGetAuditQuota(): Promise<{
236
+ text: string;
237
+ isError?: boolean;
238
+ }>;
239
+ /**
240
+ * Execute get_migration_recommendation tool.
241
+ */
242
+ export declare function executeGetMigrationRecommendation(input: GetMigrationRecommendationInput): Promise<{
243
+ text: string;
244
+ isError?: boolean;
245
+ }>;
246
+ //# sourceMappingURL=audit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"audit.d.ts","sourceRoot":"","sources":["../../src/tools/audit.ts"],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