Skip to main content
Prerequisites Before you begin, create an account and get your API Key.

Getting started

Connect to Slack to manage team communication, automate workflows, and collaborate through AI agents.
  • API
  • UI
  • Open Source
1

Install the SDKs (optional)

pip install klavis
2

Create a Strata MCP Server with Slack

from klavis import Klavis
from klavis.types import McpServerName

klavis_client = Klavis(api_key="YOUR_API_KEY")

response = klavis_client.mcp_server.create_strata_server(
    servers=[McpServerName.SLACK],
    user_id="user123"
)

API Reference

Full Strata API endpoints
3

Authenticate

import webbrowser

# Open OAuth authorization page
webbrowser.open(response.oauth_urls[McpServerName.SLACK])
🎉 Your Slack MCP Server is ready! Once authentication is complete, you can use your MCP server URL with any MCP-compatible client.

Available Tools

Tool NameDescription
slack_send_messageSend a message to a Slack channel
slack_list_channelsList all channels in the workspace
slack_get_channel_infoGet information about a specific channel
slack_list_messagesList messages from a channel
slack_get_messageGet a specific message by timestamp
slack_update_messageUpdate an existing message
slack_delete_messageDelete a message
slack_add_reactionAdd an emoji reaction to a message
slack_remove_reactionRemove an emoji reaction from a message
slack_list_usersList all users in the workspace
slack_get_user_infoGet information about a specific user
slack_set_channel_topicSet the topic for a channel
slack_invite_user_to_channelInvite a user to a channel
slack_kick_user_from_channelRemove a user from a channel
slack_create_channelCreate a new channel
slack_archive_channelArchive a channel
slack_upload_fileUpload a file to Slack
For more details about tool input schema, use the get_tools API.

Next Steps

I