productivity
Slack MCP, CLI, and Lua Integration for AI Agents
Slack integration docs for AI agents: MCP gateway setup, Slack CLI commands, Lua API reference, credentials, and function schemas.
25 functions 13 read 12 write API token auth
Slack for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Machine-Readable Metadata
- integration_slug
slack- route_slug
slack- package
slack- auth_strategy
api_tokenAPI token- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. Slack CLIHeadless setup and direct function calls. Slack MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
Slack MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Slack.
Claude Code Slack MCP setup for Claude Code. Cursor Slack MCP setup for Cursor. Codex Slack MCP setup for Codex. OpenAI Agents Slack MCP setup for OpenAI Agents SDK. Claude Agent SDK Slack MCP setup for Claude Agent SDK. Vercel AI SDK Slack MCP setup for Vercel AI SDK. LangChain Slack MCP setup for LangChain. LangGraph Slack MCP setup for LangGraph. CrewAI Slack MCP setup for CrewAI. MCP clients Slack MCP setup for Generic MCP Clients.
Slack CLI Matrix
Use these pages for direct Slack CLI workflows in scripts, CI, cron, and agent wrappers.
CI Slack CLI for CI. Cron Jobs Slack CLI for cron jobs. Shell Scripts Slack CLI for shell scripts. Headless Automation Slack CLI for headless automation. Coding Agents Slack CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
slack.slack_send_message | Write write | 7 | Send a message to a Slack channel or DM. Supports text, blocks, and thread replies. |
slack.slack_update_message | Write write | 4 | Update an existing Slack message. |
slack.slack_delete_message | Write write | 2 | Delete a message from a Slack channel. |
slack.slack_get_message | Read read | 3 | Get a specific message by its timestamp. Optionally fetch a message within a thread. |
slack.slack_search_messages | Read read | 5 | Search for messages across all Slack channels and DMs. |
slack.slack_get_permalink | Read read | 2 | Get a permalink URL for a specific Slack message. |
slack.slack_get_channel_history | Read read | 5 | Get message history for a Slack channel. Supports pagination with cursors. |
slack.slack_get_thread_replies | Read read | 4 | Get all replies in a Slack message thread. |
slack.slack_list_channels | Read read | 4 | List all Slack channels the bot has access to. |
slack.slack_get_channel | Read read | 1 | Get detailed information about a Slack channel. |
slack.slack_create_channel | Write write | 2 | Create a new Slack channel. |
slack.slack_set_topic | Write write | 2 | Set the topic for a Slack channel. |
slack.slack_set_purpose | Write write | 2 | Set the purpose for a Slack channel. |
slack.slack_archive_channel | Write write | 1 | Archive a Slack channel. |
slack.slack_invite_to_channel | Write write | 2 | Invite one or more users to a Slack channel. |
slack.slack_upload_file | Write write | 6 | Upload a file to Slack using the modern external upload flow. The file content is posted to a channel or as a thread reply. |
slack.slack_list_files | Read read | 5 | List files in Slack, optionally filtered by channel, user, or file type. |
slack.slack_get_file | Read read | 1 | Get detailed information about a Slack file. |
slack.slack_list_users | Read read | 3 | List all users in the Slack workspace. |
slack.slack_get_user | Read read | 1 | Get detailed information about a Slack user by their user ID. |
slack.slack_find_user_by_email | Read read | 1 | Look up a Slack user by their email address. |
slack.slack_add_reaction | Write write | 3 | Add an emoji reaction to a Slack message. |
slack.slack_remove_reaction | Write write | 3 | Remove an emoji reaction from a Slack message. |
slack.slack_list_usergroups | Read read | 3 | List all usergroups in the Slack workspace. |
slack.slack_update_usergroup_members | Write write | 2 | Update the members of a Slack usergroup. |