Skip to content
Agent Month

Slack MCP server: setup, auth, production

Last verified: June 2026· Slack MCP integration

Official MCP server commonly available

Your 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. Your team’s messaging and notifications.

Docs and comms access give an agent the context that lives outside the repo — the spec, the decision, the channel where it was made — and a way to report back. Scope to the right spaces and prevent noisy or unauthorized posting.

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.

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.