Skip to content
Cursor

mcp token optimizer for Cursor

io.github.rccola990-cloud/mcp-token-optimizer

Cut LLM token costs: count tokens, estimate cost, slim prompts, and pick the cheapest capable model.

client:Cursor transport:stdio runtime:npm

Install mcp token optimizer in Cursor

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

{
  "mcpServers": {
    "mcp-token-optimizer": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-token-optimizer"
      ]
    }
  }
}

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

mcp token optimizer in other clients