From 8e63bfd7ff080bd8cd7a136e05259d4d40842b4b Mon Sep 17 00:00:00 2001 From: Mohammod Al Amin Ashik Date: Wed, 11 Feb 2026 14:25:22 +0000 Subject: [PATCH 1/3] 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 --- servers/com.mapbox-mcp.json | 64 +++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 servers/com.mapbox-mcp.json diff --git a/servers/com.mapbox-mcp.json b/servers/com.mapbox-mcp.json new file mode 100644 index 0000000..bb2926b --- /dev/null +++ b/servers/com.mapbox-mcp.json @@ -0,0 +1,64 @@ +{ + "$schema": "../schemas/server-definition.schema.json", + "id": "com.mapbox-mcp", + "name": "Mapbox", + "alias": "mapbox", + "description": "Search for places, geocode addresses, get directions, and generate map visualizations using the Mapbox APIs.", + "icon": "https://avatars.githubusercontent.com/u/600935?v=4", + "schema_version": "2.1", + "categories": ["search"], + "tags": ["mapbox", "maps", "geocoding", "directions", "places", "navigation", "location"], + + "transport": { + "type": "stdio", + "command": "npx", + "args": ["-y", "@mapbox/mcp-server"], + "env": { + "MAPBOX_ACCESS_TOKEN": "${input:MAPBOX_ACCESS_TOKEN}" + }, + "metadata": { + "inputs": [ + { + "id": "MAPBOX_ACCESS_TOKEN", + "label": "Mapbox Access Token", + "description": "Access token for the Mapbox API.", + "type": "password", + "required": true, + "secret": true, + "placeholder": "pk.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "obtain": { + "url": "https://account.mapbox.com/access-tokens/", + "instructions": "1. Go to account.mapbox.com/access-tokens\n2. Click 'Create a token'\n3. Configure scopes and copy the token", + "button_label": "Create Token" + } + } + ] + } + }, + + "auth": { + "type": "api_key", + "instructions": "Create an access token at https://account.mapbox.com/access-tokens/" + }, + + "contributor": { + "name": "Mapbox", + "github": "mapbox", + "url": "https://www.mapbox.com" + }, + + "links": { + "repository": "https://github.com/mapbox/mcp-server", + "homepage": "https://www.mapbox.com", + "documentation": "https://docs.mapbox.com/api/guides/mcp-server/" + }, + + "platforms": ["all"], + + "capabilities": { + "tools": true, + "resources": false, + "prompts": false, + "read_only_mode": true + } +} From 05a8eefb0a5b534adeb1b1f79e2be42184a431d0 Mon Sep 17 00:00:00 2001 From: Mohammod Al Amin Ashik Date: Thu, 19 Feb 2026 19:09:44 +0800 Subject: [PATCH 2/3] fix: update server definition (input type 'password' -> 'text' for MAPBOX_ACCESS_TOKEN) --- servers/com.mapbox-mcp.json | 31 ++++++++++++++++++++----------- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/servers/com.mapbox-mcp.json b/servers/com.mapbox-mcp.json index bb2926b..2730973 100644 --- a/servers/com.mapbox-mcp.json +++ b/servers/com.mapbox-mcp.json @@ -6,13 +6,25 @@ "description": "Search for places, geocode addresses, get directions, and generate map visualizations using the Mapbox APIs.", "icon": "https://avatars.githubusercontent.com/u/600935?v=4", "schema_version": "2.1", - "categories": ["search"], - "tags": ["mapbox", "maps", "geocoding", "directions", "places", "navigation", "location"], - + "categories": [ + "search" + ], + "tags": [ + "mapbox", + "maps", + "geocoding", + "directions", + "places", + "navigation", + "location" + ], "transport": { "type": "stdio", "command": "npx", - "args": ["-y", "@mapbox/mcp-server"], + "args": [ + "-y", + "@mapbox/mcp-server" + ], "env": { "MAPBOX_ACCESS_TOKEN": "${input:MAPBOX_ACCESS_TOKEN}" }, @@ -22,7 +34,7 @@ "id": "MAPBOX_ACCESS_TOKEN", "label": "Mapbox Access Token", "description": "Access token for the Mapbox API.", - "type": "password", + "type": "text", "required": true, "secret": true, "placeholder": "pk.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", @@ -35,26 +47,23 @@ ] } }, - "auth": { "type": "api_key", "instructions": "Create an access token at https://account.mapbox.com/access-tokens/" }, - "contributor": { "name": "Mapbox", "github": "mapbox", "url": "https://www.mapbox.com" }, - "links": { "repository": "https://github.com/mapbox/mcp-server", "homepage": "https://www.mapbox.com", "documentation": "https://docs.mapbox.com/api/guides/mcp-server/" }, - - "platforms": ["all"], - + "platforms": [ + "all" + ], "capabilities": { "tools": true, "resources": false, From 34140e804a1ea0a3dcad6136ccb9825e16d253ed Mon Sep 17 00:00:00 2001 From: Mohammod Al Amin Ashik Date: Thu, 19 Feb 2026 22:44:56 +0800 Subject: [PATCH 3/3] 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 --- servers/{com.mapbox-mcp.json => com.mapbox-mcp-npx.json} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename servers/{com.mapbox-mcp.json => com.mapbox-mcp-npx.json} (97%) diff --git a/servers/com.mapbox-mcp.json b/servers/com.mapbox-mcp-npx.json similarity index 97% rename from servers/com.mapbox-mcp.json rename to servers/com.mapbox-mcp-npx.json index 2730973..9f10ce7 100644 --- a/servers/com.mapbox-mcp.json +++ b/servers/com.mapbox-mcp-npx.json @@ -1,7 +1,7 @@ { "$schema": "../schemas/server-definition.schema.json", - "id": "com.mapbox-mcp", - "name": "Mapbox", + "id": "com.mapbox-mcp-npx", + "name": "Mapbox (npx)", "alias": "mapbox", "description": "Search for places, geocode addresses, get directions, and generate map visualizations using the Mapbox APIs.", "icon": "https://avatars.githubusercontent.com/u/600935?v=4",