gmaps: fix env var injection — add mcp_config.env to pass GOOGLE_MAPS_API_KEY to subprocess

This commit is contained in:
2026-07-25 09:09:17 +01:00
parent a13d0295ca
commit c49c3fa74d
4 changed files with 23 additions and 12 deletions
+7 -4
View File
@@ -1,9 +1,9 @@
{
"id": "gmaps",
"name": "Google Maps",
"version": 1,
"version_string": "1.0.0",
"version_release_date": "2026-07-22",
"version": 2,
"version_string": "1.0.1",
"version_release_date": "2026-07-23",
"type": "mcp_local",
"scope": "global",
"launch_command": "python3 gmaps_mcp_server.py",
@@ -83,7 +83,10 @@
"command": "python3",
"args": [
"gmaps_mcp_server.py"
]
],
"env": {
"GOOGLE_MAPS_API_KEY": "{SECRET:GOOGLE_MAPS_API_KEY}"
}
},
"homepage": "https://maps.google.com",
"icon_small": "icon_sm.svg",
+3 -3
View File
@@ -24,9 +24,9 @@
"param": "GOOGLE_MAPS_API_KEY"
},
"folder": "gmaps",
"version": 4,
"version_string": "1.0.3",
"version_release_date": "2026-07-22",
"version": 5,
"version_string": "1.0.4",
"version_release_date": "2026-07-23",
"tools": [
{
"name": "status",