fmea-api-mcp-server 1.1.21 → 1.1.24

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/dist/index.js CHANGED
@@ -28,7 +28,7 @@ class ApiDocsServer {
28
28
  constructor() {
29
29
  this.server = new Server({
30
30
  name: "api-docs-mcp",
31
- version: "1.1.21",
31
+ version: "1.1.24",
32
32
  }, {
33
33
  capabilities: {
34
34
  resources: {},
@@ -54,7 +54,7 @@
54
54
  "method": "GET",
55
55
  "operationId": "getConditionLibraryTree",
56
56
  "summary": "Get condition library tree",
57
- "description": "Returns the condition library hierarchy for the requested type. The response includes the root node and nested children ordered by rank.",
57
+ "description": "Legacy endpoint kept for backward compatibility. Prefer GET /{type}?view=tree.",
58
58
  "tags": [
59
59
  "Condition Library"
60
60
  ],
@@ -81,40 +81,13 @@
81
81
  "content": {
82
82
  "application/json": {
83
83
  "schema": {
84
- "type": "object",
85
- "properties": {
86
- "serial": {
87
- "type": "integer"
88
- },
89
- "type": {
90
- "type": "string",
91
- "enum": [
92
- "STRESS",
93
- "DESIGN",
94
- "PROCESS"
95
- ]
96
- },
97
- "title": {
98
- "type": "string"
99
- },
100
- "tag": {
101
- "type": "string"
102
- },
103
- "parentTag": {
104
- "type": "string"
105
- },
106
- "depth": {
107
- "type": "integer"
108
- },
109
- "rank": {
110
- "type": "integer"
111
- }
112
- }
84
+ "type": "object"
113
85
  }
114
86
  }
115
87
  }
116
88
  }
117
- }
89
+ },
90
+ "deprecated": true
118
91
  },
119
92
  {
120
93
  "path": "/api/v2/condition-library/{type}/{serial}",
@@ -192,10 +165,10 @@
192
165
  "title": {
193
166
  "type": "string"
194
167
  },
195
- "tag": {
168
+ "id": {
196
169
  "type": "string"
197
170
  },
198
- "parentTag": {
171
+ "parentId": {
199
172
  "type": "string"
200
173
  },
201
174
  "depth": {
@@ -336,6 +309,54 @@
336
309
  }
337
310
  }
338
311
  }
312
+ },
313
+ {
314
+ "path": "/api/v2/condition-library/{type}",
315
+ "method": "GET",
316
+ "operationId": "getConditionLibrary",
317
+ "summary": "Get condition library nodes",
318
+ "description": "Returns condition library nodes in flat or tree view for the requested type.",
319
+ "tags": [
320
+ "Condition Library"
321
+ ],
322
+ "parameters": [
323
+ {
324
+ "name": "type",
325
+ "in": "path",
326
+ "description": "Condition library type (stress|design|process)",
327
+ "required": true,
328
+ "schema": {
329
+ "type": "string",
330
+ "enum": [
331
+ "stress",
332
+ "design",
333
+ "process"
334
+ ]
335
+ }
336
+ },
337
+ {
338
+ "name": "view",
339
+ "in": "query",
340
+ "description": "Response view type (flat|tree)",
341
+ "schema": {
342
+ "type": "string",
343
+ "default": "flat"
344
+ }
345
+ }
346
+ ],
347
+ "requestBody": null,
348
+ "responses": {
349
+ "default": {
350
+ "description": "default response",
351
+ "content": {
352
+ "application/json": {
353
+ "schema": {
354
+ "type": "object"
355
+ }
356
+ }
357
+ }
358
+ }
359
+ }
339
360
  }
340
361
  ]
341
362
  }
@@ -25,8 +25,7 @@
25
25
  {
26
26
  "name": "scope",
27
27
  "in": "query",
28
- "description": "Condition scope (owned|candidate)",
29
- "required": true,
28
+ "description": "Condition scope (owned|candidate|all). If omitted, defaults to all.",
30
29
  "schema": {
31
30
  "type": "string"
32
31
  }
@@ -34,8 +33,7 @@
34
33
  {
35
34
  "name": "type",
36
35
  "in": "query",
37
- "description": "Condition type (stress|design|process)",
38
- "required": true,
36
+ "description": "Condition type (stress|design|process). If omitted, returns all types.",
39
37
  "schema": {
40
38
  "type": "string",
41
39
  "enum": [
@@ -109,6 +107,14 @@
109
107
  "PROCESS"
110
108
  ]
111
109
  },
110
+ "scope": {
111
+ "type": "string",
112
+ "enum": [
113
+ "OWNED",
114
+ "CANDIDATE",
115
+ "ALL"
116
+ ]
117
+ },
112
118
  "title": {
113
119
  "type": "string"
114
120
  }
@@ -226,6 +232,14 @@
226
232
  "PROCESS"
227
233
  ]
228
234
  },
235
+ "scope": {
236
+ "type": "string",
237
+ "enum": [
238
+ "OWNED",
239
+ "CANDIDATE",
240
+ "ALL"
241
+ ]
242
+ },
229
243
  "title": {
230
244
  "type": "string"
231
245
  }
@@ -351,6 +365,14 @@
351
365
  "PROCESS"
352
366
  ]
353
367
  },
368
+ "scope": {
369
+ "type": "string",
370
+ "enum": [
371
+ "OWNED",
372
+ "CANDIDATE",
373
+ "ALL"
374
+ ]
375
+ },
354
376
  "title": {
355
377
  "type": "string"
356
378
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmea-api-mcp-server",
3
- "version": "1.1.21",
3
+ "version": "1.1.24",
4
4
  "description": "MCP server for serving API documentation from endpoints directory",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",