fmea-api-mcp-server 1.1.72 → 1.1.73

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.72",
31
+ version: "1.1.73",
32
32
  }, {
33
33
  capabilities: {
34
34
  resources: {},
@@ -33,7 +33,7 @@
33
33
  {
34
34
  "name": "useSynonym",
35
35
  "in": "query",
36
- "description": "Whether to expand q with synonym dictionary terms (default: true)",
36
+ "description": "Whether to expand q with synonym dictionary terms",
37
37
  "schema": {
38
38
  "type": "boolean",
39
39
  "default": true
@@ -125,7 +125,7 @@
125
125
  {
126
126
  "name": "useSynonym",
127
127
  "in": "query",
128
- "description": "Whether to expand q with synonym dictionary terms (default: true)",
128
+ "description": "Whether to expand q with synonym dictionary terms",
129
129
  "schema": {
130
130
  "type": "boolean",
131
131
  "default": true
@@ -363,7 +363,7 @@
363
363
  {
364
364
  "name": "useSynonym",
365
365
  "in": "query",
366
- "description": "Whether to expand q with synonym dictionary terms (default: true)",
366
+ "description": "Whether to expand q with synonym dictionary terms",
367
367
  "schema": {
368
368
  "type": "boolean",
369
369
  "default": true
@@ -855,7 +855,7 @@
855
855
  "tags": [
856
856
  "Failure Mode"
857
857
  ],
858
- "operationId": "create_2",
858
+ "operationId": "create_3",
859
859
  "parameters": [
860
860
  {
861
861
  "name": "projectId",
@@ -963,6 +963,142 @@
963
963
  }
964
964
  }
965
965
  }
966
+ },
967
+ {
968
+ "path": "/api/v2/projects/{projectId}/block-diagrams/{blockId}",
969
+ "method": "DELETE",
970
+ "operationId": "delete_2",
971
+ "summary": "Delete a block diagram",
972
+ "description": "Deletes the target block diagram and runs the verified type-specific cleanup for canonical, mapping, or process diagrams. Returns 204 No Content on success. Missing projects or block diagrams return 404, and unsupported delete requests return 400 with resource context.",
973
+ "tags": [
974
+ "Block Diagram"
975
+ ],
976
+ "parameters": [
977
+ {
978
+ "name": "projectId",
979
+ "in": "path",
980
+ "description": "Project ID that owns the block diagram to delete",
981
+ "required": true,
982
+ "schema": {
983
+ "type": "string"
984
+ }
985
+ },
986
+ {
987
+ "name": "blockId",
988
+ "in": "path",
989
+ "description": "Block diagram ID to delete",
990
+ "required": true,
991
+ "schema": {
992
+ "type": "string"
993
+ }
994
+ }
995
+ ],
996
+ "requestBody": null,
997
+ "responses": {
998
+ "default": {
999
+ "description": "default response",
1000
+ "content": {
1001
+ "application/json": {}
1002
+ }
1003
+ }
1004
+ }
1005
+ },
1006
+ {
1007
+ "path": "/api/v2/projects/{projectId}/block-diagrams",
1008
+ "method": "POST",
1009
+ "operationId": "create_2",
1010
+ "summary": "Create a block diagram",
1011
+ "description": "Creates one block diagram in the target project. Supported create types are FUNCTION, STRUCTURE, FUNCTION_STRUCTURE, STRUCTURE_FUNCTION, and PROCESS. Returns 201 Created with the created BlockDiagramDTO on success. Unsupported types return 400 with field and allowed-value hints, and missing projects return 404.",
1012
+ "tags": [
1013
+ "Block Diagram"
1014
+ ],
1015
+ "parameters": [
1016
+ {
1017
+ "name": "projectId",
1018
+ "in": "path",
1019
+ "description": "Project ID for the target block diagram collection",
1020
+ "required": true,
1021
+ "schema": {
1022
+ "type": "string"
1023
+ }
1024
+ }
1025
+ ],
1026
+ "requestBody": {
1027
+ "content": {
1028
+ "application/json": {
1029
+ "schema": {
1030
+ "required": [
1031
+ "type"
1032
+ ],
1033
+ "type": "object",
1034
+ "properties": {
1035
+ "type": {
1036
+ "type": "string",
1037
+ "enum": [
1038
+ "FUNCTION",
1039
+ "STRUCTURE",
1040
+ "FUNCTION_STRUCTURE",
1041
+ "STRUCTURE_FUNCTION",
1042
+ "PROCESS",
1043
+ "SUPER_SYSTEM",
1044
+ "FUNCTION_ANALYSIS"
1045
+ ]
1046
+ },
1047
+ "alias": {
1048
+ "type": "string"
1049
+ },
1050
+ "description": {
1051
+ "type": "string"
1052
+ },
1053
+ "numberFormat": {
1054
+ "type": "string"
1055
+ }
1056
+ }
1057
+ }
1058
+ }
1059
+ }
1060
+ },
1061
+ "responses": {
1062
+ "default": {
1063
+ "description": "default response",
1064
+ "content": {
1065
+ "application/json": {
1066
+ "schema": {
1067
+ "type": "object",
1068
+ "properties": {
1069
+ "id": {
1070
+ "type": "string"
1071
+ },
1072
+ "type": {
1073
+ "type": "string",
1074
+ "enum": [
1075
+ "FUNCTION",
1076
+ "STRUCTURE",
1077
+ "FUNCTION_STRUCTURE",
1078
+ "STRUCTURE_FUNCTION",
1079
+ "PROCESS",
1080
+ "SUPER_SYSTEM",
1081
+ "FUNCTION_ANALYSIS"
1082
+ ]
1083
+ },
1084
+ "alias": {
1085
+ "type": "string"
1086
+ },
1087
+ "order": {
1088
+ "type": "integer"
1089
+ },
1090
+ "description": {
1091
+ "type": "string"
1092
+ },
1093
+ "numberFormat": {
1094
+ "type": "string"
1095
+ }
1096
+ }
1097
+ }
1098
+ }
1099
+ }
1100
+ }
1101
+ }
966
1102
  }
967
1103
  ]
968
1104
  }
@@ -293,7 +293,7 @@
293
293
  {
294
294
  "path": "/api/v2/projects/{projectId}/documents/{documentId}",
295
295
  "method": "DELETE",
296
- "operationId": "delete_5",
296
+ "operationId": "delete_6",
297
297
  "summary": "Delete a project document",
298
298
  "description": "Permanently deletes the specified document from the project. Returns 204 No Content on success. Requires project membership.",
299
299
  "tags": [
@@ -102,7 +102,7 @@
102
102
  {
103
103
  "path": "/api/v2/projects/{projectId}/block-diagrams/{blockDiagramId}/failure-modes",
104
104
  "method": "POST",
105
- "operationId": "create_2",
105
+ "operationId": "create_3",
106
106
  "summary": "Create failure modes",
107
107
  "description": "Creates one or more failure modes for the target block diagram.",
108
108
  "tags": [
@@ -87,7 +87,7 @@
87
87
  {
88
88
  "path": "/api/v2/fourm",
89
89
  "method": "POST",
90
- "operationId": "create_3",
90
+ "operationId": "create_4",
91
91
  "summary": "Create a 4M record",
92
92
  "description": "Creates a new 4M cause record with the provided fields. Returns the created record as a FourMDTO.",
93
93
  "tags": [
@@ -327,7 +327,7 @@
327
327
  {
328
328
  "path": "/api/v2/fourm/{id}",
329
329
  "method": "DELETE",
330
- "operationId": "delete_2",
330
+ "operationId": "delete_3",
331
331
  "summary": "Delete a 4M record",
332
332
  "description": "Deletes a 4M cause record by its numeric ID. Returns HTTP 204 No Content on success.",
333
333
  "tags": [
@@ -6,7 +6,7 @@
6
6
  {
7
7
  "path": "/api/v2/notices/{id}",
8
8
  "method": "DELETE",
9
- "operationId": "delete_3",
9
+ "operationId": "delete_4",
10
10
  "summary": "Delete notice",
11
11
  "description": "Deletes a notice by ID. Requires admin permission. Returns 404 if notice does not exist.",
12
12
  "tags": [
@@ -294,7 +294,7 @@
294
294
  {
295
295
  "path": "/api/v2/notices",
296
296
  "method": "POST",
297
- "operationId": "create_4",
297
+ "operationId": "create_5",
298
298
  "summary": "Create notice",
299
299
  "description": "Creates a new notice. Requires admin permission. Title and content are required fields.",
300
300
  "tags": [
@@ -178,7 +178,7 @@
178
178
  }
179
179
  }
180
180
  },
181
- "operationId": "create_5"
181
+ "operationId": "create_6"
182
182
  },
183
183
  {
184
184
  "path": "/api/v2/projects/{projectId}/worksheets/{reportNoSimple}",
@@ -620,7 +620,7 @@
620
620
  }
621
621
  }
622
622
  },
623
- "operationId": "delete_4"
623
+ "operationId": "delete_5"
624
624
  },
625
625
  {
626
626
  "path": "/api/v2/projects/{projectId}/worksheets/merges",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmea-api-mcp-server",
3
- "version": "1.1.72",
3
+ "version": "1.1.73",
4
4
  "description": "MCP server for serving API documentation from endpoints directory",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",