Set up Mapbox in Metorial for Claude, ChatGPT and Cursor
Share Mapbox with your team in Claude, ChatGPT and Cursor through Metorial: access token sign-in, 15 tools (9 read-only).
To give your team Mapbox in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Mapbox integration in a Metorial portal, and each person connects with an access token. Agents can generate static and vector map tiles, images, and styles. The integration has 15 tools, 9 read-only and 6 write, plus 1 trigger.
What you'll learn
- How an admin shares Mapbox in a portal and how each person connects
- What Mapbox asks for when you connect, and where to find it
- How to keep the 9 read-only tools and reject the other 6
Before you start
- A portal with at least one access group
- An access token from Mapbox for each person, or one for a shared connection
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in method
| Method | Type | What a person provides |
|---|---|---|
| Access Token | API token | token |
Access Token
To connect, a person enters:
token: Your Mapbox access token (public pk.*, secret sk.*, or temporary tk.*). Secret tokens are required for write operations.
Setup settings
Setup also asks for:
username: Your Mapbox account username. Required for most API operations that manage account resources.
Admin: share Mapbox in a portal
In the dashboard
Open Shared Resources
Open Workforce, choose the portal, and select Shared Resources under Access.
Share a new integration
Select Share a Resource, then New Integration, and choose Mapbox. For how members connect, choose Each person connects so everyone enters their own access token, or Shared connection to enter one access token for everyone.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Mapbox.
Choose who gets it
Add the access groups that should see Mapbox. When a person asks for access from the portal, the request appears under Access Requests.
With the CLI
The CLI cannot create the per-user Mapbox integration. Once it exists, check which groups have it:
Employee: connect Mapbox
In the portal
Open Mapbox in the catalog
Sign in to your portal and open Mapbox. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. In the setup window, enter your access token (token).
Confirm
The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.
With the CLI
catalog search prints the catalog item ID.
Add it to your AI client
metorial install adds your Mapbox connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.
For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.
Make it read-only
Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 9 read-only tools, such as matrix and geocode, and lose the 6 write tools, such as manage_styles or manage_tokens.
Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.
Check it worked
metorial tools lists the 15 tools, minus any you rejected. list_fonts takes no input. It lists all available fonts in your Mapbox account.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (9)
static_image: Generate a URL for a static map image rendered from a Mapbox style. NeedsstyleId,longitude,latitude,zoom,widthandheight.list_fonts: List all available fonts in your Mapbox account.geocode: Convert between addresses/place names and geographic coordinates. Needsmode.directions: Calculate optimal routes between locations with turn-by-turn instructions. Needscoordinates.isochrone: Compute reachability areas (isochrones) from a location — areas that can be reached within a specified time or distance. Needslongitudeandlatitude.matrix: Calculate travel times and distances between multiple origins and destinations. Needscoordinates.tilequery: Query features from vector or raster tilesets at a specific geographic location. NeedstilesetId,longitudeandlatitude.optimize_route: Find the most efficient order to visit a set of waypoints (traveling salesman problem). Needscoordinates.map_matching: Snap GPS traces to the road and path network. Needscoordinates.
Write tools (6)
manage_tilesets: List tilesets, retrieve tileset metadata (TileJSON), view tileset processing jobs, publish tilesets, or delete tilesets. Needsaction.manage_uploads: List, create, check status, or delete data uploads. Needsaction.manage_styles: List, retrieve, create, update, or delete Mapbox map styles. Needsaction.manage_tokens: List, create, update, delete, or validate Mapbox access tokens. Needsaction.manage_dataset_features: List, retrieve, create/update, or delete GeoJSON features within a Mapbox dataset. NeedsactionanddatasetId.manage_datasets: List, create, retrieve, update, or delete Mapbox datasets. Needsaction.
Triggers
Mapbox has 1 trigger, which fire on events in Mapbox:
inbound_webhook
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Mapbox there
- Tool permissions: tool filters and what employees see
- Mapbox on metorial.com: the integration overview