Interact with the Slack API: send messages, manage channels and retrieve user information.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add slack-server-ubie-oss --env SLACK_BOT_TOKEN='<SLACK_BOT_TOKEN>' --env SLACK_USER_TOKEN='<SLACK_USER_TOKEN>' -- npx @ubie-oss/slack-mcp-server~/.codex/config.toml
[mcp_servers.slack-server-ubie-oss]
command = "npx"
args = ["@ubie-oss/slack-mcp-server"]
env = { SLACK_BOT_TOKEN = "<SLACK_BOT_TOKEN>", SLACK_USER_TOKEN = "<SLACK_USER_TOKEN>" }
# codex mcp add slack-server-ubie-oss --env SLACK_BOT_TOKEN='<SLACK_BOT_TOKEN>' --env SLACK_USER_TOKEN='<SLACK_USER_TOKEN>' -- npx @ubie-oss/slack-mcp-server~/.cursor/mcp.json
{
"mcpServers": {
"slack-server-ubie-oss": {
"command": "npx",
"args": [
"@ubie-oss/slack-mcp-server"
],
"env": {
"SLACK_BOT_TOKEN": "<SLACK_BOT_TOKEN>",
"SLACK_USER_TOKEN": "<SLACK_USER_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"slack-server-ubie-oss": {
"type": "stdio",
"command": "npx",
"args": [
"@ubie-oss/slack-mcp-server"
],
"env": {
"SLACK_BOT_TOKEN": "<SLACK_BOT_TOKEN>",
"SLACK_USER_TOKEN": "<SLACK_USER_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"slack-server-ubie-oss": {
"command": "npx",
"args": [
"@ubie-oss/slack-mcp-server"
],
"env": {
"SLACK_BOT_TOKEN": "<SLACK_BOT_TOKEN>",
"SLACK_USER_TOKEN": "<SLACK_USER_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"slack-server-ubie-oss": {
"command": "npx",
"args": [
"@ubie-oss/slack-mcp-server"
],
"env": {
"SLACK_BOT_TOKEN": "<SLACK_BOT_TOKEN>",
"SLACK_USER_TOKEN": "<SLACK_USER_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"slack-server-ubie-oss": {
"command": "npx",
"args": [
"@ubie-oss/slack-mcp-server"
],
"env": {
"SLACK_BOT_TOKEN": "<SLACK_BOT_TOKEN>",
"SLACK_USER_TOKEN": "<SLACK_USER_TOKEN>"
}
}
}
}Environment variables
SLACK_BOT_TOKENSLACK_USER_TOKEN
Replace the placeholders with your own credentials and keep them out of version control.