0n3
MCP servers · Google Gemini API · MCP server

Connect Windsurf to Google Gemini API

One line gives Windsurf your Google Gemini API account as tools: 4 endpoints, embed, models, 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 Google Gemini API first

Three steps

  1. Create a free 0n3 account and connect Google Gemini API. 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: "Embed content in Google Gemini API".
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 Google Gemini API

Embed · Text embeddings1
Embed contentPOST /models/{model}:embedContent
Models · List available models3
List modelsGET /models
Generate a contentPOST /models/{model}:generateContent
Count tokensPOST /models/{model}:countTokens
Chat · Generate content (text, vision, tools)0
Generate content (text, vision, tools)

Google Gemini API in other AI clients

Claude Code + Google Gemini APIMCP server + skillClaude (desktop & claude.ai) + Google Gemini APIconnectorChatGPT + Google Gemini APIconnector · GPT actionGrok Bot (xAI) + Google Gemini APIcustom connectorCodex CLI + Google Gemini APIMCP serverGemini CLI + Google Gemini APIMCP serverCursor + Google Gemini APIMCP serverVS Code (Copilot) + Google Gemini APIMCP server

Windsurf with other apps

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