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

+9 -10
View File
@@ -5,6 +5,15 @@ category = "data"
icon = "🗺️"
tags = ["maps", "geocoding", "directions", "places", "google", "location"]
setup_instructions = """
1. Go to https://console.cloud.google.com
2. Enable: Geocoding API, Directions API, Places API, Distance Matrix API
3. Create credentials → API Key
4. Paste the key into the field above
Free tier includes $200/month credit (~40,000 geocoding requests).
"""
[transport]
type = "stdio"
command = "npx"
@@ -21,16 +30,6 @@ get_url = "https://console.cloud.google.com/apis/credentials"
interval_secs = 120
unhealthy_threshold = 3
setup_instructions = """
1. Go to https://console.cloud.google.com
2. Enable: Geocoding API, Directions API, Places API, Distance Matrix API
3. Create credentials → API Key
4. Paste the key into the field above
Free tier includes $200/month credit (~40,000 geocoding requests).
"""
[i18n.zh]
name = "Google Maps"
description = "通过 Google Maps 平台进行地理编码、反向地理编码、路线规划、距离矩阵与地点搜索。"