Skip to content
AI Agent How-To

Home ›MCP server setup guides

Slack MCP Server (Remote OAuth Setup)

Intermediate ~5 min read Last tested November 2026

Updated 2026-11-03

Slack’s hosted MCP server lets MCP clients search channels, read and send messages, and use other Slack tools with OAuth and workspace permissions. The endpoint is Streamable HTTP at https://mcp.slack.com/mcp. Pair it with a Python bot from Connect an AI agent to Slack when you need Socket Mode instead of MCP. Last tested 2026-11-03.

Prerequisites

  • A Slack workspace where you can install or approve apps
  • A Slack app that is an internal app or published in the Slack Marketplace (unlisted apps cannot use MCP per Slack’s docs)
  • Cursor or another MCP client that supports remote HTTP MCP with OAuth
  • Workspace admin approval for MCP integrations when your org requires it

Docs used:

Steps

1. Create or reuse a Slack app

  1. Open api.slack.com/apps and create an app (or pick one you already use for agents).
  2. Copy the Client ID from Basic Information. You will embed this in MCP OAuth config; Slack requires a fixed app ID for MCP clients.
  3. Confirm the app is eligible for MCP (internal or Marketplace-published). If OAuth never completes, see Common errors below.

2. Add the remote server in Cursor

Slack documents OAuth with clientId and a callback port for Claude Code. Cursor follows the same endpoint; use your app’s Client ID.

Create or edit .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):

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

Replace YOUR_SLACK_APP_CLIENT_ID with the value from step 1. Slack’s harness guide uses port 3118 for the OAuth callback; keep it unless your client docs say otherwise.

3. Complete OAuth and admin approval

  1. Restart Cursor and open Settings → Tools & Integrations → MCP.
  2. Enable the Slack server and finish the browser OAuth consent flow.
  3. If your workspace uses MCP admin approval, an admin must approve the integration before tools appear (overview).

4. Verify tools in chat

Ask the model to search Slack for a channel or message you know exists. You should see MCP tool calls for search or message retrieval. If the client connects but tools are empty, check user token scopes and admin restrictions in Slack’s troubleshooting section.

5. Call the same tools from your own agent (optional)

After MCP works in Cursor, you can attach hosted tools from a Python loop with Connect an AI agent to an MCP server. For scheduled digests without MCP, use Build an AI agent that summarizes Slack channels.

Common errors

OAuth does not redirect or finish. Confirm redirect URIs on the Slack app, that the app is internal or Marketplace-published, and that a workspace admin approved MCP for the app.

Connection inactive or no green status in Cursor. Re-check the Client ID, restart the client, and work through Fix: MCP server not connecting for JSON and PATH issues before changing Slack settings.

Missing Slack tools after connect. Admin may have restricted MCP, or the authorized user lacks scopes for the tools you expect. Slack lists scope and admin checks in its harness troubleshooting guide.

mcp.slack.com vs Bolt confusion. MCP is for IDE and harness clients over HTTP OAuth. A long-running bot in your process still uses the Bot Token + Bolt path in Connect an AI agent to Slack.

FAQ

What URL does the Slack MCP server use?

Send JSON-RPC 2.0 over Streamable HTTP to https://mcp.slack.com/mcp. Slack does not support SSE or Dynamic Client Registration at this time.

Do I need a Slack app Client ID?

Yes. MCP clients must be backed by a registered Slack app with a fixed Client ID hardcoded in OAuth config, per Slack’s MCP overview.

Can any Slack app use MCP?

No. Only internal apps and apps published in the Slack Marketplace may use MCP; unlisted apps are prohibited.

How is this different from the Bolt bot guide?

Bolt runs your Python process with a bot token. Slack MCP exposes Slack tools to MCP clients such as Cursor through OAuth and Streamable HTTP.