Install this MCP

Pick your client, then copy the config.

Install config
{
  "mcpServers": {
    "slack": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-slack"
      ],
      "env": {
        "SLACK_BOT_TOKEN": "YOUR_SLACK_BOT_TOKEN",
        "SLACK_TEAM_ID": "YOUR_SLACK_TEAM_ID"
      }
    }
  }
}

Set up with your agent

Uses the same client as above (Cursor). Paste into that agent.

Agent prompt
Install the "Slack MCP" MCP for Cursor in this workspace.
1. Read official install docs: https://github.com/slack-mcp-server
2. Merge this JSON into .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):
{
  "mcpServers": {
    "slack": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-slack"
      ],
      "env": {
        "SLACK_BOT_TOKEN": "YOUR_SLACK_BOT_TOKEN",
        "SLACK_TEAM_ID": "YOUR_SLACK_TEAM_ID"
      }
    }
  }
}

3. Required environment variables / secrets (ask the user; never invent secrets):
   - SLACK_BOT_TOKEN (required): Slack bot token (xoxb-...) with required scopes.
   - SLACK_TEAM_ID (required): Slack team/workspace ID.
4. Restart Cursor if needed, then run a smoke test (list tools or one safe call). Confirm with the user before writing secrets.
Catalog: https://averlo.xyz/launches/slack.html

Try it

After install, paste one of these into your agent.

  • Read Slack channels from AI
  • Send messages and reply to threads
  • Search Slack history