Update all example configs

This commit is contained in:
Justin Spahr-Summers
2024-11-21 19:41:32 +00:00
parent b93f70d453
commit 7238146c2a
8 changed files with 63 additions and 46 deletions

View File

@@ -93,18 +93,21 @@ MCP Server for the Slack API, enabling Claude to interact with Slack workspaces.
5. Get your Team ID (starts with a `T`) by following [this guidance](https://slack.com/help/articles/221769328-Locate-your-Slack-URL-or-ID#find-your-workspace-or-org-id)
### Usage with the Claude Desktop app
Add the following to your `claude_desktop_config.json`:
```json
{
"mcp-server-slack": {
"command": "mcp-server-slack",
"env": {
"SLACK_BOT_TOKEN": "xoxb-your-bot-token",
"SLACK_TEAM_ID": "T01234567"
}
}
}
```
Add the following to your `claude_desktop_config.json`:
```json
{
"slack": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-slack"],
"env": {
"SLACK_BOT_TOKEN": "xoxb-your-bot-token",
"SLACK_TEAM_ID": "T01234567"
}
}
}
```
### Troubleshooting
@@ -112,4 +115,4 @@ If you encounter permission errors, verify that:
1. All required scopes are added to your Slack app
2. The app is properly installed to your workspace
3. The tokens and workspace ID are correctly copied to your configuration
4. The app has been added to the channels it needs to access
4. The app has been added to the channels it needs to access