You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-2Lines changed: 11 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,11 +12,20 @@ Model Context Protocol (MCP) server for Slack Workspaces. This integration suppo
12
12
- Get messages from the channel by channelID
13
13
- Required inputs:
14
14
-`channel_id` (string): ID of the channel in format Cxxxxxxxxxx.
15
-
-`cursor` (string): Cursor for pagination. Use the value of the last row and column in the response as next_cursor field returned from the previous request.
15
+
-`cursor` (string, default: ""): Cursor for pagination. Use the value of the last row and column in the response as next_cursor field returned from the previous request.
16
16
-`limit` (string, default: 28): Limit of messages to fetch.
17
17
- Returns: List of messages with timestamps, user IDs, and text content
18
18
19
-
2.`channels_list`
19
+
2.`conversations_replies`
20
+
- Get a thread of messages posted to a conversation by channelID and thread_ts
21
+
- Required inputs:
22
+
-`channel_id` (string): ID of the channel in format Cxxxxxxxxxx.
23
+
-`thread_ts` (string): Unique identifier of either a thread’s parent message or a message in the thread. ts must be the timestamp in format 1234567890.123456 of an existing message with 0 or more replies.
24
+
-`cursor` (string, default: ""): Cursor for pagination. Use the value of the last row and column in the response as next_cursor field returned from the previous request.
25
+
-`limit` (string, default: 28): Limit of messages to fetch.
26
+
- Returns: List of replies with timestamps, user IDs, and text content
mcp.WithDescription("Get a thread of messages posted to a conversation by channelID and thread_ts, the last row/column in the response is used as 'cursor' parameter for pagination if not empty"),
43
+
mcp.WithString("channel_id",
44
+
mcp.Required(),
45
+
mcp.Description("ID of the channel in format Cxxxxxxxxxx"),
46
+
),
47
+
mcp.WithString("thread_ts",
48
+
mcp.Required(),
49
+
mcp.Description("Unique identifier of either a thread’s parent message or a message in the thread. ts must be the timestamp in format 1234567890.123456 of an existing message with 0 or more replies."),
50
+
),
51
+
mcp.WithString("cursor",
52
+
mcp.Description("Cursor for pagination. Use the value of the last row and column in the response as next_cursor field returned from the previous request."),
53
+
),
54
+
mcp.WithString("limit",
55
+
mcp.DefaultString("1d"),
56
+
mcp.Description("Limit of messages to fetch in format of maximum ranges of time (e.g. 1d - 1 day, 30d - 30 days, 90d - 90 days which is a default limit for free tier history) or number of messages (e.g. 50). Must be empty when 'cursor' is provided."),
0 commit comments