Slack MCP Server

An MCP server for Slack: channel history, threads, DMs, search and unreads, with posting off by default

  • 1,879 ★ on the repository
  • Last commit
  • MIT
MCP server

Broad access

Why this level

  • Reads private and work conversations
  • Uses Slack tokens and session cookies
  • Can post as the user when enabled
All reasons and checks

korotovsky/slack-mcp-server

Install

In your terminal, with SkillFoxx CLI

npx skillfoxx add mcp/slack-mcp-server

Detects the agents on your machine, shows the access level and pins the version.

Other ways to install

Access and checks

How we review

Broad accessThe tool can change data, run commands or handle secrets.

  • Reads private and work conversations
  • Uses Slack tokens and session cookies
  • Can post as the user when enabled

This is third-party code. Review the repository files before installing.

What it does

The server lets the agent read Slack channels, threads, DMs and group DMs, search messages with filters and collect unreads with DMs first. History can be fetched by time range or message count, and channels and users can be referenced by name. Posting, reactions and marking as read are enabled through separate variables and can be limited to specific channels. It works with a user token, a bot token or browser session tokens.

Who it is for. For Slack users who want an agent to go through conversations and find relevant discussions.

Good fit when

  • You need a summary of today's unreads
  • You need to find where a decision was discussed in old threads
  • You need to draft a channel reply based on history

Not a fit when

  • Workspace rules forbid session tokens and third-party integrations
  • Your team does not use Slack

Example request

Collect my Slack unreads for today, DMs and mentions first

MCP

Transport
stdio, sse, http
Authentication
key is optional

Environment variables

SLACK_MCP_XOXP_TOKEN secret
User OAuth token. One token option is required.
SLACK_MCP_XOXB_TOKEN secret
Bot token with limited access.
SLACK_MCP_XOXC_TOKEN secret
Browser token, used together with SLACK_MCP_XOXD_TOKEN.
SLACK_MCP_XOXD_TOKEN secret
Browser session cookie d.
SLACK_MCP_ADD_MESSAGE_TOOL
Enables posting: true or a list of channel IDs.

Limitations

Needs one of: xoxp, xoxb, or an xoxc/xoxd browser token pair. Browser tokens work without installing an app but may violate company policy. A bot token cannot search and only sees channels it was invited to. Some tools require browser tokens. Slack availability from Russia is not guaranteed. Not an official Slack product.

How to disable. Remove the slack block from the MCP config or disable the extension in Claude Desktop. Revoke the token or log out of the browser session.

FAQ

Can the agent post to channels?

Only if SLACK_MCP_ADD_MESSAGE_TOOL is set. You can allow all channels or list specific IDs.

Which token should I use?

xoxp covers most tools through a regular app, xoxb is limited to the bot's channels and has no search, xoxc/xoxd need no app install and unlock tools such as saved items.

Discussion

No questions or reviews yet.

Official

Slack export without admin rights and a local MCP server: the agent analyzes your messages, threads, files and users

MCP serverExtended access2.8KRepository stars
Russian stack

A Telethon MCP server: the agent reads and sends messages and manages chats, contacts and folders in your Telegram account

MCP serverBroad access1.9KRepository stars

An MCP server for macOS: an agent reads, searches and sends messages in the Messages app on your Mac

MCP serverBroad access339Repository stars

Pachca MCP

mcp-pachca

Russian stack

MCP server for the Pachca corporate messenger: chats, message search, users and sending messages

MCP serverBroad access4Repository stars

A Slack CLI and skill: the agent reads channels and threads and searches messages and files, and drafts or sends only when you ask

CLIBroad access568Repository stars

Comparison with similar tools

Entries that share the main search query, and how they differ.

EntryOfficialAuthenticationRepository starsMain difference
Slack MCP Server (this entry)nokey is optional1,879
agent-slackno568a Slack CLI and skill
DingTalk Workspace CLI (dws)yes3,843official DingTalk CLI with agent skills

README in short

The README lists tools for history, threads, search, channel lists, reactions, user groups, unreads and saved items, plus resources with channel and user directories. Installation is covered via the Claude Desktop DXT extension, the Cursor installer, npx and Docker. The server runs over stdio, SSE and HTTP and supports proxies, Enterprise Slack and GovSlack. The user and channel cache is needed for lookups by name. MIT licensed.

README badge

Report a problem

Foxx AISlack MCP Server
Foxx AI

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.