@uniquedivine/mcp-slack 0.0.0-stage → 4.5.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.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 jtalk22
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,147 @@
1
- # Temporary Holding Version
1
+ # Slack MCP
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Read Slack channels, threads and search results, and perform explicitly
4
+ authorized writes through your user session. This server is maintained as
5
+ part of Jiyuu. It preserves the imported stdio, HTTP and web entrypoints.
6
+
7
+ ## Install
8
+
9
+ Requirements: [Bun](https://bun.sh) 1.4.3 or newer and a Slack account signed
10
+ in through a browser. Store credentials once, then run the published package
11
+ with an exact version pin:
12
+
13
+ ```sh
14
+ bunx @uniquedivine/mcp-slack@4.5.0 --setup
15
+ bunx @uniquedivine/mcp-slack@4.5.0
16
+ ```
17
+
18
+ Flag `--setup` writes file `~/.slack-mcp-tokens.json`. To pass environment
19
+ variables `SLACK_TOKEN` and `SLACK_COOKIE` instead, see
20
+ [Authenticate](#authenticate). CI in
21
+ [Unique-Divine/jiyuu](https://github.com/Unique-Divine/jiyuu) builds and
22
+ publishes `@uniquedivine/mcp-slack` to npm from this directory when its version
23
+ changes on `main`. The version pin selects the exact reviewed release that runs.
24
+
25
+ ### Claude Code
26
+
27
+ ```sh
28
+ claude mcp add slack -- bunx @uniquedivine/mcp-slack@4.5.0
29
+ ```
30
+
31
+ ### Codex
32
+
33
+ Add this entry to file `~/.codex/config.toml`:
34
+
35
+ ```toml
36
+ [mcp_servers.slack]
37
+ command = "bunx"
38
+ args = ["@uniquedivine/mcp-slack@4.5.0"]
39
+ ```
40
+
41
+ ### Cursor
42
+
43
+ Add this entry to file `~/.cursor/mcp.json`, or to file `.cursor/mcp.json` in
44
+ a project:
45
+
46
+ ```json
47
+ {
48
+ "mcpServers": {
49
+ "slack": {
50
+ "command": "bunx",
51
+ "args": ["@uniquedivine/mcp-slack@4.5.0"]
52
+ }
53
+ }
54
+ }
55
+ ```
56
+
57
+ ### Update
58
+
59
+ 1. Find the newest version with command
60
+ `npm view @uniquedivine/mcp-slack version`.
61
+ 2. Change the `@4.5.0` pin in the client configuration to that version.
62
+ 3. Restart the MCP server in the client, or restart the client. In Claude
63
+ Code, run `/mcp` and reconnect the server. Command `bunx` downloads the new
64
+ version on the next launch.
65
+
66
+ The token store and workflow files live in your home directory, so an update
67
+ needs no new credentials.
68
+
69
+ ## Install From Source
70
+
71
+ Requirements: Git and Bun 1.4.3 or newer. Linked executables, package scripts,
72
+ tests and CI use Bun directly; no Node installation or `node` shim is needed.
73
+
74
+ ```sh
75
+ git clone https://github.com/Unique-Divine/jiyuu.git
76
+ cd jiyuu
77
+ just --justfile mcp/slack/justfile install
78
+ ```
79
+
80
+ Without Just, run `bun install --frozen-lockfile` inside `mcp/slack`.
81
+ To make the existing command names available, run `just link` in that directory.
82
+ This uses `bun link` and points them at this source checkout. The executable
83
+ shebangs launch Bun directly.
84
+
85
+ ## Authenticate
86
+
87
+ Use the setup helper, which stores credentials outside the source tree:
88
+
89
+ ```sh
90
+ cd mcp/slack
91
+ bun src/cli.js --setup
92
+ ```
93
+
94
+ The server accepts `SLACK_TOKEN` and `SLACK_COOKIE`, or uses the existing
95
+ `~/.slack-mcp-tokens.json` store. Existing local token, workflow and cache
96
+ locations are retained. No new credentials are needed for a checkout move.
97
+ Do not commit tokens, cookies, browser profiles or local exports.
98
+
99
+ ## Configure an MCP Client From Source
100
+
101
+ After `just link`, the existing configuration remains valid:
102
+
103
+ ```json
104
+ {
105
+ "mcpServers": {
106
+ "slack": { "command": "slack-mcp" }
107
+ }
108
+ }
109
+ ```
110
+
111
+ For a direct source launch, use `bun` with the absolute path to `src/cli.js`.
112
+ Restart the MCP connection after relinking or changing code. Verify the
113
+ connected Slack identity before performing writes.
114
+
115
+ ## Develop
116
+
117
+ ```sh
118
+ just install
119
+ just test
120
+ just check
121
+ just run
122
+ ```
123
+
124
+ Run these commands from `mcp/slack`. The native `bun:test` suite uses `expect`
125
+ matchers and covers tool/handler parity, rich
126
+ message fields and authentication-error handling without sending Slack messages.
127
+ `check` builds the entrypoints to an ignored cache to catch import and syntax
128
+ errors. TypeScript conversion and native `bun check` coverage are follow-ups.
129
+
130
+ The inherited Dockerfile still describes the upstream Node image and is not
131
+ the supported Jiyuu installation. Its conversion is tracked separately.
132
+
133
+ HTTP and web modes remain available through `bun src/cli.js http` and
134
+ `bun src/cli.js web`. The inherited hosted-service, pricing and marketing code
135
+ has not been removed in this compatibility import. Keeping it is not a
136
+ recommendation to deploy or purchase the original hosted service.
137
+
138
+ Report issues in [Unique-Divine/jiyuu](https://github.com/Unique-Divine/jiyuu/issues)
139
+ with `mcp/slack` in the title. The version continues from the imported
140
+ `@jtalk22/slack-mcp` 4.4.3. Package metadata `jiyuu.upstream` in file
141
+ `package.json` records that baseline.
142
+
143
+ ## Origin and License
144
+
145
+ Imported from `Unique-Divine/slack-mcp-server`, originally forked from
146
+ `jtalk22/slack-mcp-server`. [IMPORT.json](IMPORT.json) pins the source commit.
147
+ The original [MIT license and copyright notice](LICENSE) are retained.