MCP servers · LiteLLM Proxy · MCP server
Connect Windsurf to LiteLLM Proxy
One line gives Windsurf your LiteLLM Proxy account as tools: 3 endpoints, chat, models, embed, called with your own connection. No key in the prompt, a receipt for every call, revoke Windsurf's access alone any time.
Three steps
- Create a free 0n3 account and connect LiteLLM Proxy. Paste a key or sign in; it lands in your vault, encrypted.
- Install 0n3 into Windsurf. The mcp_config.json block.
- Ask Windsurf: whoami. Then: "Chat completion in LiteLLM Proxy".
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 LiteLLM Proxy
Chat · Chat completions1
Chat completion
POST /v1/chat/completionsModels · List available models1
List models
GET /v1/modelsEmbed · Text embeddings0
Text embeddings
More · Everything else this app exposes.1
Create an embedding
POST /v1/embeddingsLiteLLM Proxy in other AI clients
Claude Code + LiteLLM ProxyMCP server + skillClaude (desktop & claude.ai) + LiteLLM ProxyconnectorChatGPT + LiteLLM Proxyconnector · GPT actionGrok Bot (xAI) + LiteLLM Proxycustom connectorCodex CLI + LiteLLM ProxyMCP serverGemini CLI + LiteLLM ProxyMCP serverCursor + LiteLLM ProxyMCP serverVS Code (Copilot) + LiteLLM ProxyMCP server
