Windsurf Integration
WinSurf Integration Guide
This guide explains how to configure WinSurf to use the TomTom MCP Server for location-based queries.
Prerequisites
- WinSurf installed
- Node.js 22+ (For STDIO)
- Docker Setup Required (For HTTP)
- A valid TomTom API key
Setup
- 
Add the below configuration to your ~/.codeium/windsurf/mcp_config.jsonfile in the WindSurf directory:1{2 "mcpServers": {3 "tomtom-mcp": {4 "command": "npx",5 "args": ["-y","@tomtom-org/tomtom-mcp@latest"],6 "env": {7 "TOMTOM_API_KEY": "<your_API_KEY>"8 }9 }10 }11}
Alternative Setup: HTTP Mode
You can also run TomTom MCP in HTTP mode separately and connect to it from WinSurf:
- 
Run TomTom MCP in HTTP mode using one of these methods: Using Docker 1# Run using Docker2docker run -p 3000:3000 ghcr.io/tomtom-international/tomtom-mcp:latest34# Or with Docker Compose (after cloning the repository)5docker compose up
- 
Configure WinSurf to connect to the HTTP server: Add the below configuration in /.codeium/windsurf/mcp_config.json:1{2 "servers": {3 "tomtom-mcp": {4 "url": "http://localhost:3000/mcp",5 "headers": {6 "tomtom-api-key": "your_api_key_here"7 }8 }9 }10}
This approach has several advantages:
- Separates the MCP server from VS Code, allowing you to restart either independently
- Useful when using the Docker image to avoid native dependency issues
- Enables sharing one MCP server instance across multiple tools/applications

Test It
Use WinSurf's integration features to query the MCP server for map, routing, or search data.
Troubleshooting
- Ensure TOMTOM_API_KEYis valid and active
- Check that the MCP server is running
- Review WinSurf logs for connection issues