Skip to content

Commit 7739fea

Browse files
authored
feat: add Mapbox MCP server definition (#52)
* Add Mapbox MCP server definition Official Mapbox MCP server for maps, geocoding, directions, and place search. Uses @mapbox/mcp-server npm package with stdio transport. https://claude.ai/code/session_013AxurW8hPAfnUNvik354Xx * fix: update server definition (input type 'password' -> 'text' for MAPBOX_ACCESS_TOKEN) * fix: rename server files with transport suffix - com.mapbox-mcp.json -> com.mapbox-mcp-npx.json (id: com.mapbox-mcp-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 90f59ea commit 7739fea

1 file changed

Lines changed: 73 additions & 0 deletions

File tree

servers/com.mapbox-mcp-npx.json

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
{
2+
"$schema": "../schemas/server-definition.schema.json",
3+
"id": "com.mapbox-mcp-npx",
4+
"name": "Mapbox (npx)",
5+
"alias": "mapbox",
6+
"description": "Search for places, geocode addresses, get directions, and generate map visualizations using the Mapbox APIs.",
7+
"icon": "https://avatars.githubusercontent.com/u/600935?v=4",
8+
"schema_version": "2.1",
9+
"categories": [
10+
"search"
11+
],
12+
"tags": [
13+
"mapbox",
14+
"maps",
15+
"geocoding",
16+
"directions",
17+
"places",
18+
"navigation",
19+
"location"
20+
],
21+
"transport": {
22+
"type": "stdio",
23+
"command": "npx",
24+
"args": [
25+
"-y",
26+
"@mapbox/mcp-server"
27+
],
28+
"env": {
29+
"MAPBOX_ACCESS_TOKEN": "${input:MAPBOX_ACCESS_TOKEN}"
30+
},
31+
"metadata": {
32+
"inputs": [
33+
{
34+
"id": "MAPBOX_ACCESS_TOKEN",
35+
"label": "Mapbox Access Token",
36+
"description": "Access token for the Mapbox API.",
37+
"type": "text",
38+
"required": true,
39+
"secret": true,
40+
"placeholder": "pk.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
41+
"obtain": {
42+
"url": "https://account.mapbox.com/access-tokens/",
43+
"instructions": "1. Go to account.mapbox.com/access-tokens\n2. Click 'Create a token'\n3. Configure scopes and copy the token",
44+
"button_label": "Create Token"
45+
}
46+
}
47+
]
48+
}
49+
},
50+
"auth": {
51+
"type": "api_key",
52+
"instructions": "Create an access token at https://account.mapbox.com/access-tokens/"
53+
},
54+
"contributor": {
55+
"name": "Mapbox",
56+
"github": "mapbox",
57+
"url": "https://www.mapbox.com"
58+
},
59+
"links": {
60+
"repository": "https://github.com/mapbox/mcp-server",
61+
"homepage": "https://www.mapbox.com",
62+
"documentation": "https://docs.mapbox.com/api/guides/mcp-server/"
63+
},
64+
"platforms": [
65+
"all"
66+
],
67+
"capabilities": {
68+
"tools": true,
69+
"resources": false,
70+
"prompts": false,
71+
"read_only_mode": true
72+
}
73+
}

0 commit comments

Comments
 (0)