- Script: gmaps_mcp_server.py (MCP stdio, JSON-RPC 2.0)
- 6 tools: status, directions, geocode, reverse_geocode, search_places, distance_matrix
- Auth: API key via env GOOGLE_MAPS_API_KEY
- Verify: test Geocoding API con probe 'Rome, IT' ✅
- Dipendenze: googlemaps>=4.10.0
- Icone SVG pin Google Maps
62 lines
2.3 KiB
JSON
62 lines
2.3 KiB
JSON
{
|
|
"id": "gmaps",
|
|
"name": "Google Maps",
|
|
"version": 1,
|
|
"version_string": "1.0.0",
|
|
"version_release_date": "2026-07-22",
|
|
"type": "mcp_local",
|
|
"scope": "global",
|
|
"launch_command": "python3 gmaps_mcp_server.py",
|
|
"transport": "stdio",
|
|
"requires": ["PYTHON", "ENV"],
|
|
"tags": ["maps", "mcp", "local", "google", "navigation", "transit"],
|
|
"dependencies": [
|
|
"googlemaps>=4.10.0"
|
|
],
|
|
"env": [
|
|
{
|
|
"name": "GOOGLE_MAPS_API_KEY",
|
|
"label": "Google Maps API key",
|
|
"description": "API key from Google Cloud Console. Requires Directions, Geocoding, Places, and Distance Matrix APIs enabled.",
|
|
"required": true,
|
|
"secret": true,
|
|
"example": "AIzaSy..."
|
|
}
|
|
],
|
|
"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 → Credentials, restricting it to those four APIs.",
|
|
"Install the Python package: pip install googlemaps"
|
|
],
|
|
"docs": [
|
|
{
|
|
"lang": "en",
|
|
"description": "Get transit, driving, walking and cycling directions, geocode addresses, search nearby places, and compute distance matrices — powered by Google Maps Platform. Requires a Google Cloud API key with Directions, Geocoding, Places, and Distance Matrix APIs enabled.",
|
|
"llm_short_description": "Google Maps MCP: directions (transit/driving/walking/bicycling), geocode/reverse geocode, search places, distance matrix. API key from GCP required."
|
|
}
|
|
],
|
|
"auth": {
|
|
"type": "api_key",
|
|
"delivery": "env",
|
|
"param": "GOOGLE_MAPS_API_KEY",
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/maps"
|
|
]
|
|
},
|
|
"tools": [
|
|
{"name": "status", "display_name": "Status Check"},
|
|
{"name": "directions", "display_name": "Directions"},
|
|
{"name": "geocode", "display_name": "Geocode"},
|
|
{"name": "reverse_geocode", "display_name": "Reverse Geocode"},
|
|
{"name": "search_places", "display_name": "Search Places"},
|
|
{"name": "distance_matrix", "display_name": "Distance Matrix"}
|
|
],
|
|
"mcp_config": {
|
|
"command": "python3",
|
|
"args": ["gmaps_mcp_server.py"]
|
|
},
|
|
"homepage": "https://maps.google.com",
|
|
"icon_small": "icon_sm.svg",
|
|
"icon_large": "icon_lg.svg"
|
|
}
|