Connect MARVIN to your Slack workspace.
- Read messages - View channel history, search conversations
- Send messages - Post to channels and threads
- Search - Find messages across your workspace
- Channels - List and browse public/private channels
Teams that use Slack for communication and want MARVIN to help search through conversations, track discussions, or post updates.
- A Slack workspace where you have permission to create apps
- Admin approval may be required for some workspaces
./.marvin/integrations/slack/setup.shThe script will guide you through:
- Creating a Slack App in your workspace
- Adding the required permissions (OAuth scopes)
- Installing the app and getting your token
- Configuring the MCP server
The setup script will ask you to add these User Token Scopes:
| Scope | What It Allows |
|---|---|
channels:history |
Read messages in public channels |
channels:read |
View basic channel info |
chat:write |
Send messages |
groups:history |
Read messages in private channels |
groups:read |
View private channel info |
im:history |
Read direct messages |
im:read |
View DM info |
mpim:history |
Read group DMs |
mpim:read |
View group DM info |
search:read |
Search messages |
users:read |
View user info |
After setup, try these commands with MARVIN:
- "List my Slack channels"
- "Search Slack for meeting notes from last week"
- "Show recent messages in #engineering"
- "What's been discussed about the API migration?"
- "Send a message to #general saying 'Good morning team!'"
You can connect multiple Slack workspaces by running the setup script again and choosing a different server name (e.g., slack-work, slack-personal).
This integration can perform actions that affect your team:
| Action | Risk Level | Who's Affected |
|---|---|---|
| Send messages | High | Team members see it immediately |
| Read messages, search | Low | No external impact |
MARVIN will always confirm before sending messages.
"Invalid token" errors
- Make sure you copied the User OAuth Token (starts with
xoxp-), not the Bot token - Check that the app is installed to your workspace
Missing channels
- The app can only see channels you have access to
- For private channels, you must be a member
Can't send messages
- Ensure the
chat:writescope is added - You can only post to channels you're a member of
Permission denied
- Some workspaces require admin approval for new apps
- Check with your Slack admin
This integration uses slack-mcp-server by korotovsky.
Contributed by Peter Vanhee