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 = "productivity"
|
||||
icon = "lucide:file-text"
|
||||
tags = ["notes", "wiki", "knowledge-base", "documentation", "databases"]
|
||||
|
||||
setup_instructions = """
|
||||
1. Go to https://www.notion.so/my-integrations and click 'New integration'.
|
||||
2. Give it a name, select your workspace, and grant the required capabilities (Read/Update/Insert content).
|
||||
3. Copy the Internal Integration Token and paste it into the NOTION_API_KEY field above. Then share relevant pages with the integration in Notion.
|
||||
"""
|
||||
|
||||
[transport]
|
||||
type = "stdio"
|
||||
command = "npx"
|
||||
@@ -21,13 +27,6 @@ get_url = "https://www.notion.so/my-integrations"
|
||||
interval_secs = 60
|
||||
unhealthy_threshold = 3
|
||||
|
||||
setup_instructions = """
|
||||
1. Go to https://www.notion.so/my-integrations and click 'New integration'.
|
||||
2. Give it a name, select your workspace, and grant the required capabilities (Read/Update/Insert content).
|
||||
3. Copy the Internal Integration Token and paste it into the NOTION_API_KEY field above. Then share relevant pages with the integration in Notion.
|
||||
"""
|
||||
|
||||
|
||||
[i18n.zh]
|
||||
name = "Notion"
|
||||
description = "通过 MCP 服务器访问和管理 Notion 的页面、数据库与区块。"
|
||||
|
||||
Reference in new issue
Block a user