fmea-api-mcp-server 1.1.41 → 1.1.43

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.41",
31
+ version: "1.1.43",
32
32
  }, {
33
33
  capabilities: {
34
34
  resources: {},
@@ -8,7 +8,7 @@
8
8
  "method": "GET",
9
9
  "operationId": "list_10",
10
10
  "summary": "List project summaries",
11
- "description": "Returns paged project summaries. scope: 'my' (default, user's projects), 'division', 'all' (admin, all active). deleted=true returns admin-only trashed projects. Supports divisionId, search, fmeaType, status, sort, pagination.",
11
+ "description": "Returns paged project summaries. scope: 'my' (default, user's projects), 'division', 'all' (admin, all active). deleted=true returns trashed projects. Supports divisionId, search, fmeaType, status, sort, pagination.",
12
12
  "tags": [
13
13
  "Project"
14
14
  ],
@@ -24,7 +24,7 @@
24
24
  {
25
25
  "name": "deleted",
26
26
  "in": "query",
27
- "description": "Deleted-only view (admin only)",
27
+ "description": "Deleted-only view",
28
28
  "schema": {
29
29
  "type": "boolean",
30
30
  "default": false
@@ -136,8 +136,13 @@
136
136
  "CPLAN"
137
137
  ]
138
138
  },
139
- "master": {
140
- "type": "boolean"
139
+ "tag": {
140
+ "type": "string",
141
+ "enum": [
142
+ "NORMAL",
143
+ "MASTER",
144
+ "REFERENCE"
145
+ ]
141
146
  },
142
147
  "name": {
143
148
  "type": "string"
@@ -255,11 +260,13 @@
255
260
  "CPLAN"
256
261
  ]
257
262
  },
258
- "master": {
259
- "type": "boolean"
260
- },
261
- "label": {
262
- "type": "boolean"
263
+ "tag": {
264
+ "type": "string",
265
+ "enum": [
266
+ "NORMAL",
267
+ "MASTER",
268
+ "REFERENCE"
269
+ ]
263
270
  },
264
271
  "active": {
265
272
  "type": "boolean"
@@ -487,8 +494,13 @@
487
494
  "CPLAN"
488
495
  ]
489
496
  },
490
- "master": {
491
- "type": "boolean"
497
+ "tag": {
498
+ "type": "string",
499
+ "enum": [
500
+ "NORMAL",
501
+ "MASTER",
502
+ "REFERENCE"
503
+ ]
492
504
  },
493
505
  "name": {
494
506
  "type": "string"
@@ -604,8 +616,13 @@
604
616
  "CPLAN"
605
617
  ]
606
618
  },
607
- "master": {
608
- "type": "boolean"
619
+ "tag": {
620
+ "type": "string",
621
+ "enum": [
622
+ "NORMAL",
623
+ "MASTER",
624
+ "REFERENCE"
625
+ ]
609
626
  },
610
627
  "name": {
611
628
  "type": "string"
@@ -1141,7 +1158,7 @@
1141
1158
  "sequence": {
1142
1159
  "type": "integer"
1143
1160
  },
1144
- "level": {
1161
+ "sortOrder": {
1145
1162
  "type": "integer"
1146
1163
  }
1147
1164
  }
@@ -1214,11 +1231,13 @@
1214
1231
  "CPLAN"
1215
1232
  ]
1216
1233
  },
1217
- "master": {
1218
- "type": "boolean"
1219
- },
1220
- "label": {
1221
- "type": "boolean"
1234
+ "tag": {
1235
+ "type": "string",
1236
+ "enum": [
1237
+ "NORMAL",
1238
+ "MASTER",
1239
+ "REFERENCE"
1240
+ ]
1222
1241
  },
1223
1242
  "active": {
1224
1243
  "type": "boolean"
@@ -1373,6 +1392,438 @@
1373
1392
  }
1374
1393
  }
1375
1394
  }
1395
+ },
1396
+ {
1397
+ "path": "/api/v2/projects",
1398
+ "method": "POST",
1399
+ "operationId": "createProject",
1400
+ "summary": "Create a new project",
1401
+ "description": "Creates a new FMEA project with the provided details. Validates name uniqueness, member existence, and date ranges. Returns the created project summary.",
1402
+ "tags": [
1403
+ "Project"
1404
+ ],
1405
+ "parameters": [],
1406
+ "requestBody": {
1407
+ "content": {
1408
+ "application/json": {
1409
+ "schema": {
1410
+ "required": [
1411
+ "approverId",
1412
+ "divisionId",
1413
+ "dueDate",
1414
+ "evaluationCriteria",
1415
+ "item",
1416
+ "leaderId",
1417
+ "memberIds",
1418
+ "name",
1419
+ "reviewerIds",
1420
+ "startDate",
1421
+ "tag",
1422
+ "type",
1423
+ "worksheetTemplateId"
1424
+ ],
1425
+ "type": "object",
1426
+ "properties": {
1427
+ "name": {
1428
+ "type": "string"
1429
+ },
1430
+ "type": {
1431
+ "type": "string",
1432
+ "enum": [
1433
+ "DESIGN",
1434
+ "PROCESS",
1435
+ "EQUIPMENT",
1436
+ "FA",
1437
+ "FTA",
1438
+ "CPLAN"
1439
+ ]
1440
+ },
1441
+ "tag": {
1442
+ "type": "string",
1443
+ "enum": [
1444
+ "NORMAL",
1445
+ "MASTER",
1446
+ "REFERENCE"
1447
+ ]
1448
+ },
1449
+ "item": {
1450
+ "type": "string"
1451
+ },
1452
+ "model": {
1453
+ "type": "string"
1454
+ },
1455
+ "worksheetTemplateId": {
1456
+ "type": "integer",
1457
+ "format": "int32"
1458
+ },
1459
+ "evaluationCriteria": {
1460
+ "type": "string"
1461
+ },
1462
+ "startDate": {
1463
+ "type": "string",
1464
+ "format": "date"
1465
+ },
1466
+ "dueDate": {
1467
+ "type": "string",
1468
+ "format": "date"
1469
+ },
1470
+ "description": {
1471
+ "type": "string"
1472
+ },
1473
+ "divisionId": {
1474
+ "type": "integer",
1475
+ "format": "int32"
1476
+ },
1477
+ "leaderId": {
1478
+ "type": "string"
1479
+ },
1480
+ "memberIds": {
1481
+ "type": "array",
1482
+ "items": {
1483
+ "type": "string"
1484
+ }
1485
+ },
1486
+ "reviewerIds": {
1487
+ "type": "array",
1488
+ "items": {
1489
+ "type": "string"
1490
+ }
1491
+ },
1492
+ "approverId": {
1493
+ "type": "string"
1494
+ },
1495
+ "completionReviewerId": {
1496
+ "type": "string"
1497
+ },
1498
+ "useApproval": {
1499
+ "type": "boolean"
1500
+ },
1501
+ "projectClass": {
1502
+ "type": "string"
1503
+ },
1504
+ "causeAnalysisLevel": {
1505
+ "type": "string",
1506
+ "enum": [
1507
+ "FIRST",
1508
+ "SECOND"
1509
+ ]
1510
+ },
1511
+ "relatedProjectIds": {
1512
+ "type": "array",
1513
+ "items": {
1514
+ "type": "string"
1515
+ }
1516
+ }
1517
+ }
1518
+ }
1519
+ }
1520
+ }
1521
+ },
1522
+ "responses": {
1523
+ "default": {
1524
+ "description": "default response",
1525
+ "content": {
1526
+ "application/json": {
1527
+ "schema": {
1528
+ "type": "object",
1529
+ "properties": {
1530
+ "id": {
1531
+ "type": "string"
1532
+ },
1533
+ "type": {
1534
+ "type": "string",
1535
+ "enum": [
1536
+ "DESIGN",
1537
+ "PROCESS",
1538
+ "EQUIPMENT",
1539
+ "FA",
1540
+ "FTA",
1541
+ "CPLAN"
1542
+ ]
1543
+ },
1544
+ "tag": {
1545
+ "type": "string",
1546
+ "enum": [
1547
+ "NORMAL",
1548
+ "MASTER",
1549
+ "REFERENCE"
1550
+ ]
1551
+ },
1552
+ "name": {
1553
+ "type": "string"
1554
+ },
1555
+ "item": {
1556
+ "type": "string"
1557
+ },
1558
+ "model": {
1559
+ "type": "string"
1560
+ },
1561
+ "description": {
1562
+ "type": "string"
1563
+ },
1564
+ "leaderName": {
1565
+ "type": "string"
1566
+ },
1567
+ "startDate": {
1568
+ "type": "string",
1569
+ "format": "date"
1570
+ },
1571
+ "dueDate": {
1572
+ "type": "string",
1573
+ "format": "date"
1574
+ },
1575
+ "status": {
1576
+ "type": "string",
1577
+ "enum": [
1578
+ "IN_PROGRESS",
1579
+ "REFUSED",
1580
+ "SELF_COMPLETED"
1581
+ ]
1582
+ },
1583
+ "completedDate": {
1584
+ "type": "string",
1585
+ "format": "date"
1586
+ },
1587
+ "updateDueDate": {
1588
+ "type": "string",
1589
+ "format": "date"
1590
+ },
1591
+ "divisionName": {
1592
+ "type": "string"
1593
+ },
1594
+ "divisionScope": {
1595
+ "type": "string"
1596
+ },
1597
+ "worksheetTemplateName": {
1598
+ "type": "string"
1599
+ }
1600
+ }
1601
+ }
1602
+ }
1603
+ }
1604
+ }
1605
+ }
1606
+ },
1607
+ {
1608
+ "path": "/api/v2/projects/{projectId}",
1609
+ "method": "PUT",
1610
+ "operationId": "updateProject",
1611
+ "summary": "Update project details",
1612
+ "description": "Updates an existing project's general information. Validates name uniqueness (excluding self), member existence, and date ranges. Returns the updated project summary.",
1613
+ "tags": [
1614
+ "Project"
1615
+ ],
1616
+ "parameters": [
1617
+ {
1618
+ "name": "projectId",
1619
+ "in": "path",
1620
+ "description": "프로젝트 ID",
1621
+ "required": true,
1622
+ "schema": {
1623
+ "type": "string"
1624
+ }
1625
+ }
1626
+ ],
1627
+ "requestBody": {
1628
+ "content": {
1629
+ "application/json": {
1630
+ "schema": {
1631
+ "required": [
1632
+ "approverId",
1633
+ "divisionId",
1634
+ "dueDate",
1635
+ "evaluationCriteria",
1636
+ "item",
1637
+ "leaderId",
1638
+ "memberIds",
1639
+ "name",
1640
+ "reviewerIds",
1641
+ "startDate",
1642
+ "tag",
1643
+ "type",
1644
+ "worksheetTemplateId"
1645
+ ],
1646
+ "type": "object",
1647
+ "properties": {
1648
+ "name": {
1649
+ "type": "string"
1650
+ },
1651
+ "type": {
1652
+ "type": "string",
1653
+ "enum": [
1654
+ "DESIGN",
1655
+ "PROCESS",
1656
+ "EQUIPMENT",
1657
+ "FA",
1658
+ "FTA",
1659
+ "CPLAN"
1660
+ ]
1661
+ },
1662
+ "tag": {
1663
+ "type": "string",
1664
+ "enum": [
1665
+ "NORMAL",
1666
+ "MASTER",
1667
+ "REFERENCE"
1668
+ ]
1669
+ },
1670
+ "item": {
1671
+ "type": "string"
1672
+ },
1673
+ "model": {
1674
+ "type": "string"
1675
+ },
1676
+ "worksheetTemplateId": {
1677
+ "type": "integer",
1678
+ "format": "int32"
1679
+ },
1680
+ "evaluationCriteria": {
1681
+ "type": "string"
1682
+ },
1683
+ "startDate": {
1684
+ "type": "string",
1685
+ "format": "date"
1686
+ },
1687
+ "dueDate": {
1688
+ "type": "string",
1689
+ "format": "date"
1690
+ },
1691
+ "description": {
1692
+ "type": "string"
1693
+ },
1694
+ "divisionId": {
1695
+ "type": "integer",
1696
+ "format": "int32"
1697
+ },
1698
+ "leaderId": {
1699
+ "type": "string"
1700
+ },
1701
+ "memberIds": {
1702
+ "type": "array",
1703
+ "items": {
1704
+ "type": "string"
1705
+ }
1706
+ },
1707
+ "reviewerIds": {
1708
+ "type": "array",
1709
+ "items": {
1710
+ "type": "string"
1711
+ }
1712
+ },
1713
+ "approverId": {
1714
+ "type": "string"
1715
+ },
1716
+ "completionReviewerId": {
1717
+ "type": "string"
1718
+ },
1719
+ "useApproval": {
1720
+ "type": "boolean"
1721
+ },
1722
+ "projectClass": {
1723
+ "type": "string"
1724
+ },
1725
+ "causeAnalysisLevel": {
1726
+ "type": "string",
1727
+ "enum": [
1728
+ "FIRST",
1729
+ "SECOND"
1730
+ ]
1731
+ },
1732
+ "relatedProjectIds": {
1733
+ "type": "array",
1734
+ "items": {
1735
+ "type": "string"
1736
+ }
1737
+ }
1738
+ }
1739
+ }
1740
+ }
1741
+ }
1742
+ },
1743
+ "responses": {
1744
+ "default": {
1745
+ "description": "default response",
1746
+ "content": {
1747
+ "application/json": {
1748
+ "schema": {
1749
+ "type": "object",
1750
+ "properties": {
1751
+ "id": {
1752
+ "type": "string"
1753
+ },
1754
+ "type": {
1755
+ "type": "string",
1756
+ "enum": [
1757
+ "DESIGN",
1758
+ "PROCESS",
1759
+ "EQUIPMENT",
1760
+ "FA",
1761
+ "FTA",
1762
+ "CPLAN"
1763
+ ]
1764
+ },
1765
+ "tag": {
1766
+ "type": "string",
1767
+ "enum": [
1768
+ "NORMAL",
1769
+ "MASTER",
1770
+ "REFERENCE"
1771
+ ]
1772
+ },
1773
+ "name": {
1774
+ "type": "string"
1775
+ },
1776
+ "item": {
1777
+ "type": "string"
1778
+ },
1779
+ "model": {
1780
+ "type": "string"
1781
+ },
1782
+ "description": {
1783
+ "type": "string"
1784
+ },
1785
+ "leaderName": {
1786
+ "type": "string"
1787
+ },
1788
+ "startDate": {
1789
+ "type": "string",
1790
+ "format": "date"
1791
+ },
1792
+ "dueDate": {
1793
+ "type": "string",
1794
+ "format": "date"
1795
+ },
1796
+ "status": {
1797
+ "type": "string",
1798
+ "enum": [
1799
+ "IN_PROGRESS",
1800
+ "REFUSED",
1801
+ "SELF_COMPLETED"
1802
+ ]
1803
+ },
1804
+ "completedDate": {
1805
+ "type": "string",
1806
+ "format": "date"
1807
+ },
1808
+ "updateDueDate": {
1809
+ "type": "string",
1810
+ "format": "date"
1811
+ },
1812
+ "divisionName": {
1813
+ "type": "string"
1814
+ },
1815
+ "divisionScope": {
1816
+ "type": "string"
1817
+ },
1818
+ "worksheetTemplateName": {
1819
+ "type": "string"
1820
+ }
1821
+ }
1822
+ }
1823
+ }
1824
+ }
1825
+ }
1826
+ }
1376
1827
  }
1377
1828
  ]
1378
1829
  }
@@ -212,8 +212,13 @@
212
212
  "CPLAN"
213
213
  ]
214
214
  },
215
- "master": {
216
- "type": "boolean"
215
+ "tag": {
216
+ "type": "string",
217
+ "enum": [
218
+ "NORMAL",
219
+ "MASTER",
220
+ "REFERENCE"
221
+ ]
217
222
  },
218
223
  "name": {
219
224
  "type": "string"
@@ -300,6 +300,14 @@
300
300
  "type": "string"
301
301
  }
302
302
  },
303
+ {
304
+ "name": "tag",
305
+ "in": "query",
306
+ "description": "Project tag filter: NORMAL|MASTER|REFERENCE",
307
+ "schema": {
308
+ "type": "string"
309
+ }
310
+ },
303
311
  {
304
312
  "name": "item",
305
313
  "in": "query",
@@ -507,8 +515,13 @@
507
515
  "CPLAN"
508
516
  ]
509
517
  },
510
- "master": {
511
- "type": "boolean"
518
+ "tag": {
519
+ "type": "string",
520
+ "enum": [
521
+ "NORMAL",
522
+ "MASTER",
523
+ "REFERENCE"
524
+ ]
512
525
  },
513
526
  "item": {
514
527
  "type": "string"
@@ -631,6 +644,14 @@
631
644
  "type": "string"
632
645
  }
633
646
  },
647
+ {
648
+ "name": "tag",
649
+ "in": "query",
650
+ "description": "Project tag filter: NORMAL|MASTER|REFERENCE",
651
+ "schema": {
652
+ "type": "string"
653
+ }
654
+ },
634
655
  {
635
656
  "name": "item",
636
657
  "in": "query",