yt-slack-mcp 0.3.0 → 0.3.1
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/index.js +8 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -419,36 +419,43 @@ const TOOLS = [
|
|
|
419
419
|
name: "slack_read_permalink",
|
|
420
420
|
description: "Read a Slack message or thread from a permalink, including inline text files, extracted PDFs, and images.",
|
|
421
421
|
inputSchema: zodToJsonSchema(ReadPermalinkSchema),
|
|
422
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true },
|
|
422
423
|
},
|
|
423
424
|
{
|
|
424
425
|
name: "slack_get_replies",
|
|
425
426
|
description: "Read replies for a Slack thread by channel id and thread timestamp.",
|
|
426
427
|
inputSchema: zodToJsonSchema(GetRepliesSchema),
|
|
428
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true },
|
|
427
429
|
},
|
|
428
430
|
{
|
|
429
431
|
name: "slack_get_history",
|
|
430
432
|
description: "Read recent Slack channel history.",
|
|
431
433
|
inputSchema: zodToJsonSchema(GetHistorySchema),
|
|
434
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true },
|
|
432
435
|
},
|
|
433
436
|
{
|
|
434
437
|
name: "slack_reply_to_thread",
|
|
435
438
|
description: "Reply to a Slack thread. Restricted to allowed channels.",
|
|
436
439
|
inputSchema: zodToJsonSchema(ReplyToThreadSchema),
|
|
440
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true },
|
|
437
441
|
},
|
|
438
442
|
{
|
|
439
443
|
name: "slack_add_reaction",
|
|
440
444
|
description: "Add a reaction to a Slack message. Restricted to allowed channels.",
|
|
441
445
|
inputSchema: zodToJsonSchema(AddReactionSchema),
|
|
446
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true },
|
|
442
447
|
},
|
|
443
448
|
{
|
|
444
449
|
name: "slack_upload_files",
|
|
445
450
|
description: "Upload one or more local files to a channel or thread. Restricted to allowed channels.",
|
|
446
451
|
inputSchema: zodToJsonSchema(UploadFilesSchema),
|
|
452
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true },
|
|
447
453
|
},
|
|
448
454
|
{
|
|
449
455
|
name: "slack_edit_message",
|
|
450
456
|
description: "Edit an authored Slack message or thread reply by channel id and timestamp. Replaces the message text; any existing Block Kit blocks are removed by Slack. Restricted to allowed channels.",
|
|
451
457
|
inputSchema: zodToJsonSchema(EditMessageSchema),
|
|
458
|
+
annotations: { readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: true },
|
|
452
459
|
},
|
|
453
460
|
];
|
|
454
461
|
|
|
@@ -640,6 +647,7 @@ if (isMain) {
|
|
|
640
647
|
}
|
|
641
648
|
|
|
642
649
|
export {
|
|
650
|
+
TOOLS,
|
|
643
651
|
parsePermalink,
|
|
644
652
|
requireString,
|
|
645
653
|
assertAllowedWriteChannel,
|
package/package.json
CHANGED