A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/korotovsky/slack-mcp-server below:

korotovsky/slack-mcp-server: The most powerful MCP Slack Server with no permission requirements, Apps support, multiple transports Stdio and SSE, DMs, Group DMs and smart history fetch logic.

Model Context Protocol (MCP) server for Slack Workspaces. The most powerful MCP Slack server — supports Stdio and SSE transports, proxy settings, DMs, Group DMs, Smart History fetch (by date or count), may work via OAuth or in complete stealth mode with no permissions and scopes in Workspace 😏.

Important

We need your support! Each month, over 30,000 engineers visit this repository, and more than 9,000 are already using it.

If you appreciate the work our contributors have put into this project, please consider giving the repository a star.

This feature-rich Slack MCP Server has:

1. conversations_history:

Get messages from the channel (or DM) by channel_id, the last row/column in the response is used as 'cursor' parameter for pagination if not empty

2. conversations_replies:

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.

3. conversations_add_message

Add a message to a public channel, private channel, or direct message (DM, or IM) conversation by channel_id and thread_ts.

Note: Posting messages 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, posting is enabled only for those specific channels. See the Environment Variables section below for details.

4. conversations_search_messages

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.

Get list of channels

The Slack MCP Server exposes two special directory resources for easy access to workspace metadata:

1. slack://<workspace>/channels — Directory of Channels

Fetches a CSV directory of all channels in the workspace, including public channels, private channels, DMs, and group DMs.

2. slack://<workspace>/users — Directory of Users

Fetches a CSV directory of all users in the workspace.

Environment Variables (Quick Reference) Variable Required? Default Description SLACK_MCP_XOXC_TOKEN Yes* nil Slack browser token (xoxc-...) SLACK_MCP_XOXD_TOKEN Yes* nil Slack browser cookie d (xoxd-...) SLACK_MCP_XOXP_TOKEN Yes* nil User OAuth token (xoxp-...) — alternative to xoxc/xoxd SLACK_MCP_PORT No 13080 Port for the MCP server to listen on SLACK_MCP_HOST No 127.0.0.1 Host for the MCP server to listen on SLACK_MCP_SSE_API_KEY No nil Bearer token for SSE transport SLACK_MCP_PROXY No nil Proxy URL for outgoing requests SLACK_MCP_USER_AGENT No nil Custom User-Agent (for Enterprise Slack environments) SLACK_MCP_CUSTOM_TLS No nil Send custom TLS-handshake to Slack servers based on SLACK_MCP_USER_AGENT or default User-Agent. (for Enterprise Slack environments) SLACK_MCP_SERVER_CA No nil Path to CA certificate SLACK_MCP_SERVER_CA_TOOLKIT No nil Inject HTTPToolkit CA certificate to root trust-store for MitM debugging SLACK_MCP_SERVER_CA_INSECURE No false Trust all insecure requests (NOT RECOMMENDED) 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. 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. 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. SLACK_MCP_USERS_CACHE No .users_cache.json Path to the users cache file. Used to cache Slack user information to avoid repeated API calls on startup. SLACK_MCP_CHANNELS_CACHE No .channels_cache_v2.json Path to the channels cache file. Used to cache Slack channel information to avoid repeated API calls on startup. SLACK_MCP_LOG_LEVEL No info Log-level for stdout or stderr. Valid values are: debug, info, warn, error, panic and fatal

*You need either xoxp or both xoxc/xoxd tokens for authentication.

Limitations matrix & Cache Users Cache Channels Cache Limitations ❌ ❌ No cache, No LLM context enhancement with user data, tool channels_list will be fully not functional. Tools conversations_* will have limited capabilities and you won't be able to search messages by @userHandle or #channel-name, getting messages by @userHandle or #channel-name won't be available either. ✅ ❌ No channels cache, tool channels_list will be fully not functional. Tools conversations_* will have limited capabilities and you won't be able to search messages by @userHandle or #channel-name, getting messages by @userHandle or #channel-name won't be available either. ✅ ✅ No limitations, fully functional Slack MCP Server.
# Run the inspector with stdio transport
npx @modelcontextprotocol/inspector go run mcp/mcp-server.go --transport stdio

# View logs
tail -n 20 -f ~/Library/Logs/Claude/mcp*.log

Licensed under MIT - see LICENSE file. This is not an official Slack product.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4