Acts in a Slack workspace as the authorized user: list channels, post and reply in threads, add reactions and look up users.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add slack-user --env SLACK_TEAM_ID='<SLACK_TEAM_ID>' --env SLACK_TOKEN='<SLACK_TOKEN>' -- npx -y @modelcontextprotocol/server-slack-user~/.codex/config.toml
[mcp_servers.slack-user]
command = "npx"
args = ["-y", "@modelcontextprotocol/server-slack-user"]
env = { SLACK_TEAM_ID = "<SLACK_TEAM_ID>", SLACK_TOKEN = "<SLACK_TOKEN>" }
# codex mcp add slack-user --env SLACK_TEAM_ID='<SLACK_TEAM_ID>' --env SLACK_TOKEN='<SLACK_TOKEN>' -- npx -y @modelcontextprotocol/server-slack-user~/.cursor/mcp.json
{
"mcpServers": {
"slack-user": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-slack-user"
],
"env": {
"SLACK_TEAM_ID": "<SLACK_TEAM_ID>",
"SLACK_TOKEN": "<SLACK_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"slack-user": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-slack-user"
],
"env": {
"SLACK_TEAM_ID": "<SLACK_TEAM_ID>",
"SLACK_TOKEN": "<SLACK_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"slack-user": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-slack-user"
],
"env": {
"SLACK_TEAM_ID": "<SLACK_TEAM_ID>",
"SLACK_TOKEN": "<SLACK_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"slack-user": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-slack-user"
],
"env": {
"SLACK_TEAM_ID": "<SLACK_TEAM_ID>",
"SLACK_TOKEN": "<SLACK_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"slack-user": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-slack-user"
],
"env": {
"SLACK_TEAM_ID": "<SLACK_TEAM_ID>",
"SLACK_TOKEN": "<SLACK_TOKEN>"
}
}
}
}Environment variables
SLACK_TEAM_IDSLACK_TOKEN
Replace the placeholders with your own credentials and keep them out of version control.