Docs Standalone Kubernetes Blog Enterprise Community Get Started GitHub

Windsurf

Configure Windsurf, Codeium’s AI-powered IDE, to use Agent Gateway as an MCP server.

Configuration

Add Agent Gateway to your Windsurf MCP configuration. Create or edit ~/.windsurf/mcp.json:

{
  "mcpServers": {
    "agentgateway": {
      "url": "http://localhost:15000/mcp/sse"
    }
  }
}

Project-Level Configuration

For project-specific settings, create .windsurf/mcp.json in your project root:

{
  "mcpServers": {
    "agentgateway": {
      "url": "http://localhost:15000/mcp/sse"
    }
  }
}

Using Streamable HTTP

For improved performance, use the streamable HTTP transport:

{
  "mcpServers": {
    "agentgateway": {
      "url": "http://localhost:15000/mcp/http"
    }
  }
}

Authentication

Include authentication headers if required:

{
  "mcpServers": {
    "agentgateway": {
      "url": "http://localhost:15000/mcp/sse",
      "headers": {
        "Authorization": "Bearer your-token-here"
      }
    }
  }
}

Verifying the Connection

After configuration, restart Windsurf and verify that Agent Gateway tools are available in the Cascade agent’s tool list.

Agentgateway assistant

Ask me anything about agentgateway configuration, features, or usage.

Note: AI-generated content might contain errors; please verify and test all returned information.

↑↓ navigate select esc dismiss