0n3
MCP servers · Cloudflare AI Gateway · MCP server

Connect Windsurf to Cloudflare AI Gateway

One line gives Windsurf your Cloudflare AI Gateway account as tools: 1 endpoint, chat, called with your own connection. No key in the prompt, a receipt for every call, revoke Windsurf's access alone any time.

Get the line for WindsurfConnect Cloudflare AI Gateway first

Three steps

  1. Create a free 0n3 account and connect Cloudflare AI Gateway. Paste a key or sign in; it lands in your vault, encrypted.
  2. Install 0n3 into Windsurf. The mcp_config.json block.
  3. Ask Windsurf: whoami. Then: "Chat completion in Cloudflare AI Gateway".
Write it yourself · ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "0n3": {
      "serverUrl": "https://0n3.app/mcp",
      "headers": {
        "Authorization": "Bearer <your 0n token>"
      }
    }
  }
}

The line above carries a placeholder; 0n3.app/install mints a real key named for Windsurf and fills it in.

What Windsurf can then do in Cloudflare AI Gateway

Chat · Chat completions through the gateway (provider/model ids)1
Chat completionPOST /chat/completions

Cloudflare AI Gateway in other AI clients

Claude Code + Cloudflare AI GatewayMCP server + skillClaude (desktop & claude.ai) + Cloudflare AI GatewayconnectorChatGPT + Cloudflare AI Gatewayconnector · GPT actionGrok Bot (xAI) + Cloudflare AI Gatewaycustom connectorCodex CLI + Cloudflare AI GatewayMCP serverGemini CLI + Cloudflare AI GatewayMCP serverCursor + Cloudflare AI GatewayMCP serverVS Code (Copilot) + Cloudflare AI GatewayMCP server

Windsurf with other apps

Hostinger363 endpointsPipedrive310 endpointsTelegram132 endpointsResend67 endpointsSquare57 endpointsLinkedIn50 endpointsSlack45 endpointseBay42 endpointsCRM35 endpointsFigma32 endpointsCloudConvert32 endpointsMicrosoft 36526 endpoints