Skip to content

nextjs cache handler mcp for Grok

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

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

client:Grok transport:stdio runtime:npm

Install nextjs cache handler mcp in Grok

.mcp.json (in your project root)

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

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

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

nextjs cache handler mcp in other clients