Supports running the MCP server in a Docker container as an alternative containerization option.
Supports running the MCP server in a Podman container, with configuration examples provided for containerized deployment.
Referenced as a method for extracting Slack authentication tokens through automation.
Provides comprehensive Slack integration with features for channel management, messaging, commands, reactions, and authentication, enabling AI agents to interact with Slack, monitor logs, post alerts, and facilitate team collaboration.
slack-mcp
MCP server for Slack with log monitoring capabilities
🚀 Features
Core Slack Integration
- Channel Management: Join channels and retrieve message history
- Messaging: Post messages and threaded replies
- Commands: Execute Slack slash commands
- Reactions: Add emoji reactions to messages
- Authentication: Verify identity and permissions
Log Monitoring & Team Collaboration
- Server Log Reading: Access logs from any MCP server or application
- Automated Alerts: Post log analysis to Slack channels
- Team Debugging: Share logs instantly with team members
- Multi-Server Monitoring: Monitor logs from multiple services
🏗️ Architecture
Workflow Example
- User: "Check recent pipeline logs and alert team if errors found"
- Pipeline-Toolkit AI: Understands intent, orchestrates actions
- Slack-MCP-Logger:
- Reads logs via
get_server_logs()
- Posts alerts via
post_message()
- Adds reactions via
add_reaction()
- Reads logs via
- Result: Team gets notified in Slack with actionable log data
🛠️ Built-in Tools
1. Channel Management
2. Messaging
3. Reactions & Interactions
4. Authentication
5. 🆕 Log Monitoring
📋 Usage Examples
Log Monitoring & Team Alerts
Automated Monitoring Workflow
Daily Team Updates
🚀 Running with Podman or Docker
You can run the slack-mcp server in a container using Podman or Docker:
Example configuration for running with Podman:
🌐 Running with non-stdio transport
To run the server with a non-stdio transport (such as SSE), set the MCP_TRANSPORT
environment variable to a value other than stdio
(e.g., sse
).
Example configuration to connect to a non-stdio MCP server:
🔐 Authentication
Extract your Slack XOXC and XOXD tokens easily using browser extensions or Selenium automation: https://github.com/maorfr/slack-token-extractor.
🔧 Environment Variables
SLACK_XOXC_TOKEN
: Slack web token (required)SLACK_XOXD_TOKEN
: Slack cookie token (required)MCP_TRANSPORT
: Transport mode (stdio
orsse
, default:stdio
)LOGS_CHANNEL_ID
: Channel ID for logging MCP operations (required)LOG_BASE_PATH
: Optional base path for log file access security
🤝 Integration with Pipeline-Toolkit
This MCP server works seamlessly with Pipeline-Toolkit to provide:
- Natural Language Processing: Ask questions in plain English
- Intelligent Tool Selection: AI chooses the right tools automatically
- Multi-Server Coordination: Monitor logs from multiple MCP servers
- Team Collaboration: Share insights and alerts through Slack
Example Integration
📊 Use Cases
- DevOps Monitoring: Automated log analysis and team alerts
- Incident Response: Quick log sharing and team coordination
- Daily Standups: Automated activity summaries
- Build Monitoring: Pipeline status updates and failure alerts
- Multi-Service Debugging: Centralized log access across services
This server cannot be installed
A Message Control Protocol server that integrates with Slack to provide channel management, messaging capabilities, and log monitoring across multiple servers, enabling teams to share logs and receive automated alerts in Slack channels.
Related MCP Servers
- -securityFlicense-qualityA Machine Control Protocol server providing programmatic access to Splunkbase functionality, allowing users to search, download, and manage Splunkbase apps through a standardized interface.Last updated -Python
- AsecurityAlicenseAqualityA server implementing Model Context Protocol that enables AI assistants to interact with Slack API through a standardized interface, providing tools for messaging, channel management, user information retrieval, and more.Last updated -945JavaScriptApache 2.0
- -securityFlicense-qualityA Model Context Protocol server that integrates with Slack API, allowing users to send messages, view channel history, manage channels, send direct messages, and retrieve user lists from Slack workspaces.Last updated -Python
- -securityFlicense-qualityA comprehensive Slack integration server that enables sending messages, managing channels, uploading files, and running Pomodoro timers through FastMCP v2.Last updated -1Python