NestDaddy

Nextjs Cache Handler Mcp

io.github.leejpsd/nextjs-cache-handler-mcp · v0.1.2

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

Connect Runs on your machine

Terminal
claude mcp add nextjs-cache-handler-mcp -e REDIS_URL=<REDIS_URL> -e DEPLOYMENT_VERSION=<DEPLOYMENT_VERSION> -e HASH_TAG=<HASH_TAG> -- npx -y @leejpsd/[email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "nextjs-cache-handler-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@leejpsd/[email protected]"
      ],
      "env": {
        "REDIS_URL": "<REDIS_URL>",
        "DEPLOYMENT_VERSION": "<DEPLOYMENT_VERSION>",
        "HASH_TAG": "<HASH_TAG>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "nextjs-cache-handler-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@leejpsd/[email protected]"
      ],
      "env": {
        "REDIS_URL": "<REDIS_URL>",
        "DEPLOYMENT_VERSION": "<DEPLOYMENT_VERSION>",
        "HASH_TAG": "<HASH_TAG>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "nextjs-cache-handler-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@leejpsd/[email protected]"
      ],
      "env": {
        "REDIS_URL": "<REDIS_URL>",
        "DEPLOYMENT_VERSION": "<DEPLOYMENT_VERSION>",
        "HASH_TAG": "<HASH_TAG>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
REDIS_URL
Required, secret
Redis connection string the cache handler uses
DEPLOYMENT_VERSION
Optional
Deploy namespace (recommended)
HASH_TAG
Optional
Set 'true' when handlers use hashTag: true (Redis Cluster)

Details

Package@leejpsd/[email protected] (NPM, stdio)
First published2 Aug 2026
Last updated2 Aug 2026
Registry nameio.github.leejpsd/nextjs-cache-handler-mcp

More databases servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.