mirror of
https://github.com/paymog/slack-cli.git
synced 2026-09-18 23:43:49 +08:00
bb9469d3e6
- Add support for bot tokens as an alternative authentication method - Conditionally register search tool only for non-bot tokens (bots cannot use search.messages API) - Update isOAuth definition to include both xoxp and xoxb tokens for cleaner implementation - Add bot token configuration to manifest-dxt.json for DXT extension - Document bot token limitations in README and authentication setup guide 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
12 lines
441 B
Bash
12 lines
441 B
Bash
# User OAuth Token (starts with xoxp-)
|
|
SLACK_MCP_XOXP_TOKEN="" # Replace with your user OAuth token
|
|
|
|
# Bot OAuth Token (starts with xoxb-)
|
|
SLACK_MCP_XOXB_TOKEN="" # Replace with your bot token
|
|
|
|
# Session-based tokens (browser tokens)
|
|
SLACK_MCP_XOXC_TOKEN="" # Replace with your actual token
|
|
SLACK_MCP_XOXD_TOKEN="" # Replace with your actual token
|
|
|
|
# SSE API Key for authentication
|
|
SLACK_MCP_SSE_API_KEY="" # Replace with your actual API key |