Skip to content
Gemini CLI

nextjs cache handler mcp for Gemini CLI

io.github.leejpsd/nextjs-cache-handler-mcp

Inspect and operate Next.js Redis caches: health, tag state, SWR simulation, safe invalidation.

client:Gemini CLI transport:stdio runtime:npm

Install nextjs cache handler mcp in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "nextjs-cache-handler-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@leejpsd/nextjs-cache-handler-mcp"
      ],
      "env": {
        "REDIS_URL": "<REDIS_URL>",
        "DEPLOYMENT_VERSION": "<DEPLOYMENT_VERSION>",
        "HASH_TAG": "<HASH_TAG>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

nextjs cache handler mcp in other clients