nextjs-cache-handler-mcp MCP Server
Inspect and operate Next.js Redis caches: health, tag state, SWR simulation, safe invalidation.
nextjs-cache-handler-mcp scores 50 (Fair), with no SPDX license recorded. It installs as a local process. It declares 7 tools. Filed under Databases. Package registries report about 56 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
50 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- No license recorded.
License, quality and maintenance
Quality: Grade A
85/100 for listing completeness. Lost points: short README, short summary, no docs link.
How quality is graded
Where the 50 comes from
22 + 15 + 0 + 0 + 10 + 3 = 50. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 15 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 0 of 10 points.Not archived, a secure install path, a pinned version.
Security: 10 of 10 points.A real summary, a README with depth, listed tools.
Docs: 3 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "leejpsd-mcp": { "command": "npx", "args": [ "-y", "@leejpsd/nextjs-cache-handler-mcp@0.1.2" ], "env": { "REDIS_URL": "YOUR_REDIS_URL", "DEPLOYMENT_VERSION": "", "HASH_TAG": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
REDIS_URLSecret | Required | 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) |
Tools7Tool docs quality grade C
All capabilitiescache_healthtoolIs Redis up? What's cached, per layer/kind?
cache_inspecttoolDecode one entry: kind, age, tags, TTL, compression, sizes
cache_searchtoolWhich keys match this pattern?
explain_keytoolParse a raw Redis key into layer/kind/namespace/key
invalidate_tagtoolSoft (SWR) or hard invalidation — dry-run unless confirm: true
simulate_swrtoolWould this entry be fresh / stale / expired, and what happens on read?
tag_statetoolIs this tag invalidated right now, on BOTH cache layers?
About
@leejpsd/nextjs-cache-handler-mcp
MCP (Model Context Protocol) server for
@leejpsd/nextjs-cache-handler
Redis caches. Lets AI agents (Claude Code, Cursor, …) inspect and operate a
running deployment's Next.js cache: "why isn't this page updating?"
becomes a tag_state call instead of guesswork.
Setup
Project .mcp.json (Claude Code picks this up automatically):
{
"mcpServers": {
"nextjs-cache": {
"command": "npx",
"args": ["-y", "@leejpsd/nextjs-cache-handler-mcp"],
"env": {
"REDIS_URL": "redis://127.0.0.1:6379",
"DEPLOYMENT_VERSION": "your-deploy-id"
}
}
}
}
Runs locally over stdio and connects to YOUR Redis — nothing is hosted.
AWS/ElastiCache note: ElastiCache is VPC-internal, so a locally running MCP server needs an SSH tunnel/bastion (point REDIS_URL at the tunnel). Agents running inside the VPC (CI, in-cluster) connect directly. Pair with the AWS agent skills/MCP: they handle the infrastructure, this server handles cache semantics.
Tools
| Tool | What it answers | Writes? |
|---|---|---|
cache_health | Is Redis up? What's cached, per layer/kind? | no |
cache_search | Which keys match this pattern? | no |
cache_inspect | Decode one entry: kind, age, tags, TTL, compression, sizes | no |
tag_state | Is this tag invalidated right now, on BOTH cache layers? | no |
explain_key | Parse a raw Redis key into layer/kind/namespace/key | no |
simulate_swr | Would this entry be fresh / stale / expired, and what happens on read? | no |
invalidate_tag | Soft (SWR) or hard invalidation — dry-run unless confirm: true | gated |
Env: REDIS_URL (required), DEPLOYMENT_VERSION (recommended — scopes
namespace-aware tools), CACHE_KEY_PREFIX / ISR_KEY_PREFIX (only when the
handlers use custom prefixes).
Frequently asked questions
What is nextjs-cache-handler-mcp MCP Server?
Inspect and operate Next.js Redis caches: health, tag state, SWR simulation, safe invalidation.
How do I install nextjs-cache-handler-mcp MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. nextjs-cache-handler-mcp MCP Server runs locally from the npm package @leejpsd/nextjs-cache-handler-mcp with the command npx -y @leejpsd/nextjs-cache-handler-mcp@0.1.2.
Does nextjs-cache-handler-mcp MCP Server support remote (HTTP) connections?
No remote endpoint is listed for nextjs-cache-handler-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does nextjs-cache-handler-mcp MCP Server provide?
nextjs-cache-handler-mcp MCP Server provides 7 tools, including cache_health, cache_inspect, cache_search, and explain_key. See the full tool list for descriptions and parameters.
How is nextjs-cache-handler-mcp MCP Server's trust score calculated?
nextjs-cache-handler-mcp MCP Server scores 50 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.