No install? Use cloud.anythingmcp.com directly.
Sign in, install the Mapbox in one click, paste the credentials, mint an MCP API key — done. No Docker, no git clone, no local server to run.
TL;DR
Drive Mapbox APIs (geocoding, directions, isochrones, matrix, tilequery) from any AI agent. 8 tools, access-token query auth.
💡 Niente installazione? Vai direttamente su cloud.anythingmcp.com. Accedi, clicca Connectors → Mapbox, inserisci le credenziali, genera una MCP API key — fatto. Niente Docker, niente
git clone, niente server locale.
Mapbox + Gemini
Drive Mapbox APIs (geocoding, directions, isochrones, matrix, tilequery) from any AI agent. 8 tools, access-token query auth.
Prerequisiti
Le istruzioni di setup complete sono incluse nel connettore stesso (visibili nello store quando lo selezioni). Le variabili d'ambiente richieste sono:
MAPBOX_ACCESS_TOKEN
Step 1 — Ottieni le credenziali
mapbox.com/api/).
Setup:
- Sign in to https://account.mapbox.com → Access tokens → Create a token.
- Pick scopes: usually
styles:read+fonts:read+geocoding+directions+matrix+isochrone+tilequery. - Copy the token (starts with
pk.). SetMAPBOX_ACCESS_TOKEN.
Authentication: query-string ?access_token=....
Coordinate convention (Mapbox-specific): longitude FIRST, then latitude. The order is lng,lat, NOT lat,lng like Google Maps. Trip up on this and your results land in the wrong country.
…(continued in the in-app connector instructions)
Step 2 — Installa l'adapter
git clone https://github.com/HelpCode-ai/anythingmcp.git
cd anythingmcp && docker compose up -d
Step 3 — Aggiungi il connettore in Gemini
Gemini CLI legge i server MCP da ~/.gemini/settings.json (o %APPDATA%\gemini\settings.json su Windows). Aggiungi:
{
"mcpServers": {
"anythingmcp": {
"httpUrl": "https://cloud.anythingmcp.com/mcp",
"headers": { "Authorization": "Bearer YOUR_MCP_API_KEY" }
}
}
}
- Ottieni la tua MCP API key da AnythingMCP → Profilo → MCP API Keys → Nuova Key.
- Salva il file e riavvia
gemini. - Esegui
/mcpnella Gemini CLI —Mapboxdovrebbe essere elencato come disponibile. - Vertex AI Studio: passa
https://cloud.anythingmcp.com/mcpnell'arraytoolsdella richiesta con lo stesso header Bearer.
Tool disponibili
| Tool | What it does |
|---|---|
mapbox_geocode_forward | Forward geocoding (address text → coordinates) |
mapbox_geocode_reverse | Reverse geocoding (coordinates → address) |
mapbox_directions | Compute driving / walking / cycling directions between waypoints |
mapbox_isochrone | Get the area reachable within N minutes from a starting point (an 'isochrone' — like 'how far can I drive in 15 min?') |
mapbox_matrix | Compute travel-time and distance MATRIX between many origins and destinations (e |
mapbox_static_image | Generate a static PNG/JPG map of a location with optional pin overlays |
mapbox_tilequery | Query features in a vector tileset at a specific point — e |
mapbox_list_styles | List custom map styles owned by your account |
FAQ
Gemini 1.5 Pro o 2.x supportano MCP? Sì — Gemini CLI ≥ 0.4 e la Vertex AI tools API accettano connettori MCP httpUrl con header Bearer.
Prossimi passi
Questa guida ti è stata utile?