@chinchillaenterprises/mcp-slack 3.0.1
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 +168 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2317 -0
- package/package.json +55 -0
package/README.md
ADDED
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
# MCP Slacker V3
|
|
2
|
+
|
|
3
|
+
A powerful multi-account Model Context Protocol (MCP) server for Slack that enables seamless workspace switching and persistent credential storage.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- π **Multi-Account Support**: Switch between multiple Slack workspaces at runtime
|
|
8
|
+
- π **Secure Credential Storage**: Uses native OS keychains (macOS Keychain, Windows Credential Manager, Linux Secret Service)
|
|
9
|
+
- β‘ **Fast Performance**: <200ms startup time for 10+ workspaces
|
|
10
|
+
- π‘οΈ **Graceful Fallback**: Continues working even if keychain access fails
|
|
11
|
+
- π **Comprehensive Slack Tools**: 30+ tools for messages, channels, users, files, and more
|
|
12
|
+
|
|
13
|
+
## Installation
|
|
14
|
+
|
|
15
|
+
### Using Claude Desktop
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
claude mcp add mcp-slacker-v3 @chinchillaenterprises/mcp-slacker-v3 --env DEFAULT_BOT_TOKEN=xoxb-YOUR-BOT-TOKEN DEFAULT_USER_TOKEN=xoxp-YOUR-USER-TOKEN DEFAULT_TEAM_ID=YOUR-TEAM-ID DEFAULT_ACCOUNT_NAME="Your Workspace Name"
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
### Using Claude Code
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
claude mcp add mcp-slacker-v3 @chinchillaenterprises/mcp-slacker-v3 --scope project --env DEFAULT_BOT_TOKEN=xoxb-YOUR-BOT-TOKEN DEFAULT_USER_TOKEN=xoxp-YOUR-USER-TOKEN DEFAULT_TEAM_ID=YOUR-TEAM-ID DEFAULT_ACCOUNT_NAME="Your Workspace Name"
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
### Manual Installation
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
npm install -g @chinchillaenterprises/mcp-slacker-v3
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Configuration
|
|
34
|
+
|
|
35
|
+
### Environment Variables
|
|
36
|
+
|
|
37
|
+
For the default workspace:
|
|
38
|
+
- `DEFAULT_BOT_TOKEN`: Slack bot token (xoxb-...)
|
|
39
|
+
- `DEFAULT_USER_TOKEN`: Slack user token (xoxp-...)
|
|
40
|
+
- `DEFAULT_TEAM_ID`: Slack team/workspace ID
|
|
41
|
+
- `DEFAULT_ACCOUNT_NAME`: Display name for the workspace
|
|
42
|
+
|
|
43
|
+
## Usage
|
|
44
|
+
|
|
45
|
+
### Account Management
|
|
46
|
+
|
|
47
|
+
The V3 architecture introduces powerful account management capabilities:
|
|
48
|
+
|
|
49
|
+
- **list_accounts**: View all configured workspaces
|
|
50
|
+
- **switch_account**: Change active workspace at runtime
|
|
51
|
+
- **add_account**: Add new workspace credentials
|
|
52
|
+
- **remove_account**: Remove workspace from configuration
|
|
53
|
+
- **update_account**: Update existing workspace credentials
|
|
54
|
+
|
|
55
|
+
### Core Slack Tools
|
|
56
|
+
|
|
57
|
+
#### Messaging
|
|
58
|
+
- `slack_send_message`: Send messages to channels
|
|
59
|
+
- `slack_send_formatted_message`: Send rich Block Kit messages
|
|
60
|
+
- `slack_edit_message`: Edit existing messages
|
|
61
|
+
- `slack_delete_message`: Delete messages
|
|
62
|
+
- `slack_schedule_message`: Schedule messages for later
|
|
63
|
+
- `slack_forward_message`: Forward messages between channels
|
|
64
|
+
|
|
65
|
+
#### Channels & History
|
|
66
|
+
- `slack_list_channels`: List accessible channels
|
|
67
|
+
- `slack_get_channel_history`: Get recent messages
|
|
68
|
+
- `slack_get_thread_replies`: Get thread conversations
|
|
69
|
+
|
|
70
|
+
#### Search
|
|
71
|
+
- `slack_search_messages`: Search across workspace
|
|
72
|
+
- `slack_search_by_user`: Find messages from specific users
|
|
73
|
+
- `slack_search_by_date_range`: Search within date ranges
|
|
74
|
+
- `slack_search_files`: Search for shared files
|
|
75
|
+
|
|
76
|
+
#### Users & Teams
|
|
77
|
+
- `slack_list_users`: List workspace members
|
|
78
|
+
- `slack_get_user_by_name`: Find users by name
|
|
79
|
+
- `slack_get_user_info`: Get detailed user information
|
|
80
|
+
- `slack_get_user_status`: Check user status
|
|
81
|
+
- `slack_get_user_profile`: Get full profile details
|
|
82
|
+
|
|
83
|
+
#### Reactions & Pins
|
|
84
|
+
- `slack_add_reaction`: Add emoji reactions
|
|
85
|
+
- `slack_bulk_react_messages`: React to multiple messages
|
|
86
|
+
- `slack_pin_message`: Pin important messages
|
|
87
|
+
- `slack_unpin_message`: Unpin messages
|
|
88
|
+
|
|
89
|
+
#### Productivity
|
|
90
|
+
- `slack_create_reminder`: Set reminders
|
|
91
|
+
- `slack_list_reminders`: View active reminders
|
|
92
|
+
- `slack_get_workspace_stats`: Get workspace analytics
|
|
93
|
+
|
|
94
|
+
## Advanced Features
|
|
95
|
+
|
|
96
|
+
### Persistent Storage
|
|
97
|
+
|
|
98
|
+
V3 automatically persists workspace credentials to your OS keychain:
|
|
99
|
+
- **macOS**: Keychain Access
|
|
100
|
+
- **Windows**: Credential Manager
|
|
101
|
+
- **Linux**: Secret Service API
|
|
102
|
+
|
|
103
|
+
### Graceful Degradation
|
|
104
|
+
|
|
105
|
+
If keychain access fails (e.g., in containers), the server continues working with in-memory storage and logs a warning.
|
|
106
|
+
|
|
107
|
+
### Performance Optimizations
|
|
108
|
+
|
|
109
|
+
- Lazy loading of workspace configurations
|
|
110
|
+
- Efficient caching of API responses
|
|
111
|
+
- Minimal startup overhead
|
|
112
|
+
|
|
113
|
+
## Architecture
|
|
114
|
+
|
|
115
|
+
MCP Slacker V3 implements the Account Manager Tools Pattern:
|
|
116
|
+
|
|
117
|
+
```
|
|
118
|
+
βββββββββββββββ ββββββββββββββββ βββββββββββββββ
|
|
119
|
+
β Claude ββββββΆβ MCP Server ββββββΆβ Slack β
|
|
120
|
+
β Desktop β β β β Workspaces β
|
|
121
|
+
βββββββββββββββ ββββββββββββββββ βββββββββββββββ
|
|
122
|
+
β
|
|
123
|
+
βΌ
|
|
124
|
+
ββββββββββββββββ
|
|
125
|
+
β OS Keychain β
|
|
126
|
+
β Storage β
|
|
127
|
+
ββββββββββββββββ
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
## Troubleshooting
|
|
131
|
+
|
|
132
|
+
### "Secure storage unavailable"
|
|
133
|
+
This warning appears when keychain access is denied or unavailable. The server will continue working with temporary storage.
|
|
134
|
+
|
|
135
|
+
### Missing channels or users
|
|
136
|
+
Ensure your bot token has the necessary OAuth scopes:
|
|
137
|
+
- `channels:read`
|
|
138
|
+
- `chat:write`
|
|
139
|
+
- `users:read`
|
|
140
|
+
- `files:read`
|
|
141
|
+
|
|
142
|
+
### Performance issues
|
|
143
|
+
- Check network connectivity to Slack
|
|
144
|
+
- Verify token permissions
|
|
145
|
+
- Review workspace size (very large workspaces may need pagination)
|
|
146
|
+
|
|
147
|
+
## Development
|
|
148
|
+
|
|
149
|
+
### Building from source
|
|
150
|
+
|
|
151
|
+
```bash
|
|
152
|
+
git clone https://github.com/ChinchillaEnterprises/ChillMCP.git
|
|
153
|
+
cd ChillMCP/mcp-slacker-v3
|
|
154
|
+
npm install
|
|
155
|
+
npm run build
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
### Contributing
|
|
159
|
+
|
|
160
|
+
Issues and pull requests are welcome at the [GitHub repository](https://github.com/ChinchillaEnterprises/ChillMCP).
|
|
161
|
+
|
|
162
|
+
## License
|
|
163
|
+
|
|
164
|
+
MIT License - see LICENSE file for details.
|
|
165
|
+
|
|
166
|
+
## Credits
|
|
167
|
+
|
|
168
|
+
Built by [Chinchilla Enterprises](https://github.com/ChinchillaEnterprises) for the MCP ecosystem.
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":""}
|