You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/03-configuration-and-usage.md
+14-10Lines changed: 14 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,9 @@ If you have npm installed, this is the fastest way to get started with `slack-mc
8
8
9
9
Open your `claude_desktop_config.json` and add the mcp server to the list of `mcpServers`:
10
10
11
+
> [!WARNING]
12
+
> If you are using Enterprise Slack, you may set `SLACK_MCP_USER_AGENT` environment variable to match your browser's User-Agent string from where you extracted `xoxc` and `xoxd`. This is required for the server to work properly in some environments with higher security policies.
|`SLACK_MCP_XOXC_TOKEN`| Yes |`nil`| Authentication data token field `token` from POST data field-set (`xoxc-...`) |
211
+
|`SLACK_MCP_XOXD_TOKEN`| Yes |`nil`| Authentication data token from cookie `d` (`xoxd-...`) |
212
+
|`SLACK_MCP_SERVER_PORT`| No |`3001`| Port for the MCP server to listen on |
213
+
|`SLACK_MCP_SERVER_HOST`| No |`127.0.0.1`| Host for the MCP server to listen on |
214
+
|`SLACK_MCP_SSE_API_KEY`| No |`nil`| Authorization Bearer token when `transport` is `sse`|
215
+
|`SLACK_MCP_PROXY`| No |`nil`| Proxy URL for the MCP server to use |
216
+
|`SLACK_MCP_USER_AGENT`| No |`nil`| User-Agent to use by MCP transport, may be required when you are located within Enterprise Slack environments with stricter security policies so it must match your browser from where you copied `xoxd` and `xoxc` values. |
217
+
|`SLACK_MCP_SERVER_CA`| No |`nil`| Path to the CA certificate of the trust store |
218
+
|`SLACK_MCP_SERVER_CA_INSECURE`| No |`false`| Trust all insecure requests (NOT RECOMMENDED) |
panic("Authentication required: Either SLACK_MCP_XOXP_TOKEN (User OAuth) or both SLACK_MCP_XOXC_TOKEN and SLACK_MCP_XOXD_TOKEN (session-based) environment variables must be provided")
0 commit comments