Skip to content
← All guides

Slack MCP server security: what it can read and send

Slack’s MCP server can search, read and post as you. See its OAuth scopes, admin approval rules and how to limit it in Claude Code and Codex.

5 min read

The Slack MCP server is Slack’s own hosted server at https://mcp.slack.com/mcp. It reads and searches messages, channels, files and users, and it can also send messages, create channels and canvases, add reactions and upload files, all as you. It needs a registered Slack app and admin approval, so the first control sits with your workspace admins. Then limit the write tools in Claude Code or Codex.

Who maintains it and how it connects

Slack maintains it, and the docs are at docs.slack.dev. It uses JSON-RPC 2.0 over Streamable HTTP. SSE connections and Dynamic Client Registration are not supported. Authentication is confidential OAuth with your app’s client ID and secret, and user tokens come from https://slack.com/oauth/v2_user/authorize. Bot tokens are optional. PKCE is available for desktop clients.

Slack says workspace admins “can approve and manage all MCP client integrations,” and that only apps published in the Slack Marketplace and internal apps can use MCP at this time. Unlisted apps are prohibited.

What the tools can do

Slack’s page describes tool areas and the user-token scopes behind them.

AreaWhat it doesScopes
SearchMessages, channels, files, users, emojisearch:read.public, search:read.private, search:read.mpim, search:read.im, search:read.files, search:read.users
ReadChannels and threadschannels:history, groups:history, mpim:history, im:history
Write messagesSend, schedule and draft messageschat:write
Canvases and listsCreate, update and readcanvases:read, canvases:write, lists:read, lists:write
ReactionsAdd and getreactions:write, reactions:read
FilesUpload through slack_get_file_upload_url and slack_complete_file_uploadfiles:write

The page does not name every tool, and it lists no delete tool. Check /mcp in Claude Code or /mcp in the Codex TUI for the names your connection exposes.

Risks

  • Message content. A public channel, a shared channel or a direct message can contain text written by someone else. The model reads it as part of the task.
  • Sends as you. chat:write posts under your identity, in channels the model picks.
  • Private reach. The private and direct-message search and history scopes reach conversations you can see.
  • Other servers. Slack warns to be cautious when combining its server with other MCP servers.
  • Audit. Slack says you can audit MCP activity with Slack audit logs.

Limit it in Claude Code

Slack needs a registered app with a fixed app ID, so set the server up from your client’s Slack instructions, then add rules once you can see the tool names in /mcp.

{
  "permissions": {
    "ask": ["mcp__slack__*"]
  }
}

Replace slack with the name you gave the server. Once you know the tool names, deny the send, schedule and upload tools for read-only research tasks, and use mcp__<server>__<tool> for each. Claude Code stores remote server tokens it gets through /mcp and refreshes them automatically. Choosing Clear authentication in /mcp revokes access, per Claude Code’s docs.

Limit it in Codex

[mcp_servers.slack]
url = "https://mcp.slack.com/mcp"
default_tools_approval_mode = "prompt"

Add enabled_tools with only the search and read tools once you have their names from /mcp. Run codex mcp login slack to sign in. Slack’s page does not cover Claude Code or Codex setup, so confirm that your app registration works with the client before you rely on it.

Checklist

  1. Ask your admin which apps are approved before you install anything.
  2. Give the app only the scopes the task needs.
  3. Prefer search and read tools for research, and keep send tools behind an ask.
  4. Treat channel text as untrusted.
  5. Keep customer data and keys out of the prompt. See keeping keys and email out of agent logs.
  6. Compare the agent’s record with Slack audit logs. The MCP security hub has the general rules.

Checked against the vendor documentation on November 25, 2026. Slack MCP server · Claude Code MCP · Codex MCP

What Excellent covers

Excellent does not inspect MCP servers themselves. Its free scan reads supported logs on the Mac and reports findings for review. It reads the session logs of Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code, so it can show what an agent did after it called a tool. It does not read Cursor’s, OpenClaw’s or Claude Cowork’s logs. For a local report without installing an app, run the free scan. Its script uses Python 3.9 or later when your Mac has it and the shell when it doesn’t, reads the logs locally and makes no network requests. See a sample report.

Excellent Pro adds checks before supported actions. Claude Code can display an ask prompt. With Codex, an Excellent “ask” refuses the action and tells the agent to ask you. Commands sent into an already running Codex shell fall outside that check. Agent coverage · Pricing. Pro is US-only for now.

Related guides

View all