Labsco
Zavdielx89 logo

Slack Notification

β˜… 2

from Zavdielx89

Send notifications to Slack channels using webhook URLs.

πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedFreeNeeds API keys

πŸš€ Slack Notification MCP Server

License: MIT Node.js Version MCP Compatible GitHub stars Buy Me A Coffee

Transform your Claude AI workflows with instant Slack notifications!

A powerful Model Context Protocol (MCP) server that seamlessly connects Claude AI with Slack, enabling real-time notifications for task completions, alerts, and workflow automation. Never miss important updates from your AI assistant again!

✨ Why This MCP Server?

  • πŸ€– Claude Integration: Built specifically for Claude AI via the Model Context Protocol
  • ⚑ Instant Notifications: Get real-time updates when Claude completes tasks
  • 🎯 Multi-Channel Support: Send targeted messages to different Slack channels
  • 🎨 Rich Formatting: Support for titles, colors, and message styling
  • πŸ”§ Zero Config Hassle: Simple JSON configuration gets you running in minutes
  • πŸš€ Lightweight: Fast Node.js implementation with minimal dependencies

πŸ› οΈ Features

  • πŸš€ Dynamic tool creation based on your configured Slack channels
  • πŸ“± Support for rich message formatting (titles, colors)
  • ⚑ Fast and lightweight Node.js implementation
  • πŸ”§ Easy configuration via JSON file
  • 🎯 Separate tools for each channel for precise control

🎯 Perfect For

  • AI Workflow Automation: Get notified when Claude finishes long-running tasks
  • Development Teams: Automate deployment notifications and error alerts
  • Data Analysis: Receive updates when data processing completes
  • Content Creation: Get alerts when Claude finishes writing or research tasks
  • System Monitoring: Send formatted alerts for system status updates
  • Project Management: Automate status updates to project channels

Tool Parameters

Each slack_notify_* tool accepts these parameters:

  • message (required): The main message content
  • title (optional): A bold title that appears before the message
  • color (optional): Color for the message sidebar
    • "good" - Green (success)
    • "warning" - Yellow (warning)
    • "danger" - Red (error)

Example Workflows

Task Completion Notifications

Copy & paste β€” that's it
After completing a long analysis, send a message to notifications channel: "Data analysis complete. Found 15 anomalies in the dataset. Report ready for review."

Error Alerts

Copy & paste β€” that's it
If an error occurs, send a danger-colored alert to the alerts channel with title "Processing Error" and message "Failed to process user upload: invalid file format"

Status Updates

Copy & paste β€” that's it
Send a good-colored message to general channel with title "System Update" and message "All services are running normally after the maintenance window"

Development

Running in Development Mode

Copy & paste β€” that's it
npm run dev

This will start the server with file watching for automatic restarts.

Adding New Channels

  1. Create a new Slack webhook for the channel
  2. Add the channel configuration to config.json
  3. Restart the MCP server
  4. The new slack_notify_[channel_id] tool will be automatically available

Testing

You can test the server directly:

Copy & paste β€” that's it
npm start

The server will run and wait for MCP protocol messages on stdin/stdout.

Security Notes

  • Keep your config.json file secure and don't commit webhook URLs to version control
  • Webhook URLs provide direct access to post in your Slack channels
  • Consider using environment variables for webhook URLs in production environments

🀝 Contributing

Contributions are welcome! Feel free to:

  • πŸ› Report bugs or request features via GitHub Issues
  • πŸ”€ Submit pull requests for improvements
  • ⭐ Star the repository if you find it useful
  • πŸ“’ Share it with others who might benefit

β˜• Support This Project

If this MCP server saves you time or enhances your Claude AI workflows, consider supporting its development:

Buy Me A Coffee

Your support helps me:

  • πŸš€ Add new features and improvements
  • πŸ› Fix bugs and provide support
  • πŸ“š Create better documentation
  • 🎯 Build more useful MCP servers for the community

πŸ”— Related Projects

πŸ“ˆ Stats

GitHub repo size GitHub last commit GitHub issues


Made with ❀️ for the Claude AI community

If this project helps you stay connected with your AI workflows, consider giving it a ⭐!

License

MIT License - feel free to use and modify as needed!