MCP Integration
Cursor / Windsurf

Cursor / Windsurf Integration

Both editors speak MCP over HTTP. Point them either straight at the hosted gateway, or at a local agent on http://localhost:3000/mcp.

Cursor

One-click install:

Add to Cursor

Click, confirm in Cursor, then replace YOUR_ROUTE6_API_KEY with your key in the server settings. Or configure manually:

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

Lite (recommended — no Docker):

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

Container — with route6me/netid:1.2.4 running (MCP on 127.0.0.1:3000):

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

Reload the Cursor window to pick up the new MCP server.

Windsurf

Add to your Windsurf MCP config (Settings → MCP Servers → Add). Lite:

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

Or with the container: use "url": "http://localhost:3000/mcp". The Route6 tools appear in the Cascade panel after restart.