MCP Integration
Cursor / Windsurf

Cursor / Windsurf Integration

Both editors speak MCP over HTTP. Point them at the Route6 client on http://localhost:3000/mcp (recommended), or straight at the hosted gateway.

Cursor

Add to .cursor/mcp.json in your project root (or global ~/.cursor/mcp.json).

With the Route6 client (recommended) — run the binary or the container first; it holds your key, so the config carries none:

{
  "mcpServers": {
    "route6": { "url": "http://localhost:3000/mcp" }
  }
}

Without a client (serverless) — outbound tools only, no port forwards, webhooks or mesh:

{
  "mcpServers": {
    "route6": {
      "url": "https://gw.route6.me/mcp",
      "headers": { "Authorization": "Bearer sk_a6_your_key_here" }
    }
  }
}

Or install the serverless entry in one click, then replace YOUR_ROUTE6_API_KEY with your key in the server settings:

Add to Cursor

Reload the Cursor window to pick up the new MCP server. Keep a config that contains a key out of version control.

Windsurf

Windsurf reads ~/.codeium/windsurf/mcp_config.json, and a remote server is named with serverUrl.

With the Route6 client (recommended):

{
  "mcpServers": {
    "route6": { "serverUrl": "http://localhost:3000/mcp" }
  }
}

Without a client (serverless):

{
  "mcpServers": {
    "route6": {
      "serverUrl": "https://gw.route6.me/mcp",
      "headers": { "Authorization": "Bearer sk_a6_your_key_here" }
    }
  }
}

The Route6 tools appear in the Cascade panel after a refresh.