The Mapbox MCP Server supports command-line configuration to enable or disable specific tools at startup.
Enable only specific tools (exclusive mode). When this option is used, only the listed tools will be available.
<command> --enable-tools version_tool,directions_toolDisable specific tools. All other tools will remain enabled.
<command> --disable-tools static_map_image_tool,matrix_toolThe following tools are available in the Mapbox MCP Server:
version_tool- Get version informationcategory_search_tool- Search for POIs by categorydirections_tool- Get directions between locationsforward_geocode_tool- Convert addresses to coordinatessearch_and_geocode_tool- Search for POIs, brands, chains, geocode cities, towns, addressesisochrone_tool- Calculate reachable areas from a pointmatrix_tool- Calculate travel times between multiple pointspoi_search_tool- Search for points of interestreverse_geocode_tool- Convert coordinates to addressesstatic_map_image_tool- Generate static map images
node dist/esm/index.js --enable-tools forward_geocode_tool,reverse_geocode_toolnpx @mapbox/mcp-server --disable-tools static_map_image_tooldocker run mapbox/mcp-server --enable-tools directions_tool,isochrone_tool,matrix_toolIn your Claude Desktop configuration file:
{
"mcpServers": {
"mapbox": {
"command": "node",
"args": [
"/path/to/index.js",
"--enable-tools",
"version_tool,directions_tool"
]
}
}
}- If both
--enable-toolsand--disable-toolsare provided,--enable-toolstakes precedence - Tool names must match exactly (case-sensitive)
- Multiple tools can be specified using comma separation
- Invalid tool names are silently ignored
- Arguments are passed after the main command, regardless of how the server is invoked