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.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.
Agent Surfaces
Machine-Readable Metadata
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. |