Slack MCP server: setup, auth, production
Last verified: June 2026· Slack MCP integration
Official MCP server commonly availableYour team’s messaging and notifications.
What is the Slack MCP server?
A Slack MCP server implements the Model Context Protocol and exposes Slack's capabilities as typed tools an agent can discover and call in the middle of a task. A first-party server is commonly available, so the build effort goes into scoping and audit rather than into the protocol. What this setup has in common with every other integration in the Comms & docs category is covered under Comms & docs on the MCP index.
A real Slack workflow
A long agent task finishes and posts a tidy summary to the right channel; an incident kicks off and the agent drops the timeline as it develops — the agent reports into where the team already works instead of a log nobody reads.
What an agent can do with Slack
- Have an agent post a deploy or incident summary to a channel
- Pull recent discussion for context on a decision
- Notify the right people when a long task finishes
Read-only is the right default: let the agent observe and reason first, then grant specific write actions deliberately — each behind audit logging and, for anything high-impact, human approval.
Setting up the Slack MCP server
Create a Slack app with a bot token carrying only the scopes you need (chat:write to specific channels, history read only if required). Invite the bot to the exact channels — don’t grant workspace-wide posting.
Auth: A Slack app with narrowly scoped bot token permissions. Credentials belong in the environment or a secret store — never in the repo or the agent's sandbox. Wiring a server into Claude Code or Cursor is the same for every tool; the step-by-step lives in the MCP connection guide.
The risk to watch with Slack
The failure mode is noise and reach: a bot that can post anywhere becomes spam or, worse, leaks context into a public channel. Scope to named channels and keep read scopes minimal.
Scoping a Slack server down
Slack is unusual in that the sensitive content is the conversation itself, so the scoping decision is which channels rather than which permissions. Install the app to a named set of channels rather than the workspace, and prefer public engineering channels over anything where people discuss individuals. Reading a channel copies its contents into a model provider's context, which is a disclosure decision that belongs to whoever owns the workspace rather than to the engineer wiring up the server. Posting is a lower risk technically and a higher one socially: an agent that messages a channel without a clearly marked identity erodes trust quickly.
More broadly, a production-grade Slack integration needs channel scoping and preventing noisy or unauthorized posting. The MCP security checklist applies to every integration — we build servers with these controls baked in.
Troubleshooting
If the Slack tools don't appear after setup, it's almost always auth or transport. See MCP server not connecting for the step-by-step fix — and note that hosted servers often need OAuth, not a plain API key. To understand how MCP relates to ordinary tool use, see MCP vs function calling.
Frequently asked questions
Is there an official MCP server for Slack?
Official MCP server commonly available. Whichever you use, a production setup needs channel scoping and preventing noisy or unauthorized posting.
How does authentication work for Slack over MCP?
A Slack app with narrowly scoped bot token permissions. Credentials should never live in the sandbox or the repo; route them through your client's secret handling or a vaulted credential.
What can an agent actually do with Slack?
Have an agent post a deploy or incident summary to a channel; Pull recent discussion for context on a decision; Notify the right people when a long task finishes. Start read-only and add write access deliberately, behind audit logging.
Is it safe to give agents access to Slack?
Yes, when scoped correctly: least-privilege credentials, read-only by default, audit logs on every call, and human approval for any high-impact action. Channel scoping and preventing noisy or unauthorized posting.