How to Use the Mapbox MCP in VS Code Copilot
Bring Mapbox routing and geocoding directly into your VS Code Copilot workspace for faster spatial development.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Mapbox MCP to VS Code Copilot
Create your Vinkius account to connect Mapbox to VS Code Copilot and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Share Mapbox MCP Server tools across your team
Look, getting a whole team of developers on the same page with API stubs is a headache. Committing a shared configuration file allows VS Code Copilot to access this MCP server globally. Any developer on the repo can use `geocode` to translate addresses to coordinates without setting up local mock servers. When debugging, your team can run `reverse_geocode` to inspect coordinate locations. Copilot reads the structured JSON response containing the street, city, and state—and this matters—giving your developers instant context.
Calculate routes and travel times in Copilot Chat
Right. So. Writing logistics code requires constant validation of distances and durations. The `get_distance_matrix` tool gives Copilot access to actual travel times between multiple coordinates. If you need step-by-step driving maneuvers, have Copilot call `get_directions`. The tool returns detailed instructions and route geometries, allowing your agent to write accurate navigation handlers.
Render static maps and calculate isochrones
Here's the thing. You don't want to build a whole frontend map component just to verify a service area. The `get_isochrone` tool generates reachable contours based on drive times directly in your editor. You can then use `get_static_map` to get a direct image URL. Copilot displays this image in the chat panel, letting you inspect the map layout without opening a web browser.
Set up Mapbox MCP in VS Code Copilot
Prerequisites
- VS Code 1.99 or later with GitHub Copilot extension
- Active Vinkius subscription with a valid endpoint token
- 1
Open MCP configuration
Open the Command Palette (
Cmd+Shift+P/Ctrl+Shift+P) and run "MCP: Add Server". Select HTTP (Streamable) as the server type. VS Code will create.vscode/mcp.jsonin your workspace. - 2
Add the Mapbox MCP
Paste the JSON snippet shown on the right into your
.vscode/mcp.json. Replace[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. - 3
Switch to Agent mode
Open Copilot Chat (
Cmd+Shift+I/Ctrl+Shift+I) and switch to Agent mode using the dropdown. MCP tools are only available in Agent mode — they do not appear in Edit or Ask modes. - 4
Verify the connection
In the Copilot Chat input, type
#to list available tools. You should see the Mapbox tools listed. Try asking: "List my recent Mapbox transactions" and Copilot will invoke them automatically.
{
"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 VS Code Copilot
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.