|
| 1 | +{ |
| 2 | + "$schema": "../schemas/server-definition.schema.json", |
| 3 | + "id": "community.google-maps", |
| 4 | + "name": "Google Maps", |
| 5 | + "alias": "google-maps", |
| 6 | + "description": "Search for places, get directions, geocode addresses, and compute distance matrices using the Google Maps Platform APIs.", |
| 7 | + "icon": "https://avatars.githubusercontent.com/u/182288589?v=4", |
| 8 | + "schema_version": "2.1", |
| 9 | + "categories": ["search"], |
| 10 | + "tags": ["google-maps", "maps", "geocoding", "directions", "places", "location"], |
| 11 | + |
| 12 | + "transport": { |
| 13 | + "type": "stdio", |
| 14 | + "command": "npx", |
| 15 | + "args": ["-y", "@modelcontextprotocol/server-google-maps"], |
| 16 | + "env": { |
| 17 | + "GOOGLE_MAPS_API_KEY": "${input:GOOGLE_MAPS_API_KEY}" |
| 18 | + }, |
| 19 | + "metadata": { |
| 20 | + "inputs": [ |
| 21 | + { |
| 22 | + "id": "GOOGLE_MAPS_API_KEY", |
| 23 | + "label": "Google Maps API Key", |
| 24 | + "description": "API key for Google Maps Platform. Enable Places, Directions, and Geocoding APIs.", |
| 25 | + "type": "password", |
| 26 | + "required": true, |
| 27 | + "secret": true, |
| 28 | + "placeholder": "AIzaxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", |
| 29 | + "obtain": { |
| 30 | + "url": "https://console.cloud.google.com/apis/credentials", |
| 31 | + "instructions": "1. Go to console.cloud.google.com/apis/credentials\n2. Click 'Create Credentials' > 'API key'\n3. Enable Places API, Directions API, and Geocoding API\n4. Restrict the key to these APIs\n5. Copy the key", |
| 32 | + "button_label": "Create API Key" |
| 33 | + } |
| 34 | + } |
| 35 | + ] |
| 36 | + } |
| 37 | + }, |
| 38 | + |
| 39 | + "auth": { |
| 40 | + "type": "api_key", |
| 41 | + "instructions": "Create a Google Maps API key at https://console.cloud.google.com/apis/credentials" |
| 42 | + }, |
| 43 | + |
| 44 | + "contributor": { |
| 45 | + "name": "Model Context Protocol", |
| 46 | + "github": "modelcontextprotocol", |
| 47 | + "url": "https://modelcontextprotocol.io" |
| 48 | + }, |
| 49 | + |
| 50 | + "links": { |
| 51 | + "repository": "https://github.com/modelcontextprotocol/servers", |
| 52 | + "homepage": "https://developers.google.com/maps", |
| 53 | + "documentation": "https://github.com/modelcontextprotocol/servers/tree/main/src/google-maps#readme" |
| 54 | + }, |
| 55 | + |
| 56 | + "platforms": ["all"], |
| 57 | + |
| 58 | + "capabilities": { |
| 59 | + "tools": true, |
| 60 | + "resources": false, |
| 61 | + "prompts": false, |
| 62 | + "read_only_mode": true |
| 63 | + } |
| 64 | +} |
0 commit comments