Skip to content
Cursor

ollama handoff for Cursor

io.github.michael-whitecapdata/ollama-handoff

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

client:Cursor transport:stdio runtime:pypi

Install ollama handoff in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

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

{
  "mcpServers": {
    "ollama-handoff": {
      "type": "stdio",
      "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>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

ollama handoff in other clients