fmea-api-mcp-server 1.1.43 → 1.1.45

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.43",
31
+ version: "1.1.45",
32
32
  }, {
33
33
  capabilities: {
34
34
  resources: {},
package/dist/synonyms.js CHANGED
@@ -60,7 +60,7 @@ export const RESOURCE_ALIASES = {
60
60
  'process-symbol': ['process symbol', 'process symbols', 'flow chart symbol', 'flowchart symbol', 'process flow'], // [R30] Process flow chart symbols
61
61
  'additional-info': ['additional info', 'additional information', 'extra info', 'supplementary info', 'custom field', 'custom attribute', 'form field'], // [R31] Additional info template management
62
62
  'notice': ['notice', 'notices', 'announcement', 'bulletin', 'notification'], // [R32] Notice CRUD and visibility
63
- 'tree-search': ['tree search', 'tree query', 'structure search', 'pattern search', 'subtree match', 'anchor pattern', 'context completion', 'reference node'], // [R35] Tree search query
63
+ 'tree-search': ['tree search', 'tree query', 'structure search', 'pattern search', 'subtree match', 'anchor pattern', 'context completion', 'reference node', 'rebuild index', 'reindex'], // [R35] Tree search query and index rebuild
64
64
  };
65
65
  export const SYNONYM_GROUPS = {
66
66
  // Read / Retrieve
@@ -90,6 +90,8 @@ export const SYNONYM_GROUPS = {
90
90
  "processing": ["process", "running", "execution", "handling", "computing"],
91
91
  "execute": ["run", "launch", "start", "trigger", "invoke", "call", "process"],
92
92
  "run": ["execute", "start", "launch", "go", "process"],
93
+ "rebuild": ["reindex", "regenerate", "recreate", "refresh index", "reconstruct"], // [R36] Index rebuild
94
+ "reindex": ["rebuild", "regenerate", "recreate", "refresh index", "reconstruct"], // [R36]
93
95
  // File / Data Handling (New)
94
96
  "upload": ["post", "send", "import", "attach", "submit"],
95
97
  "import": ["upload", "include", "load", "read", "ingest"],
@@ -264,6 +264,36 @@
264
264
  }
265
265
  }
266
266
  }
267
+ },
268
+ {
269
+ "path": "/api/v2/tree-search/{domain}/rebuild",
270
+ "method": "POST",
271
+ "operationId": "rebuild",
272
+ "summary": "Rebuild tree search index",
273
+ "description": "Triggers an asynchronous full rebuild of the Lucene tree search index for the specified domain. Requires ADMIN privileges. Returns 202 if rebuild started, 409 if already in progress.",
274
+ "tags": [
275
+ "Tree Search"
276
+ ],
277
+ "parameters": [
278
+ {
279
+ "name": "domain",
280
+ "in": "path",
281
+ "description": "Tree search domain. Allowed values: fmm, block-diagram",
282
+ "required": true,
283
+ "schema": {
284
+ "type": "string"
285
+ }
286
+ }
287
+ ],
288
+ "requestBody": null,
289
+ "responses": {
290
+ "default": {
291
+ "description": "default response",
292
+ "content": {
293
+ "application/json": {}
294
+ }
295
+ }
296
+ }
267
297
  }
268
298
  ]
269
299
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmea-api-mcp-server",
3
- "version": "1.1.43",
3
+ "version": "1.1.45",
4
4
  "description": "MCP server for serving API documentation from endpoints directory",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",