Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Slack Message

БесплатноНе проверен

Enables posting messages to a Slack channel using a bot token, with support for stdio and HTTP modes.

GitHubEmbed

Описание

Enables posting messages to a Slack channel using a bot token, with support for stdio and HTTP modes.

README

Tiny MCP server that exposes one tool over stdio or HTTP:

  • post_slack_message posts text to the Slack channel ID provided by the caller

Environment

Set these before starting the server:

export SLACK_BOT_TOKEN="xoxb-..."

The Slack app needs chat:write and must be allowed to post in the target channel.

Optional for the HTTP server:

export PORT="3000"

The HTTP server does not perform app-level authentication. Deploy it only where the managed agent runtime or private network controls who can reach the endpoint.

Run Locally With Stdio

node server.js

Claude Code Example

claude mcp add slack-message \
  --env SLACK_BOT_TOKEN="$SLACK_BOT_TOKEN" \
  -- node /Users/agruning/Documents/MCP/slack-message-mcp/server.js

Run As Remote HTTP MCP

Claude managed agents and the Claude API MCP connector cannot connect to local stdio servers. Deploy the HTTP server behind a public HTTPS URL:

npm run start:http

The MCP endpoint is:

POST /mcp

Health check:

GET /health

Claude managed agent / Messages API shape:

{
  "mcp_servers": [
    {
      "type": "url",
      "url": "https://your-domain.example.com/mcp",
      "name": "Slack"
    }
  ],
  "tools": [
    {
      "type": "mcp_toolset",
      "mcp_server_name": "Slack",
      "default_config": {
        "enabled": false
      },
      "configs": {
        "post_slack_message": {
          "enabled": true
        }
      }
    }
  ]
}

Use the beta header required by Anthropic's MCP connector:

anthropic-beta: mcp-client-2025-11-20

Tool call arguments:

{
  "channel": "C0123456789",
  "text": "Hello from MCP"
}

from github.com/andygruening/slack-mcp

Установка Slack Message

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/andygruening/slack-mcp

FAQ

Slack Message MCP бесплатный?

Да, Slack Message MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Slack Message?

Нет, Slack Message работает без API-ключей и переменных окружения.

Slack Message — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Slack Message в Claude Desktop, Claude Code или Cursor?

Открой Slack Message на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Slack Message with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории communication