251
All tools
SlackS

by Slack

Search messages

Searches messages and files in public channels, narrowed by channel, person and date.

Updated Sep 29, 2026

search-messages.md

Search messages

Searches messages and files in public channels, narrowed by channel, person and date.

Set up

Use the first option your agent supports.

MCP (official, remote)

Add this server to your agent's MCP settings, then sign in when asked.

{ "mcpServers": { "slack": { "url": "https://mcp.slack.com/mcp" } } }

Call the MCP tool slack_search_public.

Server URL: https://mcp.slack.com/mcp

Before anything else, confirm access with the cheapest read-only call, like a list or a search. Never send or change anything to test access.

Rules

  • Ask the user before anything that sends messages, costs money, or changes data, and say how many records it touches. One approval covers a batch the user has seen.
  • Never print API keys.

Ways in

RouteSourceCallRequiredDocs
MCPOfficial · remoteslack_search_publicOAuthDocs

Workflows using Search messages