
How to add Slack MCP Server (korotovsky) to Cursor
Powerful Slack MCP with stdio/SSE/HTTP, DMs, group DMs and no-admin token auth Paste the config into ~/.cursor/mcp.json and restart Cursor.
Last updated June 15, 2026 · 1.7k★ · stdio · apikey
Cursor config for Slack MCP Server (korotovsky)
npx -y slack-mcp-server@latest --transport stdio{
"mcpServers": {
"slack-mcp-server-korotovsky": {
"command": "npx",
"args": [
"-y",
"slack-mcp-server@latest",
"--transport",
"stdio"
],
"env": {
"SLACK_MCP_XOXP_TOKEN": "<your-slack-user-oauth-token-xoxp>"
}
}
}
}Setup steps
- 1Open Cursor → Settings → MCP → Add new MCP server (or edit ~/.cursor/mcp.json directly).
- 2Paste the Slack MCP Server (korotovsky) config below into the "mcpServers" object.
- 3Fill in placeholder secrets, then save.
- 4Cursor reloads MCP servers automatically — check Settings → MCP for a green status dot.
- 5Ask Cursor to use one of Slack MCP Server (korotovsky)'s tools to confirm it's connected.
Before you start
- One Slack auth method: browser tokens (xoxc + xoxd) extracted from the Slack web client, a user OAuth token (xoxp), or a bot token (xoxb, limited to invited channels and no search)
- Go toolchain to build the binary, or Docker, or Node.js/npx to run the npm wrapper
- For xoxc/xoxd: access to your own Slack web session; for xoxp: a Slack app with ~16 user token scopes (channels:history/read, groups, im, mpim, users:read, chat:write, search:read, usergroups:read/write, channels:write)
- An MCP-compatible client (e.g. Claude Desktop)
What Slack MCP Server (korotovsky) can do in Cursor
conversations_historyFetch channel or DM messages with pagination and smart history (by date range or count).
conversations_repliesRetrieve messages within a thread.
conversations_add_messagePost a message to a channel or DM (disabled by default; supports markdown).
conversations_search_messagesSearch messages across the workspace.
channels_listList channels (public, private, DMs, group DMs).
conversations_unreadsGet unread messages across channels, prioritizing DMs.
conversations_markMark a channel as read (disabled by default).
reactions_addAdd an emoji reaction to a message (disabled by default).
Security
Browser-token (xoxc/xoxd) auth bypasses workspace admin approval and can violate org policy; prefer a scoped user OAuth token (xoxp) stored as a secret, never in shell history. The SLACK_MCP_XOXP_TOKEN env var is the recommended auth.
Slack MCP Server (korotovsky) + Cursor FAQ
Where is the Cursor config file?
Cursor reads MCP servers from ~/.cursor/mcp.json. Paste the Slack MCP Server (korotovsky) config there under the "mcpServers" key and restart the client.
Is Slack MCP Server (korotovsky) safe to use with Cursor?
Browser-token (xoxc/xoxd) auth bypasses workspace admin approval and can violate org policy; prefer a scoped user OAuth token (xoxp) stored as a secret, never in shell history. The SLACK_MCP_XOXP_TOKEN env var is the recommended auth.
Do I need a Slack admin or a bot to use this?
No. With browser tokens (xoxc + xoxd) it works in "stealth" mode using your existing Slack session — no app creation, approval, or bot installation needed.
What's the difference between the token types?
xoxc+xoxd (browser) are the most capable and support search; xoxp (user OAuth) works with declared scopes; xoxb (bot) is limited to channels it's invited to and cannot search.
Why can't I post messages or add reactions?
Write tools are disabled by default. Enable them via SLACK_MCP_ADD_MESSAGE_TOOL, SLACK_MCP_REACTION_TOOL, and SLACK_MCP_MARK_TOOL (optionally scoped to specific channels).