fmea-api-mcp-server 1.1.38 → 1.1.40

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.
@@ -0,0 +1,183 @@
1
+ {
2
+ "category": "Tree Search",
3
+ "version": "v2",
4
+ "description": "",
5
+ "endpoints": [
6
+ {
7
+ "path": "/api/v2/tree-search/{domain}/query",
8
+ "method": "POST",
9
+ "operationId": "query",
10
+ "summary": "Execute tree search query",
11
+ "description": "Executes a tree-search query for the selected domain using referenceNode, anchorPattern, or contextCompletion mode. Validates query structure, size limits, and domain availability, then returns paged tree search matches.",
12
+ "tags": [
13
+ "Tree Search"
14
+ ],
15
+ "parameters": [
16
+ {
17
+ "name": "domain",
18
+ "in": "path",
19
+ "description": "Tree search domain path segment. Allowed values are fmm or block-diagram.",
20
+ "required": true,
21
+ "schema": {
22
+ "type": "string"
23
+ }
24
+ }
25
+ ],
26
+ "requestBody": {
27
+ "content": {
28
+ "application/json": {
29
+ "schema": {
30
+ "type": "object",
31
+ "properties": {
32
+ "queryMode": {
33
+ "type": "string",
34
+ "enum": [
35
+ "referenceNode",
36
+ "anchorPattern",
37
+ "contextCompletion"
38
+ ]
39
+ },
40
+ "query": {
41
+ "type": "object"
42
+ },
43
+ "scope": {
44
+ "type": "object",
45
+ "properties": {
46
+ "projectId": {
47
+ "type": "string"
48
+ },
49
+ "projectIds": {
50
+ "type": "array",
51
+ "items": {
52
+ "type": "string"
53
+ }
54
+ },
55
+ "scope": {
56
+ "type": "string",
57
+ "enum": [
58
+ "MY",
59
+ "DIVISION",
60
+ "ALL"
61
+ ]
62
+ }
63
+ }
64
+ },
65
+ "options": {
66
+ "type": "object",
67
+ "properties": {
68
+ "ignoreSiblingOrder": {
69
+ "type": "boolean"
70
+ },
71
+ "allowExtraChildren": {
72
+ "type": "boolean"
73
+ },
74
+ "allowDescendantMatch": {
75
+ "type": "boolean"
76
+ },
77
+ "depthTolerance": {
78
+ "type": "integer",
79
+ "format": "int32"
80
+ },
81
+ "minScore": {
82
+ "type": "number",
83
+ "format": "double"
84
+ }
85
+ }
86
+ },
87
+ "page": {
88
+ "type": "integer",
89
+ "format": "int32"
90
+ },
91
+ "size": {
92
+ "type": "integer",
93
+ "format": "int32"
94
+ }
95
+ }
96
+ }
97
+ }
98
+ }
99
+ },
100
+ "responses": {
101
+ "default": {
102
+ "description": "default response",
103
+ "content": {
104
+ "application/json": {
105
+ "schema": {
106
+ "type": "object",
107
+ "properties": {
108
+ "items": {
109
+ "type": "array",
110
+ "items": {
111
+ "type": "object",
112
+ "properties": {
113
+ "candidateId": {
114
+ "type": "string"
115
+ },
116
+ "matchedNodeId": {
117
+ "type": "string"
118
+ },
119
+ "projectId": {
120
+ "type": "string"
121
+ },
122
+ "projectName": {
123
+ "type": "string"
124
+ },
125
+ "domain": {
126
+ "type": "string"
127
+ },
128
+ "score": {
129
+ "type": "number",
130
+ "format": "double"
131
+ },
132
+ "reasons": {
133
+ "type": "array",
134
+ "items": {
135
+ "type": "string"
136
+ }
137
+ },
138
+ "subtree": {
139
+ "type": "object",
140
+ "properties": {
141
+ "id": {
142
+ "type": "string"
143
+ },
144
+ "typeKey": {
145
+ "type": "string"
146
+ },
147
+ "name": {
148
+ "type": "string"
149
+ },
150
+ "attributes": {
151
+ "type": "object"
152
+ },
153
+ "children": {
154
+ "type": "array",
155
+ "items": {
156
+ "type": "object",
157
+ "description": "(circular: TreeSearchNodeDTO)"
158
+ }
159
+ }
160
+ }
161
+ }
162
+ }
163
+ }
164
+ },
165
+ "page": {
166
+ "type": "integer"
167
+ },
168
+ "size": {
169
+ "type": "integer"
170
+ },
171
+ "total": {
172
+ "type": "integer",
173
+ "format": "int64"
174
+ }
175
+ }
176
+ }
177
+ }
178
+ }
179
+ }
180
+ }
181
+ }
182
+ ]
183
+ }
@@ -21,6 +21,15 @@
21
21
  "type": "string"
22
22
  }
23
23
  },
24
+ {
25
+ "name": "useSynonym",
26
+ "in": "query",
27
+ "description": "Whether to expand q with synonym dictionary terms (default: true)",
28
+ "schema": {
29
+ "type": "boolean",
30
+ "default": true
31
+ }
32
+ },
24
33
  {
25
34
  "name": "dept",
26
35
  "in": "query",
@@ -45,7 +54,7 @@
45
54
  {
46
55
  "name": "page",
47
56
  "in": "query",
48
- "description": "Page number (0 = all, default: 1)",
57
+ "description": "Page number (default: 1)",
49
58
  "schema": {
50
59
  "type": "integer",
51
60
  "default": 1,
@@ -55,7 +64,7 @@
55
64
  {
56
65
  "name": "size",
57
66
  "in": "query",
58
- "description": "Page size (default: 50)",
67
+ "description": "Page size (default: 50, max: 1000)",
59
68
  "schema": {
60
69
  "type": "integer",
61
70
  "default": 50,
@@ -27,6 +27,15 @@
27
27
  "schema": {
28
28
  "type": "string"
29
29
  }
30
+ },
31
+ {
32
+ "name": "useSynonym",
33
+ "in": "query",
34
+ "description": "Whether to expand q with synonym dictionary terms (default: true)",
35
+ "schema": {
36
+ "type": "boolean",
37
+ "default": true
38
+ }
30
39
  }
31
40
  ],
32
41
  "requestBody": null,
@@ -152,6 +152,15 @@
152
152
  "schema": {
153
153
  "type": "string"
154
154
  }
155
+ },
156
+ {
157
+ "name": "useSynonym",
158
+ "in": "query",
159
+ "description": "Whether to expand q with synonym dictionary terms (default: true)",
160
+ "schema": {
161
+ "type": "boolean",
162
+ "default": true
163
+ }
155
164
  }
156
165
  ],
157
166
  "operationId": "getHeaders",
@@ -26,6 +26,15 @@
26
26
  "schema": {
27
27
  "type": "string"
28
28
  }
29
+ },
30
+ {
31
+ "name": "useSynonym",
32
+ "in": "query",
33
+ "description": "Whether to expand q with synonym dictionary terms (default: true)",
34
+ "schema": {
35
+ "type": "boolean",
36
+ "default": true
37
+ }
29
38
  }
30
39
  ],
31
40
  "operationId": "getHeaders_1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmea-api-mcp-server",
3
- "version": "1.1.38",
3
+ "version": "1.1.40",
4
4
  "description": "MCP server for serving API documentation from endpoints directory",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",