Skip to content
Windsurf

ollama handoff for Windsurf

io.github.michael-whitecapdata/ollama-handoff

Offload cheap work from your AI agent to a local Ollama model, at zero cloud cost.

client:Windsurf transport:stdio runtime:pypi

Install ollama handoff 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": {
    "ollama-handoff": {
      "command": "uvx",
      "args": [
        "ollama-handoff"
      ],
      "env": {
        "OLLAMA_URL": "<OLLAMA_URL>",
        "OLLAMA_DEFAULT_MODEL": "<OLLAMA_DEFAULT_MODEL>",
        "OLLAMA_NUM_CTX": "<OLLAMA_NUM_CTX>",
        "OLLAMA_KEEP_ALIVE": "<OLLAMA_KEEP_ALIVE>",
        "OLLAMA_TIMEOUT_S": "<OLLAMA_TIMEOUT_S>"
      }
    }
  }
}

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

ollama handoff in other clients