Omniscio

OmniscioGuidesSlack MCP server

Slack's MCP server in Claude Code: the command and the app

Slack ships its own MCP server now, so Claude Code can search a workspace, read a thread, and post an answer without a bot sitting in the middle of it.

MCP is the Model Context Protocol: the standard that lets Claude Code call another service's tools instead of you copying text between windows. The setup here is short but it is not the shape people are used to — Slack's server speaks only the newer HTTP transport, and it has no way to introduce itself to your workspace. Both change what the command and the sign-in look like, and both are where a first attempt usually stops.

Sources read November 25, 2026. By the Omniscio team. Updated .

Which Slack feature this is

There are two Slack things with similar names, pointing in opposite directions. Claude Code in Slack is Anthropic's integration: someone mentions Claude in a channel and a cloud session starts. This page is the other direction — Slack's MCP server, which gives Claude Code tools to read and write inside a workspace.

Slack hosts the server itself at https://mcp.slack.com/mcp. It speaks Streamable HTTP rather than the older SSE transport, and it cannot register a client on its own — which is the reason this page keeps coming back to an app client ID.

What Claude Code can do with it

The server covers the reading side and the writing side of a workspace:

  • Search messages and files, filterable by date, user and content type, plus searches over users, channels and custom emoji.
  • Read a channel's history or one thread in full, send a message, schedule one, or draft and preview it first.
  • Create a channel or a group DM, add and read reactions, and upload files through the two-step upload the server documents.
  • Read and write Slack canvases, and create or update the rows in Slack lists.

Each tool carries the rate limit of the Slack Web API method behind it, and the limit is per tool rather than per session — so a long history read is where a session will meet it.

Before the command: an app and an approval

Slack's rule is that an MCP client must be backed by a registered Slack app with a fixed app ID, and the client has to hardcode that ID. The reason is administrative: it is what lets a workspace admin approve or block the client through the normal app approval process, and what lets Slack attribute requests to one app for logging, rate limits and access control.

The app also has to be an internal app or published in the Slack Marketplace, because Slack states that unlisted apps are prohibited from using MCP. If you would rather not build one at all, Slack names two ways around it: a partner-built client, which it says needs no coding, and its own Claude Code plugin, which brings Slack's app with it.

On the workspace side, the MCP integration has to be approved by an admin, and the client ID lives in your app's own settings. Both requirements are Slack's, not Claude Code's, and neither can be met from inside a Claude Code session.

The command

Slack publishes this line for Claude Code. Run it in your terminal, not inside a session, then start a session:

claude mcp add --transport http --scope local slack https://mcp.slack.com/mcp

The name is slack, the transport is HTTP because the server is a URL rather than a program on your machine, and the scope is local, which is the default and the one Slack names. If you would rather have it in every project, change that flag to --scope user.

Slack's recommended route skips your app entirely: its own Claude Code plugin configures the server with Slack's client ID already in place. Inside a session, that is /plugin marketplace add slackapi/slack-skills-plugin, then /plugin install slack@slack — the part after the @ is the marketplace you just added, not a second plugin. If you have no app ID of your own, this is the shorter road.

If you do have one, the command above is not enough on its own, because it carries no client ID — and Slack cannot supply one for you. Claude Code documents this exact case, including the error it prints: a server that does not support dynamic client registration "requires pre-configured credentials". The flags for that are --client-id, --client-secret and --callback-port, with the scope flag as before:

claude mcp add --transport http --scope local \
  --client-id YOUR_SLACK_APP_CLIENT_ID \
  --client-secret \
  --callback-port 3118 \
  slack https://mcp.slack.com/mcp

--client-secret takes no value of its own: Claude Code prompts for the secret with masked input, which keeps it out of your shell history.

The .mcp.json equivalent

The same server as a file, which is what you write when you want project scope or when you are setting it up by hand:

{
  "mcpServers": {
    "slack": {
      "type": "http",
      "url": "https://mcp.slack.com/mcp",
      "oauth": {
        "clientId": "YOUR_SLACK_APP_CLIENT_ID",
        "callbackPort": 3118
      }
    }
  }
}

The oauth block is the part people leave out. It carries your app's client ID and the local port the browser sign-in comes back to, and Slack's own instructions put 3118 there. Replace the placeholder with your app's real client ID.

A .mcp.json at the project root is project scope and is read by everyone who clones the repository, so it suits a client ID the team shares and nothing more personal than that.

Which scope to use

Local is the default: the server is stored in your own configuration and loads only in the project where you added it. --scope project writes .mcp.json at the repository root and shares it, and --scope user makes it available in every project you open.

For a workspace server the usual answer is local or user: the Slack workspace you may read is a personal permission, and a project file would offer the same server to anyone who clones the repository. Project scope is reasonable when the whole team belongs to the same workspace and shares one approved app.

The auth step

After the add, run /mcp inside a Claude Code session and choose the Slack server to start the browser sign-in. If you wrote the configuration by hand, Slack says to save it and restart Claude Code before that step.

Slack uses confidential OAuth for MCP clients, which means the app's client ID and client secret are what the sign-in is attached to. The visible half is consent in the browser; the part that makes it work is the app identity you configured a step earlier.

The scopes on the resulting user token decide which tools actually work. Slack documents the scope each tool needs, so a server that connects and then refuses one action is usually a scope question rather than a broken setup.

Confirm it connected

claude mcp list
claude mcp get slack

The list prints a health status beside each server, such as ✔ Connected, ! Needs authentication or ✘ Failed to connect. For a hosted server like this one, "needs authentication" is the normal state until you finish the browser step, so read it as a to-do rather than an error. A project-scope server you have not approved yet reads ⏸ Pending approval and stays unconnected until you approve it.

Inside a session, /mcp lists the servers, shows each one's status and tool count, and lets you reconnect or disable one. Then ask something narrow and checkable — find the last message in a channel you know, or list the channels whose names start with a word you recognize — rather than an open-ended request, because what comes back depends on what your token is allowed to see.

The failure people hit

The failure that stops a first attempt is the sign-in that never completes. Slack does not support dynamic client registration, so there is no self-registration step for a client to fall back on: with no client ID in the configuration, the browser flow has no app to authorize.

The next is an app that exists but is not eligible. Only internal apps and directory-published apps may use MCP, and the workspace admin still has to approve the integration, so a correct command can fail against a workspace where that approval never happened.

Then there is volume. A tool can connect and still return rate-limit errors, because each one inherits its Slack Web API method's limit: searches run at 20+ a minute, channel and thread reads at 50+. Searching messages and files, and sending a message, are the two Slack marks as special cases rather than a tier.

The error text each of these prints is written up in the MCP errors guide, and the flags and scopes in Add an MCP server to Claude Code.

Sources

Every line on this page rests on one of these. The date beside each one is the day we read it.

Common questions

What is the command to add the Slack MCP server to Claude Code?

claude mcp add --transport http --scope local slack https://mcp.slack.com/mcp, run in your terminal, then /mcp inside a session to finish the sign-in. Slack publishes that line for Claude Code.

Does Slack's MCP server work without a Slack app?

Not one of your own, but one has to exist. Slack requires every MCP client to sit behind a registered app, and only internal or directory-published apps may use MCP. Slack's own Claude Code plugin supplies its app, and Slack lists partner-built clients for people who would rather not build one.

Why does the OAuth step fail?

Slack does not support dynamic client registration, so the client cannot register itself the way it can with many hosted servers. The app's client ID has to be in the configuration, or the browser sign-in has nothing to authorize.

Is this the same as Claude Code in Slack?

No, the directions are opposite. This page is Slack's server giving Claude Code tools to read and write in Slack. Claude Code in Slack is Anthropic's integration that starts a coding session when someone mentions Claude in a channel.

Does adding the server let Claude post as me?

Many tools act on behalf of the authenticated user, including sending messages, adding reactions and creating channels. The scopes your app requests and the workspace admin's approval decide which of those are available.

Every session, one window

Omniscio runs several agent sessions side by side in one window, each with its own context and its own diff view. Any model, any harness — Claude Code, Codex, OpenCode, Devin, Pi, and Hermes all supported.