How to Use the Mapbox MCP in Cursor
Generate working routing and mapping code in Cursor using real spatial data instead of placeholder stubs.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Mapbox MCP to Cursor
Create your Vinkius account to connect Mapbox to Cursor and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Write real mapping code in Cursor with active tools
Look, writing spatial code with fake coordinates leads to bugs during integration. This MCP Server lets Cursor inspect real Mapbox outputs while you write your backend services. The editor uses `geocode` to pull actual latitude and longitude arrays directly into your active file. By letting your agent call `reverse_geocode` on the fly, you get immediate confirmation of address formats. You don't have to write mock objects—keep it simple. Your agent writes code against live structural payloads.
Build logistics features using real distance matrices
Right. So. If you are coding a dispatch engine, you need to verify how your algorithms handle travel times. The `get_distance_matrix` tool returns actual durations in seconds between your target locations. Your Cursor agent can feed these matrices directly into your sorting functions. If you need step-by-step route geometry, the agent calls `get_directions` to generate precise coordinates for your database seeds.
Generate static map URLs and service boundaries
Here's the thing. Hardcoding map requests is tedious because you have to guess the zoom level. This MCP tool lets you run `get_static_map` to get direct image URLs during your coding sessions. If you need to test boundary validation logic, use `get_isochrone` to fetch actual reachability polygons. Your agent reads the coordinates of these contours and writes the spatial intersection tests for you.
Set up Mapbox MCP in Cursor
Prerequisites
- Cursor installed (macOS, Windows, or Linux)
- Active Vinkius subscription with a valid endpoint token
- 1
Open MCP Settings
Go to Cursor Settings → MCP or open the Command Palette (
Cmd+Shift+P/Ctrl+Shift+P) and search for "MCP: Add Server". - 2
Add the Mapbox MCP
Cursor will create or open
.cursor/mcp.jsonin your project root. Paste the JSON snippet on the right. Replace[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. - 3
Enable Agent mode
Open Composer (
Cmd+I/Ctrl+I) and switch to Agent mode using the dropdown at the top. MCP tools are only available in Agent mode. - 4
Verify the connection
Ask Cursor something like "List my recent Mapbox transactions." If the MCP tools are loaded correctly, Cursor will call the Mapbox tools automatically. You can also check Settings → MCP for a green status indicator.
{
"mcpServers": {
"mapbox-mcp": {
"url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
}
}
} Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Mapbox. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Mapbox MCP in Cursor
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Mapbox MCP today
We host it, we monitor it, we maintain it. You just paste one token.