Slack Webhook
About
Post messages to Slack channels using incoming webhooks or bot tokens.
Details
- Author
- silasreinagel
- Categories
- Communication, Other
Jump to
Setup
Install Slack Webhook in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/silasreinagel/slack-notify-mcp
Follow the installation instructions in the repository README, then restart your MCP client.
A Model Context Protocol (MCP) server for posting messages to Slack via webhooks or bot tokens.
- Two modes of operation: Webhooks or Bot API
- Post messages to Slack channels
- Support for channel overrides
- Configurable bot username and emoji
- Slack-specific mention support (<!channel>,<!here>,<@USERID>)
- Comprehensive error handling and validation
{ "mcpServers": { "slack-webhook": { "command": "bun", "args": [ "run", "src/index.ts", "--webhook-url", "https://hooks.slack.com/services/YOUR/SLACK/WEBHOOK", "--channel", "#general" ], "cwd": "/path/to/slack-webhook-mcp-server" } } }
- Right-click on channel in Slack → "View channel details" → Copy channel ID
- Or use Slack API to list channels
{ "mcpServers": { "slack-bot": { "command": "bun", "args": [ "run", "src/index.ts", "--bot-token", "xoxb-YOUR-BOT-TOKEN", "--channel", "CXXXXXXXXXX", "--username", "MCP Bot" ], "cwd": "/path/to/slack-webhook-mcp-server" } } }
- --webhook-url <url>- Slack webhook URL (required)
- --channel <channel>- Default channel name (optional, e.g., "#general")
- --bot-token <token>- Slack bot token (required, starts withxoxb-)
- --channel <channel>- Default channel ID (required, e.g., "CXXXXXXXXXX")
- --username <username>- Default bot username (optional)
- --icon-emoji <emoji>- Default bot emoji (optional, e.g., ":robot_face:")
- --help- Show help message
bun run src/index.ts \ --webhook-url "https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX" \ --channel "#general" \ --username "Assistant"
bun run src/index.ts \ --bot-token "xoxb-YOUR-BOT-TOKEN" \ --channel "CXXXXXXXXXX" \ --username "Assistant"
Post a message to your configured Slack integration.
- message(required): The message content to send (max 4000 characters)
- channel(optional): Channel to post to (overrides default)
- Webhook mode: Channel name (e.g., "#random")
- Bot mode: Channel ID (e.g., "CXXXXXXXXXX")
Please post "Hello from MCP!" to the general channel
- User mention:<@U1234567890>
- Channel notification:<!channel>
- Here notification:<!here>
- Webhook mode: Use#channel-nameformat
- Bot mode: Use channel IDs likeCXXXXXXXXXX
- bun run start- Start the server
- bun run dev- Start with file watching
- bun run build- Build for production
slack-webhook-mcp-server/ ├── package.json # Dependencies and scripts ├── src/ │ └── index.ts # Main server implementation ├── types/ │ └── slack.ts # TypeScript types and schemas └── README.md # This file
The server includes comprehensive error handling for:
- Invalid webhook URLs and bot tokens
- Network connectivity issues
- Slack API errors (different handling for webhook vs bot)
- Message length validation (4000 char limit)
- Channel ID validation (bot mode)
- Malformed requests
A lightweight notification service that sends webhooks for completed MCP tasks to providers like Discord, Slack, and Teams.
Unified notification MCP server with 36 tools to send messages across 23 channels — Email, SMS, Slack, Telegram, Discord, Teams, WhatsApp, Firebase Push, and more.
Send notifications to Slack using OAuth bot tokens.
Post messages to Slack channels using incoming webhooks.
Manage notification workflows, users, preferences, and tenant branding via natural language. Trigger email, SMS, push, WhatsApp, Slack, and in-app notifications from Cursor, Claude Desktop, or Windsurf using 24 tools.
Send Push Notifications and Live Activities to your paired iOS devices.
Send native macOS notifications and interact with system dialogs.
Send iOS push notifications using the Bark app.
Slack for AI agents - a local service where agents can join projects, message each other, and share resources in a structured workspace
A read-only MCP server for Slack by CData, enabling LLMs to query live Slack data. Requires the CData JDBC Driver for Slack.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.




