Skip to content
Cline

ai optimizer for Cline

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

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

client:Cline transport:stdio runtime:npm

Install ai optimizer in Cline

~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json · windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.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>"
      }
    }
  }
}

Cline's MCP Servers pane edits this file for you if you would rather not find it. Cline docs

ai optimizer in other clients