How to Use the CARTO MCP in Windsurf
Windsurf Cascade runs heavy spatial queries and builds map layers directly from your CARTO warehouse via this MCP Server.
Works with every AI agent you already use
…and any MCP-compatible client
Connect CARTO MCP to Windsurf
Create your Vinkius account to connect CARTO to Windsurf and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Map Layer Discovery via MCP Server
The `list_map_datasets` tool lets your agent read your entire CARTO organization catalog instantly. Cascade scans your existing visualization datasets to find the exact table names and row counts needed for your current project. You ask for the store locations, and Windsurf pulls the metadata without you opening a browser. If the data is missing, Cascade pivots to the `import_external_file` tool. It grabs a remote CSV or GeoJSON URL, loads it into your warehouse, and checks the progress using `get_import_status`. The agent chains these steps autonomously, setting up your spatial environment before writing a single line of frontend code.
Asynchronous Spatial SQL Processing
Using the `create_async_sql_job` tool, Windsurf kicks off massive spatial joins that exceed standard timeouts through the MCP connection. You tell Cascade to calculate overlapping service areas across a million records. The agent submits the query to your Snowflake or BigQuery backend and gets a job ID back. Instead of hanging the session, Cascade tracks the execution state via `poll_async_job_status`. It waits for the data warehouse to finish the heavy lifting. Once the status hits "done", Windsurf fetches the resulting table schema and immediately starts drafting the map component for your React application.
Autonomous Routing and Catchment Zones
Windsurf calls the `calculate_isoline` tool to generate reachable area polygons based on drive times. You need a 15-minute delivery zone for a new ghost kitchen. Cascade hits the CARTO LDS API, gets the GeoJSON contour, and embeds it directly into your local mapping configuration. When you need point-to-point logistics, the agent switches to `calculate_route`. It calculates the optimal driving path between two coordinates, returning the exact distance in meters. If you drop a list of 50 raw addresses into your workspace, Windsurf uses `geocode_batch_addresses` to convert them all into usable coordinates in one shot.
Set up CARTO MCP in Windsurf
Prerequisites
- Windsurf IDE installed (macOS, Windows, or Linux)
- Active Vinkius subscription with a valid endpoint token
- 1
Open MCP configuration
Click the Cascade assistant icon in the sidebar, then click the hammer icon (🔨) at the top of the panel. Select "Configure" to open
~/.codeium/windsurf/mcp_config.json. - 2
Add the CARTO MCP
Paste the JSON snippet shown on the right into the
mcpServersobject. Replace[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. - 3
Refresh MCPs
Go back to the hammer icon (🔨) in Cascade and click "Refresh". Windsurf will detect the new server. No full restart is needed — the connection is hot-reloaded.
- 4
Verify in Cascade
Start a new Cascade conversation and ask something like "Show my CARTO payment history." If connected, Cascade will call the CARTO tools directly. You will see a green dot next to the server name in the MCP panel.
{
"mcpServers": {
"carto-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 CARTO. 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 CARTO MCP in Windsurf
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the CARTO MCP today
We host it, we monitor it, we maintain it. You just paste one token.