NE

nextjs cache handler MCP Server

Published by leejpsd

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

CATEGORY
More to explore
DEPLOYMENT
Local package
LATEST SOURCE VERSION
0.1.2
SOURCE CHECKED
Dec 1, 2026

Quick answers

How do I add nextjs cache handler MCP Server to Claude Code, Cursor or Codex?

Claude CodeCommand

Run this in your terminal:

claude mcp add --env 'REDIS_URL=<your-redis-url>' --transport stdio nextjs-cache-handler -- npx -y @leejpsd/nextjs-cache-handler-mcp

Replace the <your-…> placeholder with your own REDIS_URL.

Claude Code setup guide
CursorConfig

Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:

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

Replace the <your-…> placeholder with your own REDIS_URL.

Cursor setup guide
CodexCommand

Run this in your terminal:

codex mcp add nextjs-cache-handler --env 'REDIS_URL=<your-redis-url>' -- npx -y @leejpsd/nextjs-cache-handler-mcp

Replace the <your-…> placeholder with your own REDIS_URL.

Codex setup guide
VS CodeConfig

Add this to .mcp.json at the root of your workspace:

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

Replace the <your-…> placeholder with your own REDIS_URL.

VS Code setup guide
Claude DesktopConfig

Add this to claude_desktop_config.json, then restart Claude:

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

Replace the <your-…> placeholder with your own REDIS_URL.

Claude Desktop setup guide
ChatGPTNot available

ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.

ChatGPT setup guide

Which apps can use nextjs cache handler MCP Server?

Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.

Does nextjs cache handler MCP Server need an API key?

To run it on your computer, set REDIS_URL first, with values from the publisher.

Is nextjs cache handler MCP Server official?

It's published by leejpsd. The Official MCP Registry accepts names under io.github.leejpsd only from the GitHub account or organisation leejpsd. We last checked its listing on Dec 1, 2026. A listing shows where a server comes from; it isn't a security review.

Published packages

npm · @leejpsd/nextjs-cache-handler-mcp@0.1.2
View source repository