fix(mcp): move setup_instructions to the catalog root in all 33 entries

Every `mcp/*.toml` placed `setup_instructions` *after* the `[health_check]`
table, so TOML scoped it to that table rather than to the document root.
`McpCatalogEntry::setup_instructions` therefore deserialised as its
`#[serde(default)]` empty string for all 33 entries, and the install/detail
views that read `entry.setup_instructions` had nothing to show.

Relocate the key above the first table header. The text is byte-identical
and no other key is touched. `scripts/validate.py` passes.
This commit is contained in:
ixoblakp committed 2026-10-18 12:04:57 +03:00
1 parent abfebbbd1d
commit 331909afc2
33 files changed
+212 -245

No files matched your search

+6 -7
View File
@@ -5,6 +5,12 @@ category = "communication"
icon = "lucide:message-circle"
tags = ["chat", "messaging", "team", "channels", "collaboration"]
setup_instructions = """
1. Go to https://api.slack.com/apps and create a new Slack app (or use an existing one). Add the 'channels:read', 'chat:write', and 'users:read' bot token scopes.
2. Install the app to your workspace and copy the Bot User OAuth Token (starts with xoxb-).
3. Paste the bot token and your workspace Team ID into the fields above, or use the OAuth flow to authorize directly.
"""
[transport]
type = "stdio"
command = "npx"
@@ -34,13 +40,6 @@ token_url = "https://slack.com/api/oauth.v2.access"
interval_secs = 60
unhealthy_threshold = 3
setup_instructions = """
1. Go to https://api.slack.com/apps and create a new Slack app (or use an existing one). Add the 'channels:read', 'chat:write', and 'users:read' bot token scopes.
2. Install the app to your workspace and copy the Bot User OAuth Token (starts with xoxb-).
3. Paste the bot token and your workspace Team ID into the fields above, or use the OAuth flow to authorize directly.
"""
[i18n.zh]
name = "Slack"
description = "通过 MCP 服务器访问 Slack 频道、消息与用户。"