Cursor Slack Chat
Integrates with Slack to let users chat with team members and channels from Cursor, including listing public and private channels, finding channels, posting/updating/deleting messages, reading channel history and thread replies, accessing file metadata and image content, and interacting with DMs.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Cursor Slack Chat post an update to #dev-updates"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Cursor Slack Chat
Chat with your team on Slack directly from Cursor. Message team members and channels as things come up during development.
Features
Tool | Description |
| List ALL channels (public + private) |
| Search for a channel by name |
| Post a new message to a channel or DM |
| Delete messages |
| Edit existing messages |
| Read channel messages (inc. private) |
| Check thread replies |
| Get file metadata and optionally image content (base64) from messages |
Why this exists: Cursor's built-in Slack MCP only lists public channels and has limited functionality. This MCP adds private channel support and message management.
Related MCP server: Slack MCP Server
Setup Overview
Step | Who | What |
1 | Team Admin (once) | Create Slack App + get Bot Token |
2 | Each Developer | Install MCP + configure token |
Part 1: Slack App Setup (Team Admin)
Option A: Create App from Manifest (Recommended)
Click Create New App → From an app manifest
Select your workspace
Paste this manifest (YAML tab):
display_information:
name: Cursor Chat
description: Chat with Slack from Cursor IDE
background_color: "#1a1a2e"
features:
bot_user:
display_name: Cursor
always_online: true
oauth_config:
scopes:
bot:
- chat:write
- channels:read
- channels:history
- groups:read
- groups:history
- users:read
- files:read
- reactions:write
- im:read
- im:history
settings:
org_deploy_enabled: false
socket_mode_enabled: false
token_rotation_enabled: falseClick Create
Go to Install App → Install to Workspace
Copy the Bot User OAuth Token (starts with
xoxb-)
Option B: Create App Manually
Go to https://api.slack.com/apps → Create New App → From scratch
Name it "Cursor Chat" and select your workspace
Go to OAuth & Permissions → Add these Bot Token Scopes:
Scope | Purpose |
| Post, edit, delete messages |
| List public channels |
| Read public channel messages |
| List private channels |
| Read private channel messages |
| Look up users for @mentions |
| Read file metadata and content (e.g. images in messages) |
| Add emoji reactions |
| List DM conversations |
| Read DMs |
Click Install to Workspace
Copy the Bot User OAuth Token (starts with
xoxb-)
Invite Bot to Private Channels
The bot can only see private channels it's been invited to:
Open the private channel in Slack
Click the channel name → Integrations → Add apps
Add "Cursor Chat"
Part 2: Developer Setup (Each Person)
Quick Install
curl -sL https://raw.githubusercontent.com/CanonSystems/cursor-slack-chat/main/setup.sh | bashManual Install
git clone https://github.com/CanonSystems/cursor-slack-chat.git ~/.cursor/mcp-servers/cursor-slack-chat
cd ~/.cursor/mcp-servers/cursor-slack-chat
npm installConfigure Cursor
Add to ~/.cursor/mcp.json (create if it doesn't exist):
{
"mcpServers": {
"cursor-slack-chat": {
"command": "node",
"args": ["~/.cursor/mcp-servers/cursor-slack-chat/index.js"],
"env": {
"SLACK_BOT_TOKEN": "xoxb-your-bot-token-here"
}
}
}
}Important: Replace ~ with your actual home directory path:
macOS:
/Users/YOURNAME/.cursor/mcp-servers/cursor-slack-chat/index.jsLinux:
/home/YOURNAME/.cursor/mcp-servers/cursor-slack-chat/index.jsWindows:
C:\\Users\\YOURNAME\\.cursor\\mcp-servers\\cursor-slack-chat\\index.js
Restart Cursor
Quit and reopen Cursor to load the new MCP server.
Part 3: Sharing the Bot Token with Your Team
The SLACK_BOT_TOKEN is sensitive. Never commit it to a repo.
Recommended: Slack Workspace File
Store the token in a file within Slack itself:
Create a text file called
cursor-setup.txtwith:Cursor Slack Chat - Bot Token Token: xoxb-your-actual-token-here Setup: 1. Run: curl -sL https://raw.githubusercontent.com/CanonSystems/cursor-slack-chat/main/setup.sh | bash 2. Add the token above to ~/.cursor/mcp.json 3. Restart CursorUpload it to a private channel (like #engineering or #dev-setup)
Pin the file so team members can find it easily
Team members can then access the token directly in Slack when they need it.
Alternative Methods
Password manager (1Password, LastPass) - Store in shared team vault
Private wiki - Document in Confluence/Notion with restricted access
Direct share - Team lead DMs the token to new members
App Information
After creating your Slack App, you can find these IDs at https://api.slack.com/apps:
Field | Where to Find | Example |
App ID | Basic Information → App Credentials |
|
Bot User ID | OAuth & Permissions (in token response) |
|
Bot Token | OAuth & Permissions → Bot User OAuth Token |
|
Usage Examples
Once configured, ask Cursor to:
List all Slack channels including private onesFind the #showtrail channelSend a message to Mani in #showtrail asking about the deploymentCheck if anyone replied to my last message in #showtrailDelete the message with timestamp 1770156144.483089 from channel C06QAJ35QPLTroubleshooting
"Can't find private channels"
Ensure
groups:readscope is addedReinstall the app after adding scopes
Invite the bot to the private channel
"Missing scope" errors
Check which scope is missing in the error
Add it in OAuth & Permissions
Reinstall the app to workspace
Tools not appearing in Cursor
Check
~/.cursor/mcp.jsonsyntax (valid JSON?)Verify the path to
index.jsis correctRestart Cursor completely (not just reload)
Development
# Install dependencies
npm install
# Test locally
SLACK_BOT_TOKEN=xoxb-xxx node index.jsLicense
MIT
Available Tools
8 toolsslack_delete_messageC
Delete a message from a Slack channel or DM
Inputs: ts (required), channel_id (required).
slack_find_channelA
Search for a channel by name (partial match). Searches both public and private channels.
Inputs: query (required).
slack_get_channel_history_extendedB
Get recent messages from a channel (works with private channels)
Inputs: channel_id (required), limit.
slack_get_fileA
Get file metadata and optionally image content from Slack. Use file_id from message.files[].id (e.g. from channel history). Requires files:read scope. Set include_image_content=true to get base64 image data.
Inputs: file_id (required), include_image_content.
slack_get_thread_replies_extendedC
Get all replies in a message thread
Inputs: thread_ts (required), channel_id (required).
slack_list_all_channelsA
List ALL channels the bot can access, including PRIVATE channels. Use this instead of the built-in slack_list_channels which only shows public channels.
Inputs: include_private.
slack_post_messageC
Post a new message to a Slack channel or DM
Inputs: text (required), channel_id (required).
slack_update_messageC
Update/edit an existing message in a Slack channel
Inputs: ts (required), text (required), channel_id (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Each tool targets a distinct action (post, update, delete, fetch file, list channels, find channel, history, thread replies) and descriptions clarify boundaries. Minor overlap exists between slack_list_all_channels and slack_find_channel for channel discovery, and the 'extended' suffix hints at parallel built-in tools that could confuse an agent.
All tools use a consistent slack_ prefix with snake_case verb_noun structure (slack_post_message, slack_get_file, slack_delete_message). The only deviation is the trailing '_extended' qualifier on two get tools, which is readable but breaks the otherwise uniform pattern.
Eight tools is well-scoped for a Slack chat integration, with each tool covering a distinct messaging or channel operation. No redundant or filler tools are present.
Core message lifecycle (post, update, delete, history, thread replies) plus file access and channel discovery is well covered. Gaps remain for message search, reactions, and user/profile lookup, but agents can work around these for most chat workflows.
Maintenance
Related MCP Connectors
Enable interaction with Slack workspaces. Supports subscribing to Slack events through Resources.
Hosted Slack MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Use Slack from chat: see channels, catch up on messages, post updates, and reply in threads in your…
Connect assistants to your workspace knowledge, skills, and work tools.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables interaction with Slack workspaces as a user, supporting channel listing, message posting, threading, reactions, and user management via the Slack API.811MIT
- FlicenseNot gradedqualityNot gradedmaintenanceEnables complete Slack integration through natural language in Cursor IDE, supporting message sending, channel management, direct messaging, user lookup, reactions, and message search using the Slack API.-
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Slack workspaces through natural language, supporting channel management, message operations, user profiles, reactions, and threaded conversations.-
- AlicenseAqualityDmaintenanceEnables AI assistants to interact with Slack workspaces, including listing channels, posting messages, replying to threads, adding reactions, and retrieving user information.1020 npmMIT