Skip to content
Windsurf

ai optimizer for Windsurf

io.github.shivam-app-developers/ai-optimizer

MCP server that cuts AI coding agent token usage via framework-aware context optimization

client:Windsurf transport:stdio runtime:npm

Install ai optimizer 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": {
    "ai-optimizer": {
      "command": "npx",
      "args": [
        "-y",
        "@ai-optimizer/core"
      ],
      "env": {
        "AI_OPTIMIZER_LICENSE": "<AI_OPTIMIZER_LICENSE>",
        "AI_OPTIMIZER_LSP": "<AI_OPTIMIZER_LSP>",
        "AI_OPTIMIZER_TELEMETRY": "<AI_OPTIMIZER_TELEMETRY>"
      }
    }
  }
}

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

ai optimizer in other clients