Skip to content

Commit c199be7

Browse files
committed
fix: update server definition (input type 'password' -> 'text' for MAPBOX_ACCESS_TOKEN)
1 parent 84bd2b6 commit c199be7

1 file changed

Lines changed: 20 additions & 11 deletions

File tree

servers/com.mapbox-mcp.json

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,25 @@
66
"description": "Search for places, geocode addresses, get directions, and generate map visualizations using the Mapbox APIs.",
77
"icon": "https://avatars.githubusercontent.com/u/600935?v=4",
88
"schema_version": "2.1",
9-
"categories": ["search"],
10-
"tags": ["mapbox", "maps", "geocoding", "directions", "places", "navigation", "location"],
11-
9+
"categories": [
10+
"search"
11+
],
12+
"tags": [
13+
"mapbox",
14+
"maps",
15+
"geocoding",
16+
"directions",
17+
"places",
18+
"navigation",
19+
"location"
20+
],
1221
"transport": {
1322
"type": "stdio",
1423
"command": "npx",
15-
"args": ["-y", "@mapbox/mcp-server"],
24+
"args": [
25+
"-y",
26+
"@mapbox/mcp-server"
27+
],
1628
"env": {
1729
"MAPBOX_ACCESS_TOKEN": "${input:MAPBOX_ACCESS_TOKEN}"
1830
},
@@ -22,7 +34,7 @@
2234
"id": "MAPBOX_ACCESS_TOKEN",
2335
"label": "Mapbox Access Token",
2436
"description": "Access token for the Mapbox API.",
25-
"type": "password",
37+
"type": "text",
2638
"required": true,
2739
"secret": true,
2840
"placeholder": "pk.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
@@ -35,26 +47,23 @@
3547
]
3648
}
3749
},
38-
3950
"auth": {
4051
"type": "api_key",
4152
"instructions": "Create an access token at https://account.mapbox.com/access-tokens/"
4253
},
43-
4454
"contributor": {
4555
"name": "Mapbox",
4656
"github": "mapbox",
4757
"url": "https://www.mapbox.com"
4858
},
49-
5059
"links": {
5160
"repository": "https://github.com/mapbox/mcp-server",
5261
"homepage": "https://www.mapbox.com",
5362
"documentation": "https://docs.mapbox.com/api/guides/mcp-server/"
5463
},
55-
56-
"platforms": ["all"],
57-
64+
"platforms": [
65+
"all"
66+
],
5867
"capabilities": {
5968
"tools": true,
6069
"resources": false,

0 commit comments

Comments
 (0)