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

+8 -9
View File
@@ -5,15 +5,6 @@ category = "productivity"
icon = "🕐"
tags = ["time", "timezone", "clock", "datetime", "conversion"]
[transport]
type = "stdio"
command = "uvx"
args = ["mcp-server-time", "--local-timezone", "UTC"]
[health_check]
interval_secs = 60
unhealthy_threshold = 3
setup_instructions = """
No API key required. Requires `uv`:
- macOS/Linux: `curl -LsSf https://astral.sh/uv/install.sh | sh`
@@ -33,6 +24,14 @@ args = ["mcp-server-time", "--local-timezone", "Asia/Shanghai"]
Supports all IANA timezone names (e.g. `America/New_York`, `Europe/London`, `Asia/Tokyo`).
"""
[transport]
type = "stdio"
command = "uvx"
args = ["mcp-server-time", "--local-timezone", "UTC"]
[health_check]
interval_secs = 60
unhealthy_threshold = 3
[i18n.zh]
name = "时间 & 时区"