MCP Integration
Cursor / Windsurf

Cursor / Windsurf Integration

Both editors speak MCP over HTTP. Pick a connection method — Lite (hosted gateway, no Docker) or Pro (local container). See the Lite Client quickstart to compare.

Cursor

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" }
    }
  }
}

Pro (Docker) — with the route6me/netid container 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 Pro (Docker): use "url": "http://localhost:3000/mcp". The Route6 tools appear in the Cascade panel after restart.