Slack
by modelcontextprotocol
Post to channels, read history, look up users — scoped to a bot token.
Bot token starting xoxb-. Create a Slack app at https://api.slack.com/apps, install it to your workspace, and copy the Bot User OAuth Token from OAuth & Permissions.
Workspace ID starting T. Find it in your workspace URL or via the team.info Slack API.
Comma-separated channel IDs to restrict access to. Leave empty to allow all visible channels.
Optional KEY=VALUE pairs (one per line) set as extra environment variables on the connector's process. Lines starting with # are ignored; uncomment and edit what you need.
Default template
# Optional extra environment variables, one KEY=VALUE per line. # Lines starting with # are ignored: uncomment and edit what you need. # Documented options: https://github.com/modelcontextprotocol/servers/tree/main/src/slack # Route the connector through an HTTP proxy, if your network needs one. # HTTPS_PROXY=http://proxy.example:8080 # Turn up logging for troubleshooting (read by many servers; the name varies). # LOG_LEVEL=debug
This template lands in your config when you add the connector. Edit or override anytime from My Connectors — click the connector's config action to open the same editor with your saved values.
Runtime commands — technical reference. Nothing to configure here; the desktop runs these for you.
npx -y @modelcontextprotocol/[email protected]