@jtalk22/slack-mcp 1.0.4 → 1.1.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/README.md +276 -193
- package/lib/handlers.js +182 -30
- package/lib/slack-client.js +168 -21
- package/lib/token-store.js +84 -10
- package/lib/tools.js +14 -2
- package/package.json +1 -1
- package/public/demo.html +715 -611
- package/public/index.html +128 -16
- package/scripts/verify-v106.js +159 -0
- package/scripts/verify-web.js +221 -0
- package/src/server.js +35 -2
- package/src/web-server.js +51 -9
package/lib/tools.js
CHANGED
|
@@ -5,6 +5,14 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
export const TOOLS = [
|
|
8
|
+
{
|
|
9
|
+
name: "slack_token_status",
|
|
10
|
+
description: "Check token health, age, auto-refresh status, and cache stats",
|
|
11
|
+
inputSchema: {
|
|
12
|
+
type: "object",
|
|
13
|
+
properties: {}
|
|
14
|
+
}
|
|
15
|
+
},
|
|
8
16
|
{
|
|
9
17
|
name: "slack_health_check",
|
|
10
18
|
description: "Check if Slack tokens are valid and show authentication status",
|
|
@@ -23,7 +31,7 @@ export const TOOLS = [
|
|
|
23
31
|
},
|
|
24
32
|
{
|
|
25
33
|
name: "slack_list_conversations",
|
|
26
|
-
description: "List all DMs and channels with user names resolved",
|
|
34
|
+
description: "List all DMs and channels with user names resolved. Uses cached DMs by default for speed.",
|
|
27
35
|
inputSchema: {
|
|
28
36
|
type: "object",
|
|
29
37
|
properties: {
|
|
@@ -35,6 +43,10 @@ export const TOOLS = [
|
|
|
35
43
|
limit: {
|
|
36
44
|
type: "number",
|
|
37
45
|
description: "Maximum results (default 100)"
|
|
46
|
+
},
|
|
47
|
+
discover_dms: {
|
|
48
|
+
type: "boolean",
|
|
49
|
+
description: "If true, actively discover all DMs (slower, may hit rate limits on large workspaces). Default false uses cached DMs."
|
|
38
50
|
}
|
|
39
51
|
}
|
|
40
52
|
}
|
|
@@ -183,7 +195,7 @@ export const TOOLS = [
|
|
|
183
195
|
properties: {
|
|
184
196
|
limit: {
|
|
185
197
|
type: "number",
|
|
186
|
-
description: "Maximum users to return (default
|
|
198
|
+
description: "Maximum users to return (default 500, supports pagination)"
|
|
187
199
|
}
|
|
188
200
|
}
|
|
189
201
|
}
|
package/package.json
CHANGED