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:
1 parent
abfebbbd1d
commit
331909afc2
33 files changed
+212
-245
No files matched your search
+6
-7
@@ -5,6 +5,12 @@ category = "devtools"
|
||||
icon = "🌐"
|
||||
tags = ["web", "fetch", "scraping", "markdown", "http"]
|
||||
|
||||
setup_instructions = """
|
||||
No API key required. Fetches any publicly accessible URL and returns the content as Markdown.
|
||||
|
||||
For JavaScript-rendered pages (SPAs), use the Puppeteer integration instead.
|
||||
"""
|
||||
|
||||
[transport]
|
||||
type = "stdio"
|
||||
command = "npx"
|
||||
@@ -14,13 +20,6 @@ args = ["-y", "@modelcontextprotocol/server-fetch@latest"]
|
||||
interval_secs = 60
|
||||
unhealthy_threshold = 3
|
||||
|
||||
setup_instructions = """
|
||||
No API key required. Fetches any publicly accessible URL and returns the content as Markdown.
|
||||
|
||||
For JavaScript-rendered pages (SPAs), use the Puppeteer integration instead.
|
||||
"""
|
||||
|
||||
|
||||
[i18n.zh]
|
||||
name = "Web Fetch"
|
||||
description = "抓取任意网页并以干净的 Markdown 返回内容 —— 适合阅读文档、文章与 API。"
|
||||
|
||||
Reference in new issue
Block a user