Skip to content

Commit 80779c5

Browse files
committed
Add SLACK_CHANNEL_IDS to mcp/slack
Signed-off-by: David Gageot <[email protected]>
1 parent 0892905 commit 80779c5

File tree

3 files changed

+19
-6
lines changed

3 files changed

+19
-6
lines changed

prompts/catalog.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,17 @@ registry:
140140
- name: slack_reply_to_thread
141141
secrets:
142142
- name: slack.bot_token
143-
- name: slack.team_id
144143
prompts: 0
145144
resources: {}
145+
config:
146+
- name: slack
147+
description: Configure the connection to Slack
148+
type: object
149+
properties:
150+
channel_ids:
151+
type: string
152+
team_id:
153+
type: string
146154
redis:
147155
description: Access to Redis database operations.
148156
ref: github:docker/labs-ai-tools-for-devs?ref=main&path=prompts/mcp/redis.md

prompts/mcp/readmes/slack.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,17 @@ Parameters|Type|Description
108108
"-i",
109109
"--rm",
110110
"-e",
111-
"SLACK_BOT_TOKEN",
112-
"-e",
113111
"SLACK_TEAM_ID",
112+
"-e",
113+
"SLACK_CHANNEL_IDS",
114+
"-e",
115+
"SLACK_BOT_TOKEN",
114116
"mcp/slack"
115117
],
116118
"env": {
117-
"SLACK_BOT_TOKEN": "xoxb-your-bot-token",
118-
"SLACK_TEAM_ID": "T01234567"
119+
"SLACK_TEAM_ID": "T01234567",
120+
"SLACK_CHANNEL_IDS": "C01234567, C76543210",
121+
"SLACK_BOT_TOKEN": "xoxb-your-bot-token"
119122
}
120123
}
121124
}

prompts/mcp/slack.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ mcp:
55
workdir: /app
66
secrets:
77
slack.bot_token: SLACK_BOT_TOKEN
8-
slack.team_id: SLACK_TEAM_ID
8+
environment:
9+
SLACK_TEAM_ID: "{{slack.team_id}}"
10+
SLACK_CHANNEL_IDS: "{{slack.channel_ids}}"
911
source:
1012
url: https://github.com/modelcontextprotocol/servers/tree/2025.4.6
1113
---

0 commit comments

Comments
 (0)