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 = "cloud"
icon = "lucide:globe"
tags = ["cloud", "google", "infrastructure", "gce", "gcs", "bigquery", "devops"]
setup_instructions = """
1. Go to the GCP Console > IAM & Admin > Service Accounts (https://console.cloud.google.com/iam-admin/serviceaccounts) and create a new service account with the necessary roles.
2. Generate a JSON key file for the service account and save it to a secure location on your filesystem.
3. Enter the absolute path to the JSON key file in the GOOGLE_APPLICATION_CREDENTIALS field above.
"""
[transport]
type = "stdio"
command = "npx"
@@ -21,13 +27,6 @@ get_url = "https://console.cloud.google.com/iam-admin/serviceaccounts"
interval_secs = 60
unhealthy_threshold = 3
setup_instructions = """
1. Go to the GCP Console > IAM & Admin > Service Accounts (https://console.cloud.google.com/iam-admin/serviceaccounts) and create a new service account with the necessary roles.
2. Generate a JSON key file for the service account and save it to a secure location on your filesystem.
3. Enter the absolute path to the JSON key file in the GOOGLE_APPLICATION_CREDENTIALS field above.
"""
[i18n.zh]
name = "Google Cloud Platform"
description = "通过 MCP 服务器管理 GCP 资源(Compute Engine、Cloud Storage、BigQuery 等)。"