Slack Local MCP
@nqkdev
About Slack Local MCP
A lightweight Model Context Protocol (MCP) server for Slack automation using cookie-based authentication.
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"slack-local": {
"command": "npx",
"args": [
"-y",
"slack-local-mcp"
],
"env": {
"SLACK_COOKIE_D": "xoxd-your-cookie-value-here",
"SLACK_WORKSPACE_URL": "https://your-workspace.slack.com"
}
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Slack Local MCP?
Slack Local MCP is a lightweight Model Context Protocol (MCP) server that lets you automate Slack actions using cookie-based authentication instead of creating a Slack app or bot. It’s designed for personal automation and local development, requiring no OAuth tokens or complex app setup.
How to use Slack Local MCP?
Install via npx -y slack-local-mcp or manually with Node.js 18+. Configure your MCP settings with environment variables SLACK_COOKIE_D (your Slack d cookie value) and SLACK_WORKSPACE_URL. Then invoke natural language commands through your MCP client to send messages, fetch conversations, add reactions, and more.
Key features of Slack Local MCP
- Send messages to channels, DMs, and threads
- Schedule messages with Slack’s native scheduling (requires bot token)
- Fetch channel messages and thread replies for AI summarization
- Add emoji reactions to messages
- Cookie-based authentication for quick setup
- No Slack app or bot registration needed
Use cases of Slack Local MCP
- Summarize recent channel messages with an AI assistant
- Send or schedule daily team standup reminders
- Manage thread conversations by fetching and replying to discussions
- React to messages automatically based on rules or prompts
FAQ from Slack Local MCP
How do I get my Slack cookie for authentication?
Open Slack in your browser, go to Developer Tools → Application/Storage → Cookies → https://app.slack.com, find the cookie named d, and copy its URL-encoded value (starts with xoxd-). Keep it private.
Does Slack Local MCP support message scheduling?
Scheduling uses Slack’s native API and requires a bot token (xoxb-). It is not available with cookie authentication (xoxd-). The tool will return an error when used with cookie auth.
How long does the cookie last?
Cookies typically last for weeks or months. They become invalid if you log out of Slack or clear browser data. The server shows an authentication error when the cookie expires.
What are the runtime requirements?
Node.js 18+ and an active Slack workspace. No external dependencies beyond the MCP client that runs this server.
Is this suitable for production or team deployments?
The README recommends using OAuth-based Slack MCP servers for production or team-wide use. Cookie authentication is ideal for personal automation and local development.
More Communication MCP servers
MCP Teams Server
InditexTechAn MCP (Model Context Protocol) server implementation for Microsoft Teams integration, providing capabilities to read messages, create messages, reply to messages, mention members.
Telegram MCP Server
chigwellTelegram MCP server powered by Telethon to let MCP clients read chats, manage groups, and send/modify messages, media, contacts, and settings.
Slack MCP Server
korotovskyThe most powerful MCP Slack Server with no permission requirements, Apps support, GovSlack, DMs, Group DMs and smart history fetch logic.
MCP Email Server
Shy2593666979一个基于 MCP (Model Context Protocol) 的邮件服务,支持 LLM 发送带附件的电子邮件及在指定目录中搜索文件。提供安全的 SMTP 传输、多收件人支持和附件模式匹配搜索功能,适用于 Gmail、Outlook、Yahoo、QQ 邮箱和网易 126 邮箱等主流邮箱服务。
Email sending MCP 💌
resendThe official MCP server to send emails and interact with Resend
Comments