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 = "cloud"
|
||||
icon = "lucide:cloud"
|
||||
tags = ["cloud", "amazon", "infrastructure", "s3", "ec2", "lambda", "devops"]
|
||||
|
||||
setup_instructions = """
|
||||
1. Go to the AWS IAM Console (https://console.aws.amazon.com/iam/) and create or select an IAM user with programmatic access.
|
||||
2. Generate an access key pair and note down the Access Key ID and Secret Access Key.
|
||||
3. Paste both credentials and your preferred AWS region (default: us-east-1) into the fields above.
|
||||
"""
|
||||
|
||||
[transport]
|
||||
type = "stdio"
|
||||
command = "npx"
|
||||
@@ -35,13 +41,6 @@ get_url = ""
|
||||
interval_secs = 60
|
||||
unhealthy_threshold = 3
|
||||
|
||||
setup_instructions = """
|
||||
1. Go to the AWS IAM Console (https://console.aws.amazon.com/iam/) and create or select an IAM user with programmatic access.
|
||||
2. Generate an access key pair and note down the Access Key ID and Secret Access Key.
|
||||
3. Paste both credentials and your preferred AWS region (default: us-east-1) into the fields above.
|
||||
"""
|
||||
|
||||
|
||||
[i18n.zh]
|
||||
name = "AWS"
|
||||
description = "通过 MCP 服务器管理 Amazon Web Services 资源(S3、EC2、Lambda 等)。"
|
||||
|
||||
Reference in new issue
Block a user