MCP.so
ログイン
S

Slack Local MCP Server

@nqkdev

基本情報

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.

コメント

「コミュニケーション」の他のコンテンツ