Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
No tool list is on record. This does not mean the server has no tools. Tools were not run.
No setup evidence yet No matching config or report on record. This does not mean the server is incompatible.
Both catalog entries mention slack.
MCP server for interacting with Slack
Both catalog entries mention slack.
Enable interaction with Slack workspaces. Supports subscribing to Slack events through Resources.
Both catalog entries mention slack.
Send messages, access channels, and manage files in your Slack workspace.
Fetched from the repository for this visit.
A MCP(Model Context Protocol) server for accessing Slack API. This server allows AI assistants to interact with the Slack API through a standardized interface.
This server supports both traditional and modern MCP transport methods:
Available tools:
slack_list_channels - List public channels in the workspace with paginationslack_post_message - Post a new message to a Slack channel. text is standard Markdown that Slack renders; set format: "slack_mrkdwn" to write Slack mrkdwn insteadslack_reply_to_thread - Reply to a specific message thread in Slack. Takes text and format like slack_post_messageslack_add_reaction - Add a reaction emoji to a messageslack_get_channel_history - Get recent messages from a channelslack_get_thread_replies - Get all replies in a message threadslack_get_users - Retrieve basic profile information of all users in the workspaceslack_get_user_profiles - Get multiple users' profile information in bulk (efficient for batch operations)slack_search_messages - Search for messages in the workspace with powerful filters:
in_channelfrom_user, withbefore (YYYY-MM-DD), after (YYYY-MM-DD), on (YYYY-MM-DD), during (e.g., "July", "2023")has (emoji reactions), is (saved/thread)npm install @ubie-oss/slack-mcp-server
NOTE: Its now hosted in GitHub Registry so you need your PAT.
You need to set the following environment variables:
SLACK_BOT_TOKEN: Slack Bot User OAuth TokenSLACK_USER_TOKEN: Slack User OAuth Token (required for some features like message search)SLACK_SAFE_SEARCH (optional): When set to true, message searches use Slack's Real-time Search API with channel_types: ["public_channel"]. The user token must have the search:read.public scope. The public-channel restriction applies before results are selected and paginated; clients cannot override it. This option affects message search, not the permissions of other tools.You can also create a .env file to set these environment variables:
SLACK_BOT_TOKEN=xoxb-your-bot-token
SLACK_USER_TOKEN=xoxp-your-user-token
SLACK_SAFE_SEARCH=true # Optional: Enable safe search mode
With SLACK_SAFE_SEARCH=true, slack_search_messages calls assistant.search.context using the user token, public channels only, message results only, and keyword search. It does not call legacy search.messages, including when the new API is unavailable or the token lacks a required scope.
The search tool keeps the existing keyword, channel, user, date and sorting fields. Public mode uses limit (1–20, default 20) and cursor instead of count and page. Pass next_cursor back with the same query and filters to read another page. An empty cursor marks the end of the results.
{"query":"project update","limit":20,"cursor":"cursor-from-the-previous-response"}
Each successful MCP call returns a single text content block containing this JSON contract. It has no total counts, page numbers, ranking metadata, contextual messages or other result types. channel.name and user may be omitted; next_cursor is always a string.
{
"contract": "slack-public-search-v1",
"messages": {
"matches": [{
"channel": {"id": "C1234567", "name": "general"},
"text": "Public project update",
"ts": "1234567890.123456",
"user": "U1234567",
"permalink": "https://example.slack.com/archives/C1234567/p1234567890123456"
}]
},
"next_cursor": ""
}
To upgrade an existing safe-search deployment:
search:read.public user scope to the Slack app and reauthorize it. A token with only legacy search:read is insufficient. Do not share tokens in configuration examples or logs.missing_scope error explains the required scope; other API failures do not trigger a legacy fallback.slack-public-search-v1 response and cursor input. Clients that depend on a public-only boundary should reject legacy responses instead of forwarding their metadata.When SLACK_SAFE_SEARCH is unset or false, the existing legacy search API, count/page inputs and response shape remain unchanged.
Stdio Transport (default):
npx @ubie-oss/slack-mcp-server
Streamable HTTP Transport:
npx @ubie-oss/slack-mcp-server -port 3000
You can also run the installed module with node:
# Stdio transport
node node_modules/.bin/slack-mcp-server
# HTTP transport
node node_modules/.bin/slack-mcp-server -port 3000
Command Line Options:
-port <number>: Start with Streamable HTTP transport on specified port-h, --help: Show help messageFor Stdio Transport (Claude Desktop, etc.):
{
"slack": {
"command": "npx",
"args": [
"-y",
"@ubie-oss/slack-mcp-server"
],
"env": {
"NPM_CONFIG_//npm.pkg.github.com/:_authToken": "<your-github-pat>",
"SLACK_BOT_TOKEN": "<your-bot-token>",
"SLACK_USER_TOKEN": "<your-user-token>",
"SLACK_SAFE_SEARCH": "true"
}
}
}
For Streamable HTTP Transport (Web applications):
Start the server:
SLACK_BOT_TOKEN=<your-bot-token> SLACK_USER_TOKEN=<your-user-token> npx @ubie-oss/slack-mcp-server -port 3000
Connect to: http://localhost:3000/mcp
See examples/README.md for detailed client examples.
This server adopts the following implementation pattern:
Define request/response using Zod schemas
Implementation flow:
For example, the slack_list_channels implementation parses the request with ListChannelsRequestSchema, calls slackClient.conversations.list, and returns the response parsed with ListChannelsResponseSchema.
npm run dev - Start the server in development mode with hot reloadingnpm run build - Build the project for productionnpm run start - Start the production servernpm run lint - Run linting checks (ESLint and Prettier)npm test - Run the message-search boundary tests with Node's test runnernpm run fix - Automatically fix linting issuesnpm run lintLoading reviews...
GitHub checked 112h ago - refresh overdue. Recently viewed repositories target hourly refresh.
Find a documented setup for your client. No sign-in, installation, or tool execution.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.