Skip to content
Windsurf

LiteLLM Multi-Model API for Windsurf

io.github.berriai/litellm-mcp

Access 100+ LLMs with one API: GPT-4, Claude, Gemini, Mistral, and more.

client:Windsurf transport:stdio runtime:pypi

Install LiteLLM Multi-Model API in Windsurf

~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "litellm-mcp": {
      "command": "uvx",
      "args": [
        "litellm-mcp"
      ],
      "env": {
        "OPENAI_API_KEY": "<OPENAI_API_KEY>",
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>",
        "LITELLM_API_BASE": "<LITELLM_API_BASE>",
        "LITELLM_API_KEY": "<LITELLM_API_KEY>"
      }
    }
  }
}

Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs

LiteLLM Multi-Model API in other clients