Inspect and operate Next.js Redis caches: health, tag state, SWR simulation, safe invalidation.
Connect Runs on your machine
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]
{
"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>"
}
}
}
}
{
"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>"
}
}
}
}
{
"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
| Name | Description |
|---|---|
REDIS_URLRequired, secret | Redis connection string the cache handler uses |
DEPLOYMENT_VERSIONOptional | Deploy namespace (recommended) |
HASH_TAGOptional | Set 'true' when handlers use hashTag: true (Redis Cluster) |
Details
| Package | @leejpsd/[email protected] (NPM, stdio) |
| First published | 2 Aug 2026 |
| Last updated | 2 Aug 2026 |
| Registry name | io.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.
