@burdenoff/mcp-libs 2026.1110.6 → 2026.1110.8

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.
@@ -621,7 +621,8 @@ function registerAdapterTools(server, ctx, track) {
621
621
  server.registerTool(track(require_core.mcpToolName(ctx.productName, "adapters_archive")), {
622
622
  title: "Archive Adapter",
623
623
  description: "Archive (soft-delete) an adapter. Returns true on success.",
624
- inputSchema: { id: zod.z.string().describe("Adapter ID") }
624
+ inputSchema: { id: zod.z.string().describe("Adapter ID") },
625
+ annotations: { destructiveHint: true }
625
626
  }, async ({ id }) => {
626
627
  try {
627
628
  const data = await ctx.gql.workspace.request(ARCHIVE_ADAPTER, { id });
@@ -758,7 +759,8 @@ function registerConnectionTools(server, ctx, track) {
758
759
  server.registerTool(track(require_core.mcpToolName(ctx.productName, "connections_disable")), {
759
760
  title: "Disable Connection",
760
761
  description: "Disable a connection (stops future syncs). Returns the updated connection.",
761
- inputSchema: { id: zod.z.string().describe("Connection ID") }
762
+ inputSchema: { id: zod.z.string().describe("Connection ID") },
763
+ annotations: { destructiveHint: true }
762
764
  }, async ({ id }) => {
763
765
  try {
764
766
  const data = await ctx.gql.workspace.request(DISABLE_CONNECTION, { id });
@@ -1069,7 +1071,8 @@ function registerPolicyTools(server, ctx, track) {
1069
1071
  server.registerTool(track(require_core.mcpToolName(ctx.productName, "policies_archive")), {
1070
1072
  title: "Archive Policy",
1071
1073
  description: "Archive (soft-delete) a governance policy. Returns true on success.",
1072
- inputSchema: { id: zod.z.string().describe("Policy ID") }
1074
+ inputSchema: { id: zod.z.string().describe("Policy ID") },
1075
+ annotations: { destructiveHint: true }
1073
1076
  }, async ({ id }) => {
1074
1077
  try {
1075
1078
  const data = await ctx.gql.workspace.request(ARCHIVE_POLICY, { id });
@@ -1153,7 +1156,8 @@ function registerViolationTools(server, ctx, track) {
1153
1156
  id: zod.z.string().describe("Violation ID"),
1154
1157
  status: ViolationStatusEnum.describe("New status (e.g. RESOLVED, WAIVED, ACKNOWLEDGED)"),
1155
1158
  waiverReason: zod.z.string().optional().describe("Reason — required when status is WAIVED")
1156
- }
1159
+ },
1160
+ annotations: { destructiveHint: true }
1157
1161
  }, async ({ id, status, waiverReason }) => {
1158
1162
  try {
1159
1163
  const data = await ctx.gql.workspace.request(RESOLVE_VIOLATION, {
@@ -1226,7 +1230,8 @@ function registerDriftTools(server, ctx, track) {
1226
1230
  server.registerTool(track(require_core.mcpToolName(ctx.productName, "drift_remediate")), {
1227
1231
  title: "Remediate Drift",
1228
1232
  description: "Mark a drift record as remediated. Returns the updated drift record.",
1229
- inputSchema: { id: zod.z.string().describe("Drift record ID") }
1233
+ inputSchema: { id: zod.z.string().describe("Drift record ID") },
1234
+ annotations: { destructiveHint: true }
1230
1235
  }, async ({ id }) => {
1231
1236
  try {
1232
1237
  const data = await ctx.gql.workspace.request(REMEDIATE_DRIFT, { id });
@@ -1355,7 +1360,8 @@ function registerSyncTools(server, ctx, track) {
1355
1360
  server.registerTool(track(require_core.mcpToolName(ctx.productName, "sync_cancel")), {
1356
1361
  title: "Cancel Sync Run",
1357
1362
  description: "Cancel an in-flight or queued sync run. Returns the updated sync run.",
1358
- inputSchema: { id: zod.z.string().describe("Sync run ID") }
1363
+ inputSchema: { id: zod.z.string().describe("Sync run ID") },
1364
+ annotations: { destructiveHint: true }
1359
1365
  }, async ({ id }) => {
1360
1366
  try {
1361
1367
  const data = await ctx.gql.workspace.request(CANCEL_SYNC_RUN, { id });
@@ -1665,6 +1671,8 @@ Show results at each step and confirm before running discovery.`
1665
1671
  4. **Policies**: Use ${p}_policies_list to confirm the active guardrails; tighten enforcement with ${p}_policies_update if needed.
1666
1672
  5. **Cost**: Use ${p}_cost_summary for headline spend by service, then ${p}_cost_list to drill into a specific service.
1667
1673
 
1674
+ Destructive steps (drift_remediate, violations_resolve, and any disable/archive/cancel) are confirmation-gated (BOFF-5877): preview exactly what will change, get the human's explicit approval, then re-call with confirm: true — never self-confirm. Skipped items stay open.
1675
+
1668
1676
  Summarize what needs attention after each step.`
1669
1677
  }
1670
1678
  }] };