Skip to main content
Version: v1.6.47-dev1 🚧

Slack MCP Server

Overview​

Slack is a business communication platform for team collaboration. The Slack MCP server enables Enterprise h2oGPTe agents to send messages, read channel history, manage conversations, and interact with Slack workspaces programmatically.

For more information, visit Slack.

When to Use​

This MCP server is useful for:

  • Enabling Enterprise h2oGPTe agents to send automated messages and notifications to Slack channels based on conversation outcomes or triggers
  • Allowing agents to read and summarize Slack channel conversations to provide context for questions or generate reports
  • Integrating Slack communications with Enterprise h2oGPTe's knowledge base for unified team collaboration and information sharing
  • Automating team communication workflows where agents can post updates, share findings, or notify team members about important information

Requirements​

Before configuring this MCP server, ensure you have:

  • Slack workspace access
  • Slack token with appropriate scopes for the MCP server

Key Features​

The Slack MCP server provides the following capabilities:

  • Send messages to Slack channels and direct messages
  • Read channel history and conversation threads
  • Search messages and files across Slack workspaces
  • Manage conversation threads and replies
  • Post formatted messages with attachments and rich content

Configuration​

Add the following configuration in Agents > Tools > New Tool > Remote MCP Tools:

{
"slack": {
"setup_commands": [
"npx -y slack-mcp-server@latest"
],
"command": "npx",
"args": [
"-y",
"slack-mcp-server@latest",
"--transport",
"stdio"
],
"env": {
"SLACK_MCP_XOXP_TOKEN": "os.environ/SLACK_MCP_XOXP_TOKEN"
}
}
}

Authentication​

Set up the following environment variables in Agents > Authentication:

  • SLACK_MCP_XOXP_TOKEN

Notes​

  • This MCP server uses STDIO transport protocol.
  • Requires Node.js and npm to be installed for the npx command.
  • Requires a Slack token (SLACK_MCP_XOXP_TOKEN) with the scopes required by the Slack MCP server. Refer to the Slack MCP server documentation for details.

Feedback