slack-by-salesforce — Claude Code plugin: what it does, how to install
slack-by-salesforce — a plugin for Claude Code and Cursor that connects Slack workspaces to your agent. It sends messages, searches for files, and manages Slack Canvas documents inside the IDE.
MIT ★ 36,654 updated 2026-10-24
/plugin marketplace add anthropics/knowledge-work-plugins
/plugin install slack-by-salesforce@knowledge-work-pluginsWhat slack-by-salesforce does
This plugin provides direct Slack access from your terminal or IDE. Your agent can find messages and channels, pull user details, or create new Canvas documents.
The plugin runs as a remote MCP server, requiring no local software installation. Before starting, ensure your Slack workspace administrator has approved MCP integration. Without this approval, authentication through OAuth will fail.
What it helps with
- search Slack messages and files
- send notifications to specific channels
- manage Slack Canvas documents
- retrieve user profile information
Example prompts for the agent
- Search for messages about the product launch in the last week
- Create a canvas document with my meeting notes
- Show me the user profile for [email protected]
How to install slack-by-salesforce
Plugin marketplace
/plugin marketplace add anthropics/knowledge-work-plugins/plugin install slack-by-salesforce@knowledge-work-pluginsStep by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own
Questions about slack-by-salesforce
How to install slack-by-salesforce in Claude Code?
Run /plugin marketplace add anthropics/knowledge-work-plugins followed by /plugin install slack-by-salesforce@knowledge-work-plugins.
What does the plugin do?
It integrates Slack with your development environment, enabling message searching, channel communication, and Canvas management via natural language.
What is required for operation?
You need a Slack workspace, an MCP integration approved by your workspace admin, and a compatible IDE like Claude Code or Cursor.
Source text
slack · MIT
# Slack Plugin
This repository contains the configuration needed to integrate Slack with Cursor IDE and Claude Code. The plugin enables your agents to interact directly with your Slack workspace, allowing you to search messages, send communications, manage canvases, and more—all through natural language.
## Features
The Slack MCP server provides the following capabilities:
- **Search**: Find messages, files, users, and channels (both public and private)
- **Messaging**: Send messages, retrieve channel histories, and access threaded conversations
- **Canvas**: Create and share formatted documents, export content as markdown
- **User Management**: Retrieve user profiles including custom fields and status information
## Prerequisites
Before setting up the Slack MCP server, ensure you have:
- Cursor IDE or Claude Code CLI installed
- Access to a Slack workspace with MCP integration approved by your workspace admin
## Installation
Choose the installation method for your IDE:
### Claude Code
If you're using Claude Code CLI, you can install this as a plugin by cloning it locally:
```bash
git clone https://github.com/slackapi/slack-mcp-plugin.git
cd slack-mcp-plugin
claude --plugin-dir ./
```
The Slack MCP server will be automatically configured when the plugin loads. You will be prompted to authenticate into your Slack workspace via OAuth.
The Claude plugin uses the following MCP configuration (`.mcp.json`):
```json
{
"mcpServers": {
"slack": {
"type": "http",
"url": "https://mcp.slack.com/mcp",
"oauth": {
"clientId": "1601185624273.8899143856786",
"callbackPort": 3118
}
}
}
}
```
### Cursor
You can use the following Add to Cursor button or follow the steps below to manually configure the Slack MCP server in Cursor:
[](https://cursor.com/en-US/install-mcp?name=slack&config=eyJ1cmwiOiJodHRwczovL21jcC5zbGFjay5jb20vbWNwIiwiYXV0aCI6eyJDTElFTlRfSUQiOiIzNjYwNzUzMTkyNjI2Ljg5MDM0NjkyMjg5ODIifX0%3D)
#### Step 1: Open Cursor Settings
Navigate to **Cursor → Settings → Cursor Settings** (or use the keyboard shortcut `Cmd+,` on macOS, `Ctrl+,` on Windows/Linux).
#### Step 2: Navigate to MCP Tab
In the Settings interface, click on the **MCP** tab to access MCP server configurations.
#### Step 3: Add Slack MCP Configuration
Add the following configuration to connect to the remote Slack MCP server:
```json
{
"mcpServers": {
"slack": {
"url": "https://mcp.slack.com/mcp",
"auth": {
"CLIENT_ID": "3660753192626.8903469228982"
}
}
}
}
```
Save the configuration. You will also see a connect button once added. Click that to authenticate into your Slack Workspace.
## Usage Examples
Once configured, you can interact with Slack through your AI assistant using natural language:
- **Search messages**: "Search for messages about the product launch in the last week"
- **Send messages**: "Send a message to #general channel saying the deployment is complete"
- **Find users**: "Who is the user with email [email protected]?"
- **Access threads**: "Show me the conversation thread from that message"
- **Create canvases**: "Create a canvas document with our meeting notes"
## Documentation & Resources
- [Official Slack MCP Server Documentation](https://docs.slack.dev/ai/mcp-server/)
## Notes & Limitations
- **Remote server only**: This configuration connects to Slack's hosted MCP server. No local installation is required or supported.
- **Admin approval required**: Your Slack workspace administrator must approve MCP integration before you can use this feature.
## Questions or Issues?
For questions about the Slack MCP server or integration issues, please refer to the [official Slack documentation](https://docs.slack.dev/ai/mcp-server/) or contact your workspace administrator.
© Salesforce · MIT · anthropics/knowledge-work-plugins