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:
Daniele
2026-08-10 12:38:32 +01:00
parent 2ad3954e3a
commit 73d1a51b1f
7 changed files with 62 additions and 29 deletions
+10 -8
View File
@@ -1,16 +1,16 @@
{
"id": "gmaps",
"name": "Google Maps",
"version": 2,
"version_string": "1.0.1",
"version_release_date": "2026-07-23",
"version": 6,
"version_string": "1.1.0",
"version_release_date": "2026-08-10",
"type": "mcp_local",
"scope": "global",
"launch_command": "python3 gmaps_mcp_server.py",
"transport": "stdio",
"requires": [
"PYTHON",
"ENV"
"API_KEY"
],
"tags": [
"maps",
@@ -36,8 +36,12 @@
"setup_instructions": [
"Ensure the Google Maps APIs are enabled in your GCP project: Directions, Geocoding, Places, Distance Matrix.",
"Create an API key in Google Cloud Console \u2192 Credentials, restricting it to those four APIs.",
"Install the Python package: pip install googlemaps"
"Paste the key into the connector form; the googlemaps package is installed automatically from requirements.txt."
],
"verify": {
"command": "python3 verify.py",
"timeout_secs": 20
},
"docs": [
{
"lang": "en",
@@ -84,9 +88,7 @@
"args": [
"gmaps_mcp_server.py"
],
"env": {
"GOOGLE_MAPS_API_KEY": "{SECRET:GOOGLE_MAPS_API_KEY}"
}
"transport": "stdio"
},
"homepage": "https://maps.google.com",
"icon_small": "icon_sm.svg",