diff --git a/servers/community.google-maps-npx.json b/servers/community.google-maps-npx.json new file mode 100644 index 0000000..cb35ad3 --- /dev/null +++ b/servers/community.google-maps-npx.json @@ -0,0 +1,72 @@ +{ + "$schema": "../schemas/server-definition.schema.json", + "id": "community.google-maps-npx", + "name": "Google Maps (npx)", + "alias": "google-maps", + "description": "Search for places, get directions, geocode addresses, and compute distance matrices using the Google Maps Platform APIs.", + "icon": "https://avatars.githubusercontent.com/u/1342004?v=4", + "schema_version": "2.1", + "categories": [ + "search" + ], + "tags": [ + "google-maps", + "maps", + "geocoding", + "directions", + "places", + "location" + ], + "transport": { + "type": "stdio", + "command": "npx", + "args": [ + "-y", + "@modelcontextprotocol/server-google-maps" + ], + "env": { + "GOOGLE_MAPS_API_KEY": "${input:GOOGLE_MAPS_API_KEY}" + }, + "metadata": { + "inputs": [ + { + "id": "GOOGLE_MAPS_API_KEY", + "label": "Google Maps API Key", + "description": "API key for Google Maps Platform. Enable Places, Directions, and Geocoding APIs.", + "type": "text", + "required": true, + "secret": true, + "placeholder": "AIzaxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "obtain": { + "url": "https://console.cloud.google.com/apis/credentials", + "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", + "button_label": "Create API Key" + } + } + ] + } + }, + "auth": { + "type": "api_key", + "instructions": "Create a Google Maps API key at https://console.cloud.google.com/apis/credentials" + }, + "contributor": { + "name": "Model Context Protocol", + "github": "modelcontextprotocol", + "url": "https://modelcontextprotocol.io" + }, + "links": { + "repository": "https://github.com/modelcontextprotocol/servers", + "homepage": "https://developers.google.com/maps", + "documentation": "https://github.com/modelcontextprotocol/servers-archived/tree/main/src/google-maps" + }, + "platforms": [ + "all" + ], + "capabilities": { + "tools": true, + "resources": false, + "prompts": false, + "read_only_mode": true + } +}