Skip to content
Windsurf

agentfit for Windsurf

io.github.mukundakatta/agentfit

Token-aware message truncation: fit a chat history into your model's context budget.

client:Windsurf transport:stdio runtime:npm

Install agentfit in Windsurf

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

{
  "mcpServers": {
    "agentfit": {
      "command": "npx",
      "args": [
        "-y",
        "@mukundakatta/agentfit-mcp"
      ]
    }
  }
}

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

agentfit in other clients