Skip to content

Commit 9071005

Browse files
authored
feat: add Google Maps MCP server definition (#43)
* Add Google Maps MCP server definition Reference Google Maps MCP server from modelcontextprotocol/servers. Search places, get directions, geocode, and compute distances. Uses @modelcontextprotocol/server-google-maps. https://claude.ai/code/session_013AxurW8hPAfnUNvik354Xx * fix: update server definition (input type 'password' -> 'text' for GOOGLE_MAPS_API_KEY; icon updated) * fix: update Google Maps documentation URL (servers repo archived) * fix: rename server files with transport suffix - community.google-maps.json -> community.google-maps-npx.json (id: community.google-maps-npx) Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com> --------- Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>
1 parent 3ef6f27 commit 9071005

1 file changed

Lines changed: 72 additions & 0 deletions

File tree

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
{
2+
"$schema": "../schemas/server-definition.schema.json",
3+
"id": "community.google-maps-npx",
4+
"name": "Google Maps (npx)",
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/1342004?v=4",
8+
"schema_version": "2.1",
9+
"categories": [
10+
"search"
11+
],
12+
"tags": [
13+
"google-maps",
14+
"maps",
15+
"geocoding",
16+
"directions",
17+
"places",
18+
"location"
19+
],
20+
"transport": {
21+
"type": "stdio",
22+
"command": "npx",
23+
"args": [
24+
"-y",
25+
"@modelcontextprotocol/server-google-maps"
26+
],
27+
"env": {
28+
"GOOGLE_MAPS_API_KEY": "${input:GOOGLE_MAPS_API_KEY}"
29+
},
30+
"metadata": {
31+
"inputs": [
32+
{
33+
"id": "GOOGLE_MAPS_API_KEY",
34+
"label": "Google Maps API Key",
35+
"description": "API key for Google Maps Platform. Enable Places, Directions, and Geocoding APIs.",
36+
"type": "text",
37+
"required": true,
38+
"secret": true,
39+
"placeholder": "AIzaxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
40+
"obtain": {
41+
"url": "https://console.cloud.google.com/apis/credentials",
42+
"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",
43+
"button_label": "Create API Key"
44+
}
45+
}
46+
]
47+
}
48+
},
49+
"auth": {
50+
"type": "api_key",
51+
"instructions": "Create a Google Maps API key at https://console.cloud.google.com/apis/credentials"
52+
},
53+
"contributor": {
54+
"name": "Model Context Protocol",
55+
"github": "modelcontextprotocol",
56+
"url": "https://modelcontextprotocol.io"
57+
},
58+
"links": {
59+
"repository": "https://github.com/modelcontextprotocol/servers",
60+
"homepage": "https://developers.google.com/maps",
61+
"documentation": "https://github.com/modelcontextprotocol/servers-archived/tree/main/src/google-maps"
62+
},
63+
"platforms": [
64+
"all"
65+
],
66+
"capabilities": {
67+
"tools": true,
68+
"resources": false,
69+
"prompts": false,
70+
"read_only_mode": true
71+
}
72+
}

0 commit comments

Comments
 (0)