# Mapbox

Mapbox is a platform that provides mapping, navigation, and location data services for developers to integrate into their applications.

This is a first-class FlyMyAI MCP. Agents **discover it automatically** via tool search and call the actions below on demand - you never wire it up by hand. See the [Composio catalog](https://docs.flymy.ai/mcp/composio.md) for how discovery works.

## Connect

**Mapbox** authenticates with an API key. Generate the credential in your Mapbox account, then paste it into FlyMyAI the first time an agent uses a Mapbox action.

[Get your Mapbox credential →](https://account.mapbox.com/access-tokens)

### Fields to fill in FlyMyAI

| Field | Details |
| --- | --- |
| `Mapbox Access Token` | Your Mapbox access token used to authenticate API requests. _(required)_ |

## Actions

Every action this integration exposes. Agents pick the right one from the task; you do not call them by name.

| Action | What it does | Required inputs |
| --- | --- | --- |
| `MAPBOX_GEOCODING_BATCH` | Tool to perform batch forward or reverse geocoding for multiple locations. use when you need consistent geocoding of up to 50 queries in one call. | - |
| `MAPBOX_GEOCODING_FORWARD` | Tool to convert free-form or structured address into geographic coordinates and place features. use when you need forward geocoding from text or address components. | - |
| `MAPBOX_GEOCODING_PERMANENT_FORWARD` | Tool to perform permanent forward geocoding. use when you need enterprise-grade permanent geocoding after confirming account privileges. | `search_text` |
| `MAPBOX_GEOCODING_PERMANENT_REVERSE` | Tool to perform permanent reverse geocoding. use after obtaining coordinates to get cacheable place data. example: lon=-73.989, lat=40.733 | `longitude`, `latitude`, `access_token` |
| `MAPBOX_GEOCODING_REVERSE` | Tool to reverse geocode coordinates into place names. use after obtaining coordinates. | `longitude`, `latitude` |
| `MAPBOX_GET_ACCESS_TOKEN` | Tool to extract and validate mapbox access token from connection metadata. use when you need a valid token for downstream actions. | - |
| `MAPBOX_REQUEST_STYLE_EMBED_HTML` | Tool to retrieve embeddable html for a mapbox style. use when you want to embed a style in an iframe after verifying access. | `username`, `style_id` |
| `MAPBOX_RETRIEVE_DIRECTIONS` | Tool to retrieve directions between waypoints. use when you need navigation routes with optional turn-by-turn instructions after confirming origin and destination. | `profile`, `coordinates`, `access_token` |
| `MAPBOX_RETRIEVE_FONT_GLYPH_RANGES` | Tool to retrieve font glyph ranges as pbf tiles. use when you have confirmed the font name, codepoint range, and valid token. | `username`, `font`, `start`, `end` |
| `MAPBOX_RETRIEVE_MATRIX` | Tool to retrieve a travel time and distance matrix. use when you need to compute travel durations and distances between multiple locations. | `profile`, `coordinates`, `access_token` |
| `MAPBOX_RETRIEVE_STYLE` | Tool to retrieve a mapbox style json. use when you need the full style definition by its id. | `username`, `style_id` |
| `MAPBOX_RETRIEVE_STYLE_WMTS` | Tool to retrieve a wmts document for a mapbox style. use when you need the wmts capabilities xml for a specific style id. | `username`, `style_id` |
| `MAPBOX_RETRIEVE_TILESET_METADATA` | Tool to retrieve metadata for a mapbox tileset. use when you need tilejson details including bounds, zooms, and layer info. | `tileset_id` |

## Links

- [Mapbox website](https://www.mapbox.com/)
- [Get API key / credential](https://account.mapbox.com/access-tokens)
- [Browse the full Composio catalog](https://docs.flymy.ai/mcp/composio.md)
