← All examples

Slack Tool

MCP tool that sends messages, lists channels, and manages Slack workspaces using OAuth. Connect Slack and automate from any agent.

toolslackoauthmessagingmcp

An MCP tool that connects to Slack via OAuth. Send messages, list channels, and manage your workspace — all callable by any agent or MCP client.

What's included

  • OAuth connection — connects to Slack via Reminix managed OAuth
  • Send messages — post to channels or send DMs
  • List channels — discover available channels in the workspace
  • MCP server — discoverable and callable by any agent or MCP client

When to use this

Pick the Slack Tool example when you want to:

  • Build an agent that posts notifications or alerts to Slack
  • Create a conversational agent that bridges Slack and other services
  • Learn how OAuth connections work with Reminix tools

How connections work

Reminix handles the Slack OAuth flow, token exchange, and automatic refresh. Your tool handler receives a valid bot token and uses the Slack Web API directly.

  1. Create a Slack app and add OAuth credentials in the Reminix dashboard
  2. Authorize the connection to your workspace
  3. Your tool gets a fresh bot token on every call

Project structure

├── tools/
│   ├── send_message.py     # Send a message to a channel
│   └── list_channels.py    # List workspace channels
├── main.py                 # Entry point with serve()
├── pyproject.toml
└── reminix.config.toml

Quick start

After deploying and connecting your Slack workspace, any agent in your project can send messages and interact with Slack automatically.