gmaps: fix missing dependency install + wire verify (v6 / 1.1.0)
The connector shipped no requirements.txt, so ensure_installed_host()
installed nothing and every tool call failed with "No module named
'googlemaps'" while the server still answered tools/list — skald logged
"connected — 6 tool(s)" on a connector that could not work.
- add requirements.txt (googlemaps>=4.10.0); deps were declared in the
manifest's `dependencies` field, which skald only uses for the card
- wire the shipped verify.py through a `verify` manifest block, so a
broken install fails visibly at enable time instead of silently
- verify.py puts .pydeps on sys.path: skald sets PYTHONPATH only for the
server process, not for the `sh -c "python3 verify.py"` verify step
- drop the inert mcp_config.env {SECRET:…} placeholder — those tokens are
substituted in the URL only, never in env values
- realign manifest/fragment versions (were 2/1.0.1 vs 5/1.0.4); skald
prefers the manifest, so "update available" could never appear
- requires ENV -> API_KEY; drop deprecated secrets/ path from error text
- regenerate the index
This commit is contained in:
+15
-10
@@ -920,7 +920,7 @@
|
||||
"user_description": "Get transit, driving, walking and cycling directions, geocode addresses, search nearby places, and compute distance matrices \u2014 powered by Google Maps Platform.",
|
||||
"requires": [
|
||||
"PYTHON",
|
||||
"ENV"
|
||||
"API_KEY"
|
||||
],
|
||||
"tags": [
|
||||
"maps",
|
||||
@@ -936,9 +936,9 @@
|
||||
"param": "GOOGLE_MAPS_API_KEY"
|
||||
},
|
||||
"folder": "gmaps",
|
||||
"version": 5,
|
||||
"version_string": "1.0.4",
|
||||
"version_release_date": "2026-07-23",
|
||||
"version": 6,
|
||||
"version_string": "1.1.0",
|
||||
"version_release_date": "2026-08-10",
|
||||
"tools": [
|
||||
{
|
||||
"name": "status",
|
||||
@@ -968,13 +968,13 @@
|
||||
"files": [
|
||||
{
|
||||
"path": "connector.json",
|
||||
"sha256": "6b67291396e942ee5414b902d446606ccd65151badb43e2c769760d019dbb345",
|
||||
"size": 2524
|
||||
"sha256": "54d69f162d1c95631c17e89d05b00f470810fb7aeb24c160aaf72f4f87764972",
|
||||
"size": 2613
|
||||
},
|
||||
{
|
||||
"path": "gmaps_mcp_server.py",
|
||||
"sha256": "98db82cc3f94d237c1675dbda97ec331d9b757f018c612b934a14c88143d9dd0",
|
||||
"size": 30987
|
||||
"sha256": "a16aa01fb55f118e422a756f56d2c6515bfbd6c39122b254e4f47d158b10d36b",
|
||||
"size": 31094
|
||||
},
|
||||
{
|
||||
"path": "icon_lg.svg",
|
||||
@@ -986,10 +986,15 @@
|
||||
"sha256": "796656d456681ef331ea9f3fa11419f37b8bb454ad7089de32f5583b2523abc4",
|
||||
"size": 766
|
||||
},
|
||||
{
|
||||
"path": "requirements.txt",
|
||||
"sha256": "fdccc70a6db40b6f1fb1d7abc4e00e69070221329d8886a37460157b4ffbd456",
|
||||
"size": 19
|
||||
},
|
||||
{
|
||||
"path": "verify.py",
|
||||
"sha256": "f566e0a0d297bf636d43e89c4b0085cdbd5322f6d353ea3552f37373e8612f55",
|
||||
"size": 1903
|
||||
"sha256": "1550358f8fecaa7bed492912adf39297bf46920d6f0f44189e6b31b343f6ac24",
|
||||
"size": 2364
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user