conversations_search_messages
Search messages in a public channel, private channel, or direct message (DM, or IM) conversation using filters. All filters are optional, if not provided then searchquery is required.
How to use it
conversations_search_messages is exposed by the Slack MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the conversations_search_messages tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Slack MCP Server
npx @modelcontextprotocol/inspector go run mcp/mcp-server.go --transport stdioOther tools in Slack MCP Server (17)
Get list of channels
Add a message to a public channel, private channel, or direct message (DM, or IM) conversation by channelid and threadts.
Get messages from the channel (or DM) by channelid, the last row/column in the response is used as 'cursor' parameter for pagination if not empty
Mark a channel or DM as read.
Get a thread of messages posted to a conversation by channelID and threadts, the last row/column in the response is used as cursor parameter for pagination if not empty.
Get unread messages across all channels efficiently. Uses a single API call to identify channels with unreads, then fetches only those messages. Results are prioritized: DMs > partner channels (Slack Connect) > internal channels.
Add an emoji reaction to a message in a public channel, private channel, or direct message (DM, or IM) conversation.
Remove an emoji reaction from a message in a public channel, private channel, or direct message (DM, or IM) conversation.
Clear all completed saved items from the "Save for Later" panel. This is a bulk operation that removes all items with state="completed".
List saved items from Slack's "Save for Later" panel. Returns items the user has saved, with optional message content. This replaces the deprecated stars.list API (changelog).
Update a saved item: mark as completed, set a due date/reminder, or both. Use itemid and ts values from savedlist output. This replaces the deprecated stars.add/stars.remove APIs.
Create a new user group in the workspace.
List all user groups (subteams) in the workspace.
Manage your user group membership: list groups you're in, join a group, or leave a group.
Update an existing user group's metadata.
Update the members of a user group. This replaces all existing members.
Search for users by name, email, or display name. Returns user details and DM channel ID if available.