Loading...

MCP server for Slack, offering read and write access to Slack workspaces via various transports, with configurable safety features and stealth/OAuth modes.
Boost this tool
Subscribe to listing upgrades or segmented pushes.
MCP server for Slack, offering read and write access to Slack workspaces via various transports, with configurable safety features and stealth/OAuth modes.
This server offers a balance of read and write capabilities. It's relatively safe in read-only or stealth mode. Enabling write operations like message posting increases the risk, especially without proper channel restrictions and input validation. Exercise caution when enabling write operations.
Performance depends on network latency and Slack API rate limits. Caching of users and channels can improve performance.
Cost is primarily driven by Slack API usage, which is subject to rate limits and potential charges for high-volume usage.
npx @modelcontextprotocol/inspector{
"mcpServers": {
"slack": {
"command": "npx",
"args": [
"-y",
"slack-mcp-server@latest",
"--transport",
"stdio"
],
"env": {
"SLACK_MCP_XOXC_TOKEN": "xoxc-...",
"SLACK_MCP_XOXD_TOKEN": "xoxd-..."
}
}
}
}SLACK_MCP_XOXC_TOKENSLACK_MCP_XOXD_TOKENSLACK_MCP_XOXP_TOKENSLACK_MCP_XOXB_TOKENSLACK_MCP_PORTSLACK_MCP_API_KEYconversations_historyRetrieves messages from a specified channel or DM.
Read-only operation; retrieves existing messages.
conversations_repliesRetrieves replies to a specific thread in a channel or DM.
Read-only operation; retrieves existing replies.
conversations_add_messageAdds a message to a specified channel or thread.
Adds content to Slack, but is disabled by default and can be restricted to specific channels.
conversations_search_messagesSearches messages within channels, DMs, and threads based on various filters.
Read-only operation; searches existing messages.
channels_listLists available channels based on specified types.
Read-only operation; lists available channels.
reactions_addAdds an emoji reaction to a message.
Adds a reaction to a message, but is disabled by default and can be restricted to specific channels.
reactions_removeRemoves an emoji reaction from a message.
Removes a reaction from a message, permission follows reactions_add.
users_searchSearches for users by name, email, or display name.
Read-only operation; searches user information.
usergroups_listLists all user groups in the workspace.
Read-only operation; lists user groups.
OAuth|Token|Environment Variable
hybrid
channels:historychannels:readchat:writeusers:readsearch:readreactions:readreactions:writeThis server offers a balance of read and write capabilities. It's relatively safe in read-only or stealth mode. Enabling write operations like message posting increases the risk, especially without proper channel restrictions and input validation. Exercise caution when enabling write operations.
Autonomy is limited by the default read-only mode. Write operations require explicit enablement and channel restrictions for safety.
Production Tip
Start with read-only operations and gradually enable write operations with strict channel restrictions and input validation.
Stealth mode allows the server to operate without requiring additional permissions or bot installations in the Slack workspace.
Set the `SLACK_MCP_ADD_MESSAGE_TOOL` environment variable. Optionally, provide a comma-separated list of channel IDs to restrict posting to those channels.
The supported content types are 'text/markdown' and 'text/plain'.
The search functionality allows you to search messages in channels, DMs, and threads using various filters like date, user, and content.
OAuth mode uses secure OAuth tokens for access, while stealth mode operates without requiring additional permissions or bot installations.
Utilize the caching features for users and channels to reduce API calls and potential rate limiting issues.
The `conversations_search_messages` tool is not available when using bot tokens (`xoxb-*`). Bot tokens cannot use the `search.messages` API.