MCP.so
登录
S

Slack Local MCP Server

@nqkdev

基本信息

分类

沟通协作

传输方式

stdio

作者

nqkdev

提交者

Khanh Nguyen

关于 Slack Local MCP Server

A lightweight Model Context Protocol (MCP) server for Slack automation using cookie-based authentication.

Slack Local MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "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"
      }
    }
  }
}

Slack Local MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

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

常见问题

1

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.

2

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.

3

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.

4

What are the runtime requirements?

Node.js 18+ and an active Slack workspace. No external dependencies beyond the MCP client that runs this server.

5

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.

评论

沟通协作 分类下的更多 MCP 服务器