CuratedMCP
Gemini CLI
npm

How to install token-optimizer-mcp in Gemini CLI

Context-window optimization: caching, compression & smart file tools that cut tokens 60-90%.

Indexed, not yet reviewed

We found token-optimizer-mcp in the official MCP registry. Our automated check passed on Nov 1, 2026 (it confirms the server is published and reachable), but no one at CuratedMCP has reviewed its code, permissions or credentials handling. Check what it can access before you give it keys. Scan your machine free to see every MCP server you have installed.

Steps

  1. 1Install Node.js 18 or newer (for npx)
  2. 2Open ~/.gemini/settings.json (or .gemini/settings.json in your project)
  3. 3Add the entry below. If the file already has "mcpServers", add just the inner entry
  4. 4Restart Gemini CLI and run /mcp to confirm

Configuration

~/.gemini/settings.json
{
  "mcpServers": {
    "token-optimizer": {
      "command": "npx",
      "args": [
        "-y",
        "@ooples/token-optimizer-mcp"
      ]
    }
  }
}
Environment variableRequiredWhat it is
TOKEN_OPTIMIZER_CACHE_DIRNoDirectory path for cache storage (optional, defaults to ~/.token-optimizer-cache)

Install in other clients

About token-optimizer-mcp: repo, license and check results →

Maintain token-optimizer-mcp?

Claim this page to get a full CuratedMCP listing: edit your description, see listing analytics, and add our README badge. Listing is free, and a person checks every submission before it goes live. We'll pre-fill the form from the registry.

    How to install token-optimizer-mcp server in Gemini CLI | CuratedMCP