@nitaiaharoni1/slack-mcp-server 1.4.3 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +4 -3
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -23,9 +23,10 @@ This fork of [korotovsky/slack-mcp-server](https://github.com/korotovsky/slack-m
23
23
 
24
24
  - **Multiple accounts in one server.** Every tool takes an optional `account` argument; `list_accounts` shows each account's workspace, user and token type. Each account has its own client, caches and rate limiter.
25
25
  - **Messages:** `messages_update`, `messages_delete`, `messages_schedule`, `messages_scheduled_list`, `messages_scheduled_delete`, `messages_permalink`. Writes follow the `SLACK_MCP_ADD_MESSAGE_TOOL` channel policy.
26
+ - **Drafts:** `drafts_create` (a DM or channel, optionally a thread, optionally with files), `drafts_list`, `drafts_update`, `drafts_delete`. Saved in Slack and never sent: you open them under Drafts & sent and press send. Writes follow the `SLACK_MCP_ADD_MESSAGE_TOOL` channel policy. Draft text is plain, with working mentions and links.
26
27
  - **Forward and broadcast:** `messages_forward` (posts the permalink, which Slack shows as the shared message; same workspace only), `reply_broadcast` on `conversations_add_message`.
27
- - **Files, channels, presence:** `files_list`, `files_info`, `files_delete` (canvases and Lists are files too), `conversations_manage` (archive, unarchive, rename, kick), `bookmarks`, `presence` (get, set auto / away), `dnd` (info, snooze, end).
28
- - **Files and people:** `files_upload` (up to 5 MB, same policy), `users_info` (full profile with custom fields), `users_set_status`, `reminders_add` (Slack's API can no longer list or delete reminders), `emoji_search`.
28
+ - **Files, channels, presence:** `files_list`, `files_search`, `files_info`, `files_delete` (canvases and Lists are files too), `conversations_manage` (archive, unarchive, rename, kick), `bookmarks`, `presence` (get, set auto / away), `dnd` (info, snooze, end).
29
+ - **Files and people:** `files_upload` (up to 1 GB, same policy), `files_download` (saves to disk at any size; stdio only; needs `SLACK_MCP_ATTACHMENT_TOOL`), `users_info` (full profile with custom fields), `users_set_status`, `reminders_add` (Slack's API can no longer list or delete reminders), `emoji_search`.
29
30
  - **Channels:** `conversations_create` (channel, DM or group DM), `conversations_info`, `conversations_members`, `conversations_invite`, `conversations_set_topic` (topic and purpose), `pins` (list, add, remove), `reactions_get`.
30
31
  - **Canvases:** `canvases_create` (standalone or a channel's canvas), `canvases_read`, `canvases_edit`, `canvases_sections_lookup`, `canvases_delete`. Writes need `SLACK_MCP_CANVAS_TOOL=true`.
31
32
  - **Lists:** `lists_create`, `lists_update`, `lists_items_list`, `lists_item_get`, `lists_items_create`, `lists_items_update`, `lists_items_delete`. Writes need `SLACK_MCP_LISTS_TOOL=true`.
@@ -51,7 +52,7 @@ Without `SLACK_MCP_ACCOUNTS` the server reads the upstream single-account variab
51
52
 
52
53
  Getting a user token: create an app from [`docs/slack-app-manifest.json`](docs/slack-app-manifest.json) at api.slack.com/apps ("From a manifest"), install it to the workspace, and copy the **User OAuth Token** (`xoxp-...`). Repeat per workspace.
53
54
 
54
- Not available through Slack's public API, so not here: message drafts.
55
+ Drafts need session tokens. Slack's `drafts.*` methods are internal: undocumented, able to change without notice, and refused for `xoxp` tokens with `not_allowed_token_type`. An account can hold both kinds: add `SLACK_MCP_WORK_XOXC_TOKEN` and `SLACK_MCP_WORK_XOXD_TOKEN` next to its `_XOXP_TOKEN`. The `xoxp` token keeps doing everything else and only the draft tools use the session pair. It must belong to the same user and workspace, or the draft tools refuse it. The pair carries your full browser session with no scopes to limit it, and it stops working when that session ends, so keep it out of anything shared. Drafts can be flagged on Enterprise Grid, where session-token use may trip Slack's anomaly detection.
55
56
 
56
57
  ### Analytics Demo
57
58
 
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@nitaiaharoni1/slack-mcp-server",
3
- "version": "1.4.3",
3
+ "version": "1.6.0",
4
4
  "description": "MCP server for Slack with multiple workspaces in one server, posting as you with a user token, and tools for messages, files, canvases, Lists, bookmarks, presence and more.",
5
5
  "main": "bin/index.js",
6
6
  "bin": {
7
7
  "slack-mcp-server": "bin/index.js"
8
8
  },
9
9
  "optionalDependencies": {
10
- "@nitaiaharoni1/slack-mcp-server-darwin-amd64": "1.4.3",
11
- "@nitaiaharoni1/slack-mcp-server-darwin-arm64": "1.4.3",
12
- "@nitaiaharoni1/slack-mcp-server-linux-amd64": "1.4.3",
13
- "@nitaiaharoni1/slack-mcp-server-linux-arm64": "1.4.3",
14
- "@nitaiaharoni1/slack-mcp-server-windows-amd64": "1.4.3",
15
- "@nitaiaharoni1/slack-mcp-server-windows-arm64": "1.4.3"
10
+ "@nitaiaharoni1/slack-mcp-server-darwin-amd64": "1.6.0",
11
+ "@nitaiaharoni1/slack-mcp-server-darwin-arm64": "1.6.0",
12
+ "@nitaiaharoni1/slack-mcp-server-linux-amd64": "1.6.0",
13
+ "@nitaiaharoni1/slack-mcp-server-linux-arm64": "1.6.0",
14
+ "@nitaiaharoni1/slack-mcp-server-windows-amd64": "1.6.0",
15
+ "@nitaiaharoni1/slack-mcp-server-windows-arm64": "1.6.0"
16
16
  },
17
17
  "repository": {
18
18
  "type": "git",