slack-mcp
Slack MCP lets you act as yourself in Slack through a user token, covering messaging, search, channels, users, reactions, scheduled messages, canvases, and Lists.
Read channel/DM message history and threads as CSV, with count/window limits and cursor pagination.
Post, preview, update, and delete messages as yourself; markdown is rendered by Slack and unfurling is off.
Search messages with Slack modifiers and filters for channel, user, dates, threads, and IMs; also fetch a message by URL.
Find users by ID, handle, display name, real name, or email and get their DM channel.
List workspace channels or only channels you are in, with filters and sorting.
List user groups, including groups you belong to.
Add or remove emoji reactions.
Schedule messages up to 120 days ahead, list pending scheduled messages, and delete them.
Create, edit, find sections in, read, and delete canvases using markdown.
Create and manage Slack Lists and list items on paid plans.
Use channel IDs, #channel-name, or @user for DMs; posting tools can also open DMs or group DMs when needed.
Acts as the user in Slack via a user OAuth token, providing tools for channel and DM messaging, threads, message search, user and channel lookup, user groups, emoji reactions, scheduled messages, canvases, and Slack Lists.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@slack-mcp post 'standup in 10 minutes' to #engineering"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
slack-mcp
A lean MCP server that acts in Slack as you, through a user OAuth token (xoxp-…). One small Python process covers messaging, threads, search, users, channels, user groups and reactions, plus the APIs most Slack MCP servers skip: scheduled messages, canvases and Slack Lists.
Tools
Tool | What it does | Slack methods |
| Channel or DM messages as CSV; |
|
| A thread as CSV |
|
| Post as you; markdown is rendered by Slack ( |
|
| Post a |
|
| Edit the text of a message you posted (markdown by default) |
|
| Delete a message you posted |
|
| Search with channel, user, date and thread filters, or fetch one message by URL |
|
| Find users by ID, handle, name or email, with their DM channel |
|
| All channels, filtered and sorted / channels you are in |
|
| User groups / the groups you belong to (read-only) |
|
| Emoji reactions |
|
| Scheduled messages; text is markdown by default, like posting |
|
| Canvases from and to markdown |
|
| Slack Lists (paid plans); |
|
Wherever a tool takes a channel, it accepts an ID, #channel-name, or @user for that user's DM. conversations_add_message, conversations_preview_message and schedule_message also accept @a,@b for a group DM with those users (it needs the mpim:write scope; Slack returns the existing group DM when one exists). Only those three tools open a DM that does not exist yet; read tools and conversations_update_message fail instead. A preview's hash covers the resolved channel, thread_ts, content_type and the exact text; pending previews are held in memory, so a server restart drops them. A user is matched by ID, handle, then display or real name, and an ambiguous name is refused. Paging cursors carry the original window and page size. Tool names and parameters match korotovsky/slack-mcp-server for the overlapping tools, so existing prompts and permission rules keep working.
Related MCP server: Slack MCP Server
Message checks
Before any text is sent, conversations_add_message, conversations_preview_message, conversations_update_message and schedule_message check it locally. A text that would render wrongly is refused before any Slack call is made; the refusal lists what is wrong and carries the corrected text to retry with. A message sent as blocks is not checked.
Check | When | Refuses |
Dialect | always | Slack mrkdwn under |
Mentions | always | a bare |
| opt-in | a paragraph or list item over 80 words or 5 sentences |
| opt-in | markup in a |
Turn the opt-in rules on in the launcher with SLACK_MCP_STYLE, a comma-separated list: export SLACK_MCP_STYLE=paragraphs,plain-markup. An unknown rule name stops the server at startup.
slack-mcp-check runs the same checks offline, with no token and no network call:
slack-mcp-check [--content-type text/plain] [--style paragraphs,plain-markup] [--json] [FILE]It reads the text from FILE or standard input and exits 0 (passes), 1 (refused) or 2 (could not check). With --json it prints one object: {"schema": 1, "ok": false, "content_type": "text/markdown", "style": [], "issues": [{"kind": "dialect", "message": "…"}], "retry": {"content_type": "text/markdown", "text": "…"}}; retry is null when there is no corrected text. --style defaults to SLACK_MCP_STYLE.
Setup
Create a Slack app at https://api.slack.com/apps → From a manifest:
{ "display_information": { "name": "Slack MCP" }, "oauth_config": { "scopes": { "user": [ "channels:history", "channels:read", "groups:history", "groups:read", "im:history", "im:read", "im:write", "mpim:history", "mpim:read", "mpim:write", "users:read", "users:read.email", "chat:write", "search:read", "usergroups:read", "reactions:write", "canvases:read", "canvases:write", "files:read", "files:write", "lists:read", "lists:write" ] } }, "settings": { "org_deploy_enabled": false, "socket_mode_enabled": false, "token_rotation_enabled": false } }Drop the scopes for tools you will not use; a call that needs a missing scope fails with
missing_scope (token lacks scope: …).Install to Workspace and copy the User OAuth Token.
Register a launcher that reads the token from your secret manager at startup, so the token never lands in a config file or on a command line:
#!/usr/bin/env bash # slack-mcp-start.sh SLACK_USER_TOKEN="$(op read 'op://Private/Slack MCP/token')" || exit 1 # or any secret manager export SLACK_USER_TOKEN exec uvx --from git+https://github.com/asaphe/slack-mcp@v0.2.0 slack-mcpTo install both commands (
slack-mcpandslack-mcp-check) once instead of resolving them at each start, runuv tool install git+https://github.com/asaphe/slack-mcp@v0.2.0and end the launcher withexec slack-mcp.claude mcp add slack --scope user -- /path/to/slack-mcp-start.shAvoid
claude mcp add … -e SLACK_USER_TOKEN="$(…)": the shell expands the secret before Claude Code runs, and it is stored in plain text in~/.claude.json.
Security
The token is read from
SLACK_USER_TOKENonly, sent only in theAuthorizationheader toslack.com/api/and, forcanvas_read, tofiles.slack.comover HTTPS (any other file URL is refused and redirects are not followed). It is never logged or included in errors.Posting tools act as you. Gate them in your MCP client (for Claude Code:
permissions.askonmcp__slack__conversations_add_message,schedule_message,canvas_create,canvas_edit,list_create,list_item_create,list_items_update,delete_scheduled_message,reactions_*).No telemetry, no disk cache; user and channel directories live in memory for the process lifetime.
Tools run in worker threads, so a slow Slack call or a rate-limit wait never blocks the MCP connection.
Development
uv sync --all-groups
uv run pytest
uv run ruff check . && uv run ruff format --check . && uv run mypy srcLicense
MIT
Available Tools
28 toolscanvas_createADestructive
Create a canvas from markdown. channel_id tabs it in that channel; omit for a standalone canvas.
Inputs: title, channel_id, markdown_content.
canvas_deleteBDestructive
Delete a canvas (permanent).
Inputs: canvas_id (required).
canvas_editADestructive
Apply one edit. operation: insert_at_start|insert_at_end|insert_before|insert_after|replace|delete|rename. insert_before/insert_after/delete need section_id (canvas_find_sections); replace without section_id replaces the whole canvas; rename uses markdown_content as the new title.
Inputs: canvas_id (required), operation (required), section_id, markdown_content.
canvas_find_sectionsBRead-only
Find section IDs in a canvas by text and/or type (h1, h2, h3, any_header, list, table, ...).
Inputs: canvas_id (required), contains_text, section_types.
canvas_readCRead-only
A canvas's title and text content.
Inputs: canvas_id (required).
channels_listBRead-only
Workspace channels as CSV. channel_types: comma-separated public_channel, private_channel, im, mpim. query: case-insensitive substring over query_targets (name, topic, purpose). sort: 'popularity' (member count).
Inputs: channel_types (required), sort, limit, query, +2 more. Returns: result
channels_meBRead-only
Conversations you are a member of, as CSV. channel_types as in channels_list.
Inputs: limit, cursor, channel_types. Returns: result
conversations_add_messageADestructive
Post a message as you. content_type: 'text/markdown' (standard markdown, rendered by Slack) or 'text/plain'. blocks: a Block Kit array, which takes precedence; text then becomes the notification fallback. preview_hash: from conversations_preview_message; the post is refused unless channel, thread_ts, content_type and text are exactly what was previewed, and each preview sends once. Link and media unfurling is off.
Inputs: channel_id (required), text, blocks, thread_ts, +2 more. Returns: result
conversations_delete_messageBDestructive
Delete a message you posted (permanent).
Inputs: timestamp (required), channel_id (required).
conversations_historyARead-only
Messages in a channel or DM as CSV, newest first. limit: a count ('50') or a window ('1d', '2w', '3m', counted from local midnight); leave it empty when passing cursor. A non-empty Cursor column on the last row means more results: pass it back as cursor, which keeps the original window and page size.
Inputs: channel_id (required), limit, cursor, include_activity_messages. Returns: result
conversations_preview_messageA
Post a DRAFT of a message to your own DM, exactly as it would render, and return its preview_hash. Sending it is conversations_add_message with the same channel_id, text, thread_ts and content_type plus preview_hash, which refuses anything but those exact bytes. Previews live until the server restarts.
Inputs: text (required), channel_id (required), thread_ts, content_type. Returns: result
conversations_repliesBRead-only
A thread (parent plus replies) as CSV. thread_ts: the parent's ts, e.g. 1234567890.123456. limit and cursor work as in conversations_history.
Inputs: thread_ts (required), channel_id (required), limit, cursor, +1 more. Returns: result
conversations_search_messagesARead-only
Search messages as CSV. search_query may carry Slack modifiers (in:, from:, before:, …) or be a message URL, which returns that one message. Users: ID, @handle or name. Channels: ID or #name. Dates: YYYY-MM-DD, today, yesterday, 'N days ago', 'July 2026' (during: the whole month) or a month name (during only). limit: 1-100; a cursor replays the original query and page size; filters passed with it are ignored.
Inputs: limit, cursor, search_query, filter_date_on, +8 more. Returns: result
conversations_update_messageADestructive
Edit a message you posted, replacing its text. content_type as in conversations_add_message; text/plain is sent as text, which Slack still formats as mrkdwn on this method.
Inputs: text (required), timestamp (required), channel_id (required), content_type. Returns: result
delete_scheduled_messageBDestructive
Cancel a scheduled message before it posts.
Inputs: channel (required), scheduled_message_id (required).
list_createCDestructive
Create a Slack List. schema: [{"key","name","type":"text|date|select|user|...","is_primary_column"?,"options"?}].
Inputs: name (required), schema, todo_mode.
list_deleteADestructive
Delete a whole List and its items (permanent). Slack has no List-delete method, so this deletes the List's file.
Inputs: list_id (required).
list_item_createBDestructive
Add an item. initial_fields: [{"column_id", : value}]; text columns take "rich_text" blocks.
Inputs: list_id (required), initial_fields, parent_item_id.
list_item_deleteBDestructive
Delete one item (row) from a List (permanent).
Inputs: item_id (required), list_id (required).
list_itemsCRead-only
A List's items; include_list also returns its columns (column_id values for writes).
Inputs: list_id (required), limit, cursor, include_list.
list_items_updateCDestructive
Update up to 100 cells: [{"row_id","column_id", : value}].
Inputs: cells (required), list_id (required).
list_scheduled_messagesCRead-only
Your pending scheduled messages, optionally for one channel.
Inputs: cursor, channel.
reactions_addB
Add an emoji reaction (name without colons) to a message.
Inputs: emoji (required), timestamp (required), channel_id (required). Returns: result
reactions_removeBDestructive
Remove your emoji reaction from a message.
Inputs: emoji (required), timestamp (required), channel_id (required). Returns: result
schedule_messageADestructive
Schedule a message up to 120 days ahead. post_at: Unix seconds or ISO-8601 with offset. content_type as in conversations_add_message; text/plain is sent as text, which Slack formats as mrkdwn here.
Inputs: text (required), channel (required), post_at (required), thread_ts, +1 more.
usergroups_listBRead-only
User groups (@mention groups) as CSV: id, name, handle, description, user_count, users (if include_users).
Inputs: include_users, include_disabled. Returns: result
usergroups_meARead-only
User groups you belong to, as CSV.
Inputs: no named parameters. Returns: result
users_searchARead-only
Find users by ID, handle, display name, real name or email (case-insensitive substring) as CSV, with the DM channel ID when one exists.
Inputs: query (required), limit. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 28 tools
Most tools target a clearly distinct resource+action (canvas CRUD, list CRUD, message CRUD, reactions, scheduled messages), and the descriptions add useful clarification. The few soft overlaps are the list_items read vs list_items_update pair, conversations_history vs conversations_replies, and conversations_preview_message vs conversations_add_message, but the preview/post contract is spelled out explicitly enough that an agent can choose correctly.
The dominant pattern is noun_verb (conversations_add_message, canvas_create, usergroups_list), but it breaks down in places: 'list' is a noun namespace in list_create/list_items yet a verb in list_scheduled_messages, and schedule_message/delete_scheduled_message drop the namespace prefix entirely. Mixed noun-first and verb-first conventions plus an ambiguous 'list_' overload make the set readable but not predictable.
28 tools is at the heavy end, though the surface genuinely spans messages, threads, scheduling, canvases, lists, channels, users, usergroups and reactions, so each cluster earns its place. Still, some consolidation (e.g. channels_list/channels_me, usergroups_list/usergroups_me) could trim the count without losing capability.
Messaging, threading, scheduling, reactions, canvases and lists have solid lifecycle coverage, but the surrounding Slack surface has notable holes: no channel create/join/leave/invite or member listing, no user profile lookup beyond search, and no file upload. Agents can work around these via search/history, but common Slack workflows will hit dead ends.
Maintenance
Related MCP Connectors
Chat with your AI agents from Slack: each gets a thread in your DM, and your replies there wake it.
Messaging tools for AI agents: send messages, manage chats, groups and channels.
Hosted Slack MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Carbon Voice MCP serves as a bridge that connects AI assistants like ChatGPT, Claude, and Cursor to a user's Carbon Voice account, turning voice messages and conversations into a private, on-demand knowledge base. It provides 28 specialized tools for comprehensive voice messaging management, including creating and sending messages, accessing conversation history with instant transcription, running AI actions (summarization, TLDR generation, meeting notes), and managing workspace collaboration through folders, contacts, and team communications.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to interact with Slack workspaces through comprehensive channel management, messaging, direct messages, search functionality, and user management capabilities.305 npm3MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Slack workspaces through natural language, supporting channel management, message operations, user profiles, reactions, and threaded conversations.-
- AlicenseAqualityDmaintenanceIntegrates AI assistants with Slack workspaces using OAuth 2.0 authenticated user tokens for secure, multi-functional interaction. It enables comprehensive operations including channel management, message searching, file handling, and reaction management through natural language.20169 npmMIT
- AlicenseAqualityDmaintenanceEnables AI assistants to interact with Slack workspaces, including listing channels, posting messages, replying to threads, adding reactions, and retrieving user information.1019 npmMIT