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-1Lines changed: 11 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,6 +84,16 @@ Get list of channels
84
84
-`limit` (number, default: 100): The maximum number of items to return. Must be an integer between 1 and 1000 (maximum 999).
85
85
-`cursor` (string, optional): Cursor for pagination. Use the value of the last row and column in the response as next_cursor field returned from the previous request.
86
86
87
+
### 6. reactions_add:
88
+
Add an emoji reaction to a message in a public channel, private channel, or direct message (DM, or IM) conversation.
89
+
90
+
> **Note:** Adding reactions is disabled by default for safety. To enable, set the `SLACK_MCP_ADD_MESSAGE_TOOL` environment variable. If set to a comma-separated list of channel IDs, reactions are enabled only for those specific channels. See the Environment Variables section below for details.
91
+
92
+
-**Parameters:**
93
+
-`channel_id` (string, required): ID of the channel in format `Cxxxxxxxxxx` or its name starting with `#...` or `@...` aka `#general` or `@username_dm`.
94
+
-`timestamp` (string, required): Timestamp of the message to add reaction to, in format `1234567890.123456`.
95
+
-`emoji` (string, required): The name of the emoji to add as a reaction (without colons). Example: `thumbsup`, `heart`, `rocket`.
96
+
87
97
## Resources
88
98
89
99
The Slack MCP Server exposes two special directory resources for easy access to workspace metadata:
@@ -135,7 +145,7 @@ Fetches a CSV directory of all users in the workspace.
135
145
|`SLACK_MCP_SERVER_CA`| No |`nil`| Path to CA certificate |
136
146
|`SLACK_MCP_SERVER_CA_TOOLKIT`| No |`nil`| Inject HTTPToolkit CA certificate to root trust-store for MitM debugging |
137
147
|`SLACK_MCP_SERVER_CA_INSECURE`| No |`false`| Trust all insecure requests (NOT RECOMMENDED) |
138
-
|`SLACK_MCP_ADD_MESSAGE_TOOL`| No |`nil`| Enable message posting via `conversations_add_message` by setting it to true for all channels, a comma-separated list of channel IDs to whitelist specific channels, or use `!` before a channel ID to allow all except specified ones, while an empty value disables posting by default. |
148
+
|`SLACK_MCP_ADD_MESSAGE_TOOL`| No |`nil`| Enable message posting via `conversations_add_message`and emoji reactions via `reactions_add`by setting it to true for all channels, a comma-separated list of channel IDs to whitelist specific channels, or use `!` before a channel ID to allow all except specified ones, while an empty value disables these tools by default. |
139
149
|`SLACK_MCP_ADD_MESSAGE_MARK`| No |`nil`| When the `conversations_add_message` tool is enabled, any new message sent will automatically be marked as read. |
140
150
|`SLACK_MCP_ADD_MESSAGE_UNFURLING`| No |`nil`| Enable to let Slack unfurl posted links or set comma-separated list of domains e.g. `github.com,slack.com` to whitelist unfurling only for them. If text contains whitelisted and unknown domain unfurling will be disabled for security reasons. |
141
151
|`SLACK_MCP_USERS_CACHE`| No |`~/Library/Caches/slack-mcp-server/users_cache.json` (macOS)<br>`~/.cache/slack-mcp-server/users_cache.json` (Linux)<br>`%LocalAppData%/slack-mcp-server/users_cache.json` (Windows) | Path to the users cache file. Used to cache Slack user information to avoid repeated API calls on startup. |
mcp.WithDescription("Search messages in a public channel, private channel, or direct message (DM, or IM) conversation using filters. All filters are optional, if not provided then search_query is required."),
0 commit comments