@recapt/mcp 0.0.27 → 0.0.28
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 +816 -187
- package/dist/tools/catalog/anthropicToolCatalog.json +204 -1
- package/dist/tools/catalog/toolCatalog.json +3656 -382
- package/package.json +1 -1
|
@@ -846,6 +846,43 @@
|
|
|
846
846
|
]
|
|
847
847
|
}
|
|
848
848
|
},
|
|
849
|
+
{
|
|
850
|
+
"name": "update_remediation_status",
|
|
851
|
+
"description": "Update the status of a remediation record. Use after PR merge to mark as deployed, or after PR close to mark as dismissed.",
|
|
852
|
+
"input_schema": {
|
|
853
|
+
"type": "object",
|
|
854
|
+
"properties": {
|
|
855
|
+
"remediation_id": {
|
|
856
|
+
"description": "The ID of the remediation to update",
|
|
857
|
+
"type": "string"
|
|
858
|
+
},
|
|
859
|
+
"status": {
|
|
860
|
+
"description": "New status: waiting, deployed, or dismissed",
|
|
861
|
+
"type": "string"
|
|
862
|
+
},
|
|
863
|
+
"pr_url": {
|
|
864
|
+
"description": "URL of the associated PR",
|
|
865
|
+
"type": "string"
|
|
866
|
+
},
|
|
867
|
+
"pr_number": {
|
|
868
|
+
"description": "PR number",
|
|
869
|
+
"type": "number"
|
|
870
|
+
},
|
|
871
|
+
"pr_merged_at": {
|
|
872
|
+
"description": "ISO timestamp when PR was merged",
|
|
873
|
+
"type": "string"
|
|
874
|
+
},
|
|
875
|
+
"pr_closed_at": {
|
|
876
|
+
"description": "ISO timestamp when PR was closed",
|
|
877
|
+
"type": "string"
|
|
878
|
+
}
|
|
879
|
+
},
|
|
880
|
+
"required": [
|
|
881
|
+
"remediation_id",
|
|
882
|
+
"status"
|
|
883
|
+
]
|
|
884
|
+
}
|
|
885
|
+
},
|
|
849
886
|
{
|
|
850
887
|
"name": "evaluate_fix",
|
|
851
888
|
"description": "Evaluate if a deployed fix improved metrics. Compares post-deployment metrics to baseline.",
|
|
@@ -1142,6 +1179,14 @@
|
|
|
1142
1179
|
"remediation_id": {
|
|
1143
1180
|
"description": "ID of the associated remediation record (if any)",
|
|
1144
1181
|
"type": "string"
|
|
1182
|
+
},
|
|
1183
|
+
"page_path": {
|
|
1184
|
+
"description": "Page path where the fix applies (required for auto-creating remediation records when no issue_id is provided)",
|
|
1185
|
+
"type": "string"
|
|
1186
|
+
},
|
|
1187
|
+
"title": {
|
|
1188
|
+
"description": "User-friendly title describing the fix (e.g., 'Add loading state to checkout button')",
|
|
1189
|
+
"type": "string"
|
|
1145
1190
|
}
|
|
1146
1191
|
},
|
|
1147
1192
|
"required": [
|
|
@@ -1225,7 +1270,7 @@
|
|
|
1225
1270
|
},
|
|
1226
1271
|
{
|
|
1227
1272
|
"name": "create_proposal",
|
|
1228
|
-
"description": "Create a fix proposal for audit mode. Proposals are suggestions that developers review and implement manually.
|
|
1273
|
+
"description": "AUDIT MODE ONLY. Create a fix proposal for audit mode. Proposals are suggestions that developers review and implement manually. Do NOT use this in fix mode - use propose_fix instead to create remediations with code changes. Before creating, check list_proposals to avoid duplicates.",
|
|
1229
1274
|
"input_schema": {
|
|
1230
1275
|
"type": "object",
|
|
1231
1276
|
"properties": {
|
|
@@ -1432,5 +1477,163 @@
|
|
|
1432
1477
|
},
|
|
1433
1478
|
"required": []
|
|
1434
1479
|
}
|
|
1480
|
+
},
|
|
1481
|
+
{
|
|
1482
|
+
"name": "list_repository_files",
|
|
1483
|
+
"description": "List files in a repository directory. Use to discover file structure before reading or modifying files.",
|
|
1484
|
+
"input_schema": {
|
|
1485
|
+
"type": "object",
|
|
1486
|
+
"properties": {
|
|
1487
|
+
"path": {
|
|
1488
|
+
"description": "Directory path (default: root)",
|
|
1489
|
+
"type": "string"
|
|
1490
|
+
},
|
|
1491
|
+
"branch": {
|
|
1492
|
+
"description": "Branch name (default: main)",
|
|
1493
|
+
"type": "string"
|
|
1494
|
+
},
|
|
1495
|
+
"recursive": {
|
|
1496
|
+
"description": "List recursively",
|
|
1497
|
+
"type": "boolean"
|
|
1498
|
+
}
|
|
1499
|
+
},
|
|
1500
|
+
"required": []
|
|
1501
|
+
}
|
|
1502
|
+
},
|
|
1503
|
+
{
|
|
1504
|
+
"name": "get_file_content",
|
|
1505
|
+
"description": "Read file contents from the repository.",
|
|
1506
|
+
"input_schema": {
|
|
1507
|
+
"type": "object",
|
|
1508
|
+
"properties": {
|
|
1509
|
+
"path": {
|
|
1510
|
+
"description": "File path",
|
|
1511
|
+
"type": "string"
|
|
1512
|
+
},
|
|
1513
|
+
"branch": {
|
|
1514
|
+
"description": "Branch name",
|
|
1515
|
+
"type": "string"
|
|
1516
|
+
}
|
|
1517
|
+
},
|
|
1518
|
+
"required": [
|
|
1519
|
+
"path"
|
|
1520
|
+
]
|
|
1521
|
+
}
|
|
1522
|
+
},
|
|
1523
|
+
{
|
|
1524
|
+
"name": "create_branch",
|
|
1525
|
+
"description": "Create a new branch from an existing branch.",
|
|
1526
|
+
"input_schema": {
|
|
1527
|
+
"type": "object",
|
|
1528
|
+
"properties": {
|
|
1529
|
+
"branch_name": {
|
|
1530
|
+
"description": "New branch name",
|
|
1531
|
+
"type": "string"
|
|
1532
|
+
},
|
|
1533
|
+
"from_branch": {
|
|
1534
|
+
"description": "Source branch (default: main)",
|
|
1535
|
+
"type": "string"
|
|
1536
|
+
}
|
|
1537
|
+
},
|
|
1538
|
+
"required": [
|
|
1539
|
+
"branch_name"
|
|
1540
|
+
]
|
|
1541
|
+
}
|
|
1542
|
+
},
|
|
1543
|
+
{
|
|
1544
|
+
"name": "update_file",
|
|
1545
|
+
"description": "Create or update a file in the repository. Commits the change. SHA is auto-fetched for existing files.",
|
|
1546
|
+
"input_schema": {
|
|
1547
|
+
"type": "object",
|
|
1548
|
+
"properties": {
|
|
1549
|
+
"path": {
|
|
1550
|
+
"description": "File path",
|
|
1551
|
+
"type": "string"
|
|
1552
|
+
},
|
|
1553
|
+
"content": {
|
|
1554
|
+
"description": "File content",
|
|
1555
|
+
"type": "string"
|
|
1556
|
+
},
|
|
1557
|
+
"message": {
|
|
1558
|
+
"description": "Commit message",
|
|
1559
|
+
"type": "string"
|
|
1560
|
+
},
|
|
1561
|
+
"branch": {
|
|
1562
|
+
"description": "Target branch",
|
|
1563
|
+
"type": "string"
|
|
1564
|
+
},
|
|
1565
|
+
"sha": {
|
|
1566
|
+
"description": "SHA of the file being replaced (auto-fetched if not provided)",
|
|
1567
|
+
"type": "string"
|
|
1568
|
+
}
|
|
1569
|
+
},
|
|
1570
|
+
"required": [
|
|
1571
|
+
"path",
|
|
1572
|
+
"content",
|
|
1573
|
+
"message",
|
|
1574
|
+
"branch"
|
|
1575
|
+
]
|
|
1576
|
+
}
|
|
1577
|
+
},
|
|
1578
|
+
{
|
|
1579
|
+
"name": "create_merge_request",
|
|
1580
|
+
"description": "Create a pull request or merge request.",
|
|
1581
|
+
"input_schema": {
|
|
1582
|
+
"type": "object",
|
|
1583
|
+
"properties": {
|
|
1584
|
+
"title": {
|
|
1585
|
+
"description": "PR/MR title",
|
|
1586
|
+
"type": "string"
|
|
1587
|
+
},
|
|
1588
|
+
"description": {
|
|
1589
|
+
"description": "PR/MR description",
|
|
1590
|
+
"type": "string"
|
|
1591
|
+
},
|
|
1592
|
+
"source_branch": {
|
|
1593
|
+
"description": "Source branch",
|
|
1594
|
+
"type": "string"
|
|
1595
|
+
},
|
|
1596
|
+
"target_branch": {
|
|
1597
|
+
"description": "Target branch",
|
|
1598
|
+
"type": "string"
|
|
1599
|
+
}
|
|
1600
|
+
},
|
|
1601
|
+
"required": [
|
|
1602
|
+
"title",
|
|
1603
|
+
"description",
|
|
1604
|
+
"source_branch",
|
|
1605
|
+
"target_branch"
|
|
1606
|
+
]
|
|
1607
|
+
}
|
|
1608
|
+
},
|
|
1609
|
+
{
|
|
1610
|
+
"name": "check_mr_status",
|
|
1611
|
+
"description": "Check the status of a merge request.",
|
|
1612
|
+
"input_schema": {
|
|
1613
|
+
"type": "object",
|
|
1614
|
+
"properties": {
|
|
1615
|
+
"mr_number": {
|
|
1616
|
+
"description": "MR/PR number",
|
|
1617
|
+
"type": "number"
|
|
1618
|
+
}
|
|
1619
|
+
},
|
|
1620
|
+
"required": [
|
|
1621
|
+
"mr_number"
|
|
1622
|
+
]
|
|
1623
|
+
}
|
|
1624
|
+
},
|
|
1625
|
+
{
|
|
1626
|
+
"name": "list_open_mrs",
|
|
1627
|
+
"description": "List open merge requests in the repository.",
|
|
1628
|
+
"input_schema": {
|
|
1629
|
+
"type": "object",
|
|
1630
|
+
"properties": {
|
|
1631
|
+
"limit": {
|
|
1632
|
+
"description": "Max results",
|
|
1633
|
+
"type": "number"
|
|
1634
|
+
}
|
|
1635
|
+
},
|
|
1636
|
+
"required": []
|
|
1637
|
+
}
|
|
1435
1638
|
}
|
|
1436
1639
|
]
|